QTP
Flight Reservation Application in HP UFT/QTP
This tutorial introduces Flight Reservation Application which will be used for hands-on for the...
This tutorial is going to provide insight into the keyword view and expert view of Micro Focus UFT.
In the Expert View, each line represents a Test Step in VB Script. Consider the following code
Dialog("Login").WinEdit("Agent Name:").Set "gtupapers"
An Object's Name is displayed in parentheses following the Object Type. Here the Object Name is Login and Object Type is Dialog
Objects in Object Hierarchy are separated by a "dot".Here Dialog and WinEdit are fall in the same Object Hierarchy. Just to put things in perspective, Object Hierarchy is Object Oriented Concept where a set of objects that are grouped together in a parent-child relationship. In our case Dialog Box is the Parent Object and WinEdit is the Child Object
The Operation performed on the object is always displayed at the end of the statement followed by any values associated with the operation. Here the word "gtupapers" is inserted in the AgentName Edit Box using the Set Method
The syntax for a statement inexpert view is GUI object on which the operation is performed along with its complete hierarchy followed by the Operation on the Object and value associated with that Operation
ParentObject(Name).ChildObject1(Name)...ChildObjectN(Name).Operation
Video Transcript with Key Takeaways highlighted
This tutorial introduces Flight Reservation Application which will be used for hands-on for the...
What is Checkpoint in QTP? A checkpoint is a verification point that compares the current value...
This questionnaire is divided into Beginner and Advance questions. If you are experienced in QTP...
This tutorial demonstrates OBJECT SPY. Object Spy can help determine the useful properties and...
Before you start recording your QTP script, you need to identify the TEST STEPS that need to be...
What is Object Identification? QTP also uses a "human" like technology for object identification. During...