QTP
IF, Else, End IF, Exists in QTP/UFT with Example
This tutorial demonstrates advanced coding in HP QTP using if and else loop {loadposition video} Video...
Actions help divide your test into "logical units" or "Business Processes". Actions help create a script which is more modular and efficient.
When a script is newly created it consists of only one action. But you can add more Actions to your Micro Focus UFT Script as per requirements.
There two types of Actions
At times, if an action becomes big, it's a nice practice to split it. You can split an existing action in two ways
Actions can access test-data stored in datasheets. HP QTP provides 2 type of datasheets
The entire purpose of creating Actions is to use them in other Test Scripts. There are two methods to import Actions into a Test
Following video tutorial demonstrates Actions. It uses the vanilla Test Script created in previous tutorials with 5 steps to log in into Flight Reservation. This tutorial is the longest in all QTP tutorials and it's recommended you take notes while viewing it.
Click here if the video is not accessible
Just like Functions/Methods in programming languages you can also create input and output PARAMETERS for an action. This parameter has no relation with Test Data Parameterization learnt earlier.
If required you can use the following statement to exit an Action
While executing a QTP script with Actions, you need to consider, Global Iterations & Local Iterations
You can change the action iteration frequency by selecting Action Call Properties > Run Tab
This tutorial demonstrates advanced coding in HP QTP using if and else loop {loadposition video} Video...
This HP QTP tutorial demonstrates the use of function Reporter.ReportEvent and Results Formatting . The...
Once the script is recorded, you need to REPLAY the script to ensure the test steps have recorded...
Before you start recording your QTP script, you need to identify the TEST STEPS that need to be...
This tutorial introduces Flight Reservation Application which will be used for hands-on for the...
What is QTP Parameterization? QTP provides us to pick different test inputs at a run time. This...