Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to automate a Slider in Selenium

The following code should be used to automate the slider: WebDriver driver = new FirefoxDriver(); driver.get("http://jqueryui.com/resources/demos/slider/default.html"); driver.manage().timeouts().implicitlyWait(20L, TimeUnit.SECONDS); WebElement sli

How to print an NSImage

The following code prints an image stored in a file: -(void)print:(id)sender { NSImage *image = [[NSImage alloc]initWithContentsOfFile:[imageEdWindowController getImageLocation]]; [image scalesWhenResized]; NSImageView *_imageVie

How to check the Network availability for 3G and 4G connection

Following code will help in you to check the network availability for 3G and 4G connection const char *host_name = "google.com"; BOOL _isDataSourceAvailable = NO; Boolean success; //Creates a reachability reference to the specif

How to Run Selenium Webdriver Test In Google Chrome

Selenium Webdriver support Google Chrome browser. For this first of all, download ChromeDriver server for webdriver. You can download zip file directly from the link below http://chromedriver.storage.googleapis.com/index.htm Then extract zip file

Return To Merchant Error pay-pal

Hello Everyone, I am using the express checkout recurring API for Paypal on my site. When I am using the live credentials on the API of pay-pal account, getting "return to merchant"-error and redirecting me to another window instead of the URL

How to install Express.js in Ubuntu

Express.js is a framework that is use in the Node.js. It is having the Jade file which is similar to HTML file. To install Express first we have to include the express version in Package.json file. Inside Package.js { "name": "pong", "version"

How to list all child pages of current parent page in drupal 7?

Suppose I have parent pages A1 and B1. A1 has child pages A1.1, A1.2,A1.3 and B1 has child pages B1.1, B1.2. I want to list all the respective child pages on A1 and B1. In every child page I have an image and a title. These 2 information needs to be

How to calculate the difference between two dates using PHP?

Hello Readers If you want to calculate difference between two dates using PHP , use below code. comment: Suppose we have the two dates below date1 and date2 $date1 = "2014-06-11"; $date2 = "2015-07-16"; comment:then we get diffrence with absolute

Send email using the GMail SMTP server from a PHP page

Hello Readers! You people can use below code if you are using Gmail SMTP connection. $from = '<fromaddres@gmail.com>'; $to = '<toaddress@yahoo.com>'; $subject = 'Hi!'; $body = "Hi, How are you?"; $headers = array( 'From' => $fro

How to retrieve all children projects of project ids in openerp

TO retrieve all children projects of project ids in project module and return a dictionary mapping each project to appiar its parent.id in parent project in project module (or None)in openerp. use this code given below in .py file in openerp. def

1 136 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: