There is a tutorials in help folder, start from it.

On Mon, Jul 27, 2009 at 3:02 PM, RRJoshi Joshi <[email protected]>wrote:

> Hi,
>
> I am a beginner at QTP.
> I have written the following for the "Flight" application using Keyword
> view and QTP help:
>
> Dialog("Login").Static("Agent Name:").Click
> Dialog("Login").WinEdit("Agent Name:").Set DataTable("Agent_Name",
> dtGlobalSheet)
> Dialog("Login").WinEdit("Password:").Click
> wait(3)
> Dialog("Login").WinEdit("Password:").SetSecure
> "4a6e0542188d9a24f7df7c76202961ea39a34f9e"
> Dialog("Login").WinButton("OK").Click
> Window("Flight Reservation").Activate
> Window("Flight Reservation").WinMenu("Menu").Select "File;Exit"
>
> But what happens is,after the last statement,the test runs again, it
> continues as if its in a infinite loop..
> How to resolve this?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to