Here is my suggestion based on my understanding from the above matter. Try to use some other way of doing (clicking) 'New Order' through clicking Application icons or through short cut keys available if any. For this, this could be a quick solution.
In Programmatic QTP recording:
In DP:
In Programmatic QTP recording:
Code:
Dialog("text=Flight Reservation").WinMenu("Menu").Select "File;New Order"
In DP:
Code:
window id:=6 -> New Order; window id:=1 -> Reports button on the Flight Reservation window.
Window("text:=Flight Reservation","regexpwndtitle:=Flight Reservation").WinButton("nativeclass:=Button", "window id:=6").Click
Window("text:=Flight Reservation","regexpwndtitle:=Flight Reservation").WinButton("nativeclass:=Button", "window id:=1").Click