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
Data-driven testing (DDT) is taking a test, parameterizing it and then running that test with varying data. This allows you to run the same test case with many varying inputs, therefore increasing coverage from a single test. In addition to increasing test coverage, data driven testing allows the ability to build both positive and negative test cases into a single test. Data-driven testing allows you to test the form with a different set of input values to be sure that the application works as e...
Read More
VB script Error HandlingDurning run time, if QTP encounters any erorr then it will display the error message which haults the script execution. Inorder to overcome this we should suppress the error message and then we should take appropriate action to handle the error. This can be done using “On error Resume Next” and err.numberExample: Dim a,b,c &n...
Read More
Object IdentificationQTP performs the operation only after identifying the object uniquely. In order to identify the object uniquely it uses property values of the respective object which will be stored in the Object Repository.Note: To view the property values of the object, QTP uses Object Spy. Object Spy is a tool available in QTP.Each object has many property values, storing all the property values of the values of the object not only consume more space and also reduces the performance of QT...
Read More
Automated software testing is a process in which software tools execute pre-scripted tests on a software application before it is released into production. The objective of automated testing is to simplify as much of the testing effort as possible with a minimum set of scripts.The main reasons for these added costs are primarily poor test strategy, underestimated effort of test case generation, delay in testing, and subsequent test maintenance.Test automation can improve the development process ...
Read More