Micro Focus QTP (UFT) Forums

Full Version: How to write dp for winmenu?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
systemutil.Run("C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe")
With dialog("title:=login")
.winedit("attached text:=Agent Name:").set "rajesh"
.winedit("attached text:=Password:").SetSecure "mercury"
.winbutton("text:=ok").Click
End with
window("text:=Flight Reservation").[b]WinMenu("Menu").Select ("File;Open Order...")[/b].dialog("text:=open order").wincheckbox("text:=Customer &Name").Set "on"


please tell me how to write dp for the winmenu?
please suggest me for this.