While testing a web application it is very important to test the application on different browsers. We can achieve this by using Selenium Web driver and TestNG. If there are more number of scripts to be executed and executing them on each and every browsers sequentially is time consuming. This can be avoided using a concept in Selenium called Parallel Execution. TestNG allows us to run the test cases/scripts, test methods or tests in parallel, With Parallel Execution concept we can re...
Read More
The main difference between Radio button and Checkbox is that, using radio button we will be able to select only one option from the options available. whereas using checkbox, we can select multiple options.When we inspect a Radio button or a Checkbox, HTML code looks as below Using Click() method in Selenium we can perform the action on the Radio button and on Checkbox.Example:Webelement maleRadioBtn = driver.findElement (By.id("gender-male"));maleRadioBtn.click();Bef...
Read More
Automation Testing with Selenium using Page Object ModelPage Object Model (POM)Writing selenium scripts is not tough job. We have to find the elements and perform the operation on the webpage.Consider the below example of simple selenium script which will navigate to gmail website and identifies the email id field and enters the email id and taps on Next button. Then, Identifies the password field and enters password and clicks on Signin button.In the above code maintaining is very easy as ...
Read More
Business Process Testing Framework Business Process Testing (BPT) is the core integration of QTP and QC where writing the script (developing the component) and creating the test flow happens in QC itself.BPT tests are made up of two types of componentsa. Keyword component which is similar to keyword view of action on QTPb. Scripted component which is similar to expert view of action on QTPNOTE: We can develop keyword componen...
Read More