QTP Fundamentals

QTP – Create a Simple Script without Recording

by seetaram on December 17, 2011

If the QTP’s recording engine is used to record a test scenario, then the script will have following issues: Script will have hardcoded values No proper naming convention No modularity No reusability Maintenance is difficult Difficult to accommodate frequent changes Difficult to debug How to overcome these problems? Simple!! Create your own script… do not […]

{ 0 comments }

QTP – Object Identification

by seetaram on October 27, 2011

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 […]

{ 9 comments }

QTP – Environment Variables

by seetaram on October 17, 2011

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 […]

{ 0 comments }

QTP – Parameterization with Data Table

by seetaram on October 15, 2011

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 […]

{ 7 comments }

QTP – Recovery Scenario

by seetaram on October 14, 2011

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 –> […]

{ 0 comments }

QTP – Introduction to Checkpoints

by seetaram on October 9, 2011

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 […]

{ 0 comments }

QTP – Analyze Test Results

by seetaram on October 7, 2011

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 […]

{ 0 comments }

Create Shared Object Repository in QTP

by seetaram on October 4, 2011

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 […]

{ 3 comments }

Object Repository is a collection of objects (its properties and methods), which can be referred in the automation script. There are two types of object repositories: Local Object Repository (per action OR) Shared Object Repository Local Object Repository: When a new test is created in QTP, it will be associated with an object repository and […]

{ 8 comments }

QTP – Introduction to Object Repository (OR)

by seetaram on October 2, 2011

When the test steps are recorded using QTP, it captures the objects (properties & methods) and stores in a separate file called object repository (OR). Later this is referred in the script. In the previous post, we have recorded an end-to-end test scenario and executed the script successfully. Let us have a look at the […]

{ 0 comments }

  • Page 1 of 2
  • 1
  • 2

Do you want to get updates on the recent articles written? Please subscribe to RSS feed or Email