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 capture screenshot in selenium .

User can use the following code to capture screen shot using selenium Webdriver . File Scrfile = Driver.GetScreenShot As(OutputType.File); FileUtils.CopyFile(Scrfile,new File(“c:\\capturescreenshot.jpg”));

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?

Source Code: Track the user activity on video portal using JSP and Servlet

How do I track the user activity on video portal using JSP and Servlet? Thanks in Advance

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 configure the Barcode through Python code in OpenERP(Odoo)?

In below example I have written Python script to configure barcode. It will print one barcode on each page based on quantity available of selected products. Like below python code in .py file : import logging from openerp.osv import fields, orm

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

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