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

How Cucumber Works ?

Cucumber a command-line tool has scenario inside the Feature file which contains a list of steps for the Cucumber to work through. Cucumber follow some basic rules or syntax called Gherkin to understand these feature files.   Since eac...

How to handle or remove warning of security in chrome through Selenium WebDriver?

Below is the error while run in chrome. Use this code, it will always work System.setProperty("webdriver.chrome.driver", YourChromePath); DesiredCapabilities capabilities = DesiredCapabilities.chrome(); ChromeOptions op...

Difference between assert and verify?

Assertion: In Assertion if the verification fails in any of the testcase then the further execution of same testcase will not take place and the error will be logged but then the next testcase will be executed. For eg: If we are on the login...

How to automate file download functionality through selenium webdriver?

File download functionality can be automated by setting the browser's preferences. We set the directory in which the file will be downloaded. FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("browser.download.dir", "E:\\A...

How to handle drag and drop functionality through selenium webdriver ?

We use "Actions" class to handle drag and drop functionality. WebDriver driver = new FirefoxDriver(); driver.get("http://jqueryui.com/resources/demos/droppable/default.html"); driver.manage().timeouts().implicitlyWait(20L, TimeUnit.SECONDS...

How to get the font size of any text on webpage?

We use .getCssValue(attribute) method to get the properties of any webelement. We can pass the following attributes: font-family font-size color line-height WebDriver driver = new FirefoxDriver(); driver.get("http://www.s...

Drag and Drop through Web Driver

here is the method for doing drag and drop operation on mozilla Create Driver for any Browser(Mozilla) Go to the URL Create an Action object for Driver Fetch and create WebElement object for the SOURCE element. Fetch and create WebElem...

Components of Selenium

Here is the story of all four components of Selenium Story of Selenium RC It is the most powerful framework of whole Selenium project, like every software in early phase there were some issues like origin policy with java script program, i...

Introduction to Selenium

The biggest advantage of Selenium is that its an open source automation tool same as HP's quick test pro, it is created by Jason Huggins in 2004, who was an engineer at thought works, he was working on an app that required frequent testing, then...

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 z...

Gmail Sign-in through Selenium Webdriver

Hello all, this is script for Gmail Sign-in through Selenium Webdriver by using xpath as a locator. I have use xpath in locating HTML elements. Xpath can be easily generate from Firebug. public class loginuser { public static void main(St...

Languages You need To know to learn Selenium

Selenium is a free open source automation testing tool Which is used for the automation testing also it is used for web based application. We can use Selenium in different types of browsers and platforms for testing. Selenium is very strong, ...

Best QA Training Institutes in India

There are number of institutes which provides QA training in India.Some of The best QA training institute in India are listed below : QSpiders : Software industry keeps on doing changes day by day and improving, so do technology updates, Qspi...

Why the Name Selenium?

Primarily, Selenium was created by Jason Huggins in 2004. An engineer at ThoughtWorks, he was working on a web application that required frequent testing.It came from a joke which Jason cracked one time to his team at that point of time another a...

How to Automate a Slider in Selenium?

Selenium is a very powerful, flexible open source automation testing tool for web applications. With the help of selenium we can automate Sliders. Sliders helps the user to select a value by dragging and dropping a handle. The f...

How to automate a Flash Player in Selenium

The following should be used to automate a flash player: WebDriver driver = new FirefoxDriver(); driver.navigate().to("http://www.youtube.com/watch?v=cwNmRCJAIXU"); FlashWebDriver flashObj = new FlashWebDriver(driver,"movie_player"); flas...

How to automate Drag and Drop functionality in Selenium webdriver

The following code should be used: WebElement draggable = driver.findElement(By.xpath("//Give the xpath")); WebElement droppable = driver.findElement(By.xpath("//Give the xpath")); Actions action = new Actions(driver); action.dragAndDrop(...

How to handle alert popup in Selenium

Alerts are handled in selenium through the method of alert class. WebDriver driver = new FirefoxDriver(); driver.navigate().to("http://www.rediff.com/"); driver.findElement(By.xpath("//*[@id='signin_info']/a[1]")).click(); driver.findElemen...

How to handle multiple windows in selenium

Most of the time when on any action, a new window is opened then the control remains on the first window but the element is on the second window, so we receives an error message that "element not found". In this case we have to move the control e...

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....

How to select values from dropdown in Selenium

Value can be selected from the drop down, using the "Select" class: Select sel = new Select(driver.findElement(By.xpath("xpath_of_dropdown"))); sel.selectByIndex(index_of_value_to_select); OR Select sel = new Select(driver.findElemen...
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: