10-25-2010, 09:18 PM
i have installed QTP recently in my laptop...
But when i do a normal recording giving username & password to the flight application & run that in QTP
it gives an error----
______________________________________________
The test run cannot continue due to an unrecoverable error.
Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.
______________________________________________
The VBScript is
Can U help me out plss to resolve this error--
But when i do a normal recording giving username & password to the flight application & run that in QTP
it gives an error----
______________________________________________
The test run cannot continue due to an unrecoverable error.
Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.
______________________________________________
The VBScript is
Code:
Dialog("Login").WinEdit("Agent Name:").Set "sdcsd"
Dialog("Login").WinEdit("Password:").SetSecure "4cc59a43f5e7291fde2477a9fee42c8bb29016fb"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").WinMenu("Menu").Select "File;Exit"
Can U help me out plss to resolve this error--