QTPNoida Lecture1
QTPNoida Lecture1
e live projects. Make sure we will use the approach where we are assuming that there is nothing with the name of recording.
3.
4.
5.
6.
8. 9. This is the login screen 10. As a first step I will recognize the objects in the object repository. 11. I am not aware about the object repository. 12. Before we proceed lets study the object repository. 13. Here it goes:
14.
15.
16.
17.
18.
19. Let ne write the first step of the script that is to open the application.
20.
21. Here is he script: InvokeApplication("C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe") wait(4) Dialog("Login").Activate Dialog("Login").WinEdit("Agent Name:").Set("test") Dialog("Login").WinEdit("Password:").Set("mercury") Dialog("Login").WinButton("OK").Click