Monthly archives: October, 2011

QTP – Object Identification

Every test automation tool is GUI (graphical user interface)sensitive. Test automation tool has to identify the objects on the application, then only it can do the intended operations. QuickTest Professional has its own mechanism to identify the objects on the Application Under Test. QTP has various  add-ins available for different applications.  Let us have a …

QTP – Environment Variables

A test automation suite might be containing lot of tests / actions. Hence, while executing the test cases in batch mode we might need to refer to the Iteration, name of the test, Results directory, etc. But how to get them? QTP provides global variables called Built-in Environment Variables through which we can access these …

QTP – Parameterization with Data Table

When a test is recorded using QTPs recording engine all the values are hardcoded. If we want to run the same test many times, the application might throw error because of duplication of data. Hence, the data needs to be parameterized from an external means. QTP provides an excellent feature called Data Table for this …

QTP – Recovery Scenario

Execution of automated test cases might result in some unexpected error conditions. In such situations, QTPs error handling feature Recovery Scenario comes in handy. To create a Recovery Scenario, we need to configure the below steps: Trigger Event Recovery Operation Post-Recovery Test Run Options Name and Description of the Recovery Scenario Finish Click Resources –> …

QTP – Introduction to Checkpoints

Every test case will be having an “Expected Result” and during the execution, this needs to be compared with the “Actual Result” to verify whether the application under test is working properly as expected. QuickTest Professional provides an excellent feature called “Checkpoints” to accomplish this. As the meaning of the word “checkpoint”, it compares the …

QTP – Analyze Test Results

Once the automated test case is executed, the result needs to be analyzed and application issues (if any) should be reported. QuickTest Professional (QTP) gives an excellent feature to view the results summary and ability to drilldown to the level of each object. By default after every execution test results window gets opened and we …

Create Shared Object Repository in QTP

As the name suggests, Shared Object Repository can share the objects across various tests. Shared object repository can be created through Object Repository Manager. After creating the shared repository, it needs to be associated with a particular test.  Then the objects stored in the repository are accessible to the associated test / action. The biggest …

QTP – Record an end-to-end test scenario

Test automation is a process of automating end-to-end test scenarios. Although, the recording test steps using QTP looks much simple that becomes complex when the scenario has many steps as well as involves different kinds of objects. According to me, to learn QTP we should start with a simple test then the recording should extend …