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

Search In

How to maximize window in selenium

Selenium whenever launches a browser, it is not in maximize form. To maximize the window use the following code: driver.manage().window().maximize(); Eg: WebDriver driver = new FirefoxDriver(); driver.navigate().to("http://www.hdfcbank.com/"); dri

How to find data between two dates in MongoDB

Here is the solution in mongodb to find out the data between two dates. Code: db.collection.find( "SelectedDate": {'$gte': startdate,'$lt': enddate}})

  • 5.08k
best practices to make API calls to the server

Are there any best practices to make API calls to the server as few as possible without complicating and lengthening my code? How many calls per App screen should I take as a rule of thumb?

How To Import MongoDB Database on Ubuntu 14.04?

Importing Information Into MongoDB If you want to import information into MongoDB database, lets take an example to import the database of resturants. It's in json format and can be downloaded using wget:   wget https://raw.githubusercon

How to generate bar code image and bar code value in OpenERP(Odoo)?

To generate bar code image and bar code value in OpenERP(Odoo), you have to follow 3 simple steps as given below. Step-1 Click Bar-code Menu As shown in below screen-shot Step-2 Click on Barcode->Barcode ->Model ->Res Id ->Type ->

How to convert Javascript Arrays to Comma seperated values

The toString() method can be used to convert an array into a string. It returs a result containing string and it will seperate the different elements in the array with commas. var group = ['one','two','three','four']; var conv = group.toString();

Cakephp 3.0: How to add admin prefix ?

When I was new to cakephp 3.0 then I faced issue adding admin prefix. In Cakephp 2.* it was simple, just write the following lines in core.php: Configure::write('Routing.prefixes', array('admin')); To enable cakephp 3.0 just write the following co

CURL: How to download file from ftp using curl?

This blog will let you download files from ftp using curl. Ftp url is given below. From this url we need to download this file filename.gz ftp://ftp.example.se/filename.gz Following is the working example: $curl = curl_init(); $file = fopen("fil

JQuery Simple Scroll To Top

In this tutorial, you will learn that how to add scroll to top in any of the page. As we see in many websites the scroll top function. Its very helpful for users to go to the top of the page automatically without scrolling. It appears when the person

Use of strict mode in javascript

strict mode: It is used to catch or throw errors when some unsafe actions are taken and  use strict directive is used to execute javascript code in strict mode. For example: we cannot use undeclared variable in strict mode. use strict can be u

1 250 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: