Friday, July 16, 2010

Tutorial 9 - QTP

This tutorial interprets the script that was recorded in earlier tutorials




Video Transcript with Key Takeaways highlighted

* Now , Lets go ahead and understand our recorded test.
* The first step is the SystemUtil.Run Command which is used by default by QTP to open a application.So during recording , using the Windows Start Menu , when we finally navigated to the "Flight Reservation" application QTP identified the location of its executable file and inserted the System.Util Command to Open it.
* Step No 2 is Setting Agent Name as Guru as shown in the Active Screen
* Step no 3 is Pressing the Tab key on keyboard to bring Focus from Agent Name Field To Password Field , which is exactly this step. Human users need to use tab or click operations to focus on a particular object on screen.. On the other hand , QTP can directly identify an object using object properties and does not required these "maneuvering" operations. We can delete this step , as QTP will still be able to set the password field without this operation
* Next Step is Setting the Password as Mercury. QTP automatically encrypts passwords entered while recording to avoid security breaches. This value can not be decrypted ie. There is no way to recover the original value using this cryptic data. You can explicitly encrypt a password using the Password Encoder Tool. For our learning purposes , we will use the password in its raw form. And the operation will also change to Set
* Next Step is clicking the okay button
* Next Step is closing the application after successful log on
* So the 5 steps mentioned in our test script are recorded in QTP

No comments:

South Beach Smoke E-Cigarette - The Better Smoking Choice