Hi Ankur,
This site is very much helpful for everyone.
Thanks a lot for solving all our issues.
I did try in the same way how you explained above. I dont know how can we write
WinMenu("Menu") in descriptive programming method.
Here the last two lines of the script is not running, reason is I used discriptive programming to call the parent {Window("text:=Flight Reservation")} and normal method to call the child.
please let me know how can we call the child object WinMenu("Menu") using descriptive programming.
I did object spy and all the objects has same property (File - New, File - open).
This site is very much helpful for everyone.
Thanks a lot for solving all our issues.
I did try in the same way how you explained above. I dont know how can we write
WinMenu("Menu") in descriptive programming method.
Code:
SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open"
Dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "rajesh"
Dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury"
Dialog("text:=Login").WinEdit("attached text:=Password:").Type micReturn
Window("text:=Flight Reservation").WinMenu("Menu").Select "File;New Order"
Window("text:=Flight Reservation").WinMenu("Menu").Select "Analysis;Reports..."
Here the last two lines of the script is not running, reason is I used discriptive programming to call the parent {Window("text:=Flight Reservation")} and normal method to call the child.
please let me know how can we call the child object WinMenu("Menu") using descriptive programming.
I did object spy and all the objects has same property (File - New, File - open).