|
因为GUI是wxwidget库开发的,
qtp录制出来的对象都是.WinObject,这种如何处理?
有什么好的解决方案瓦?
Window("WLNA_Navi").WinObject("wxWindowClassNR_8").Click 63,20
Window("WLNA_Navi").WinObject("wxWindowClassNR_9").Click 108,26
Window("WLNA_Navi").WinObject("ImageItemListControl").Click 203,176
Window("WLNA_Navi").WinObject("ID_CCUSTOMPANEL").Click 154,7
Window("WLNA_Navi").WinObject("ImageItemListControl").Click 116,132
Window("WLNA_Navi").WinObject("ImageItemListControl").Click 113,112
Window("WLNA_Navi").WinObject("ImageItemListControl").Drag 100,38
Window("WLNA_Navi").WinObject("ImageItemListControl").Drop 135,77
Window("WLNA_Navi").WinObject("ImageItemListControl").Click 135,22
Window("WLNA_Navi").WinObject("ID_CCUSTOMPANEL_2").Click 135,22
Window("WLNA_Navi").WinObject("ID_CCUSTOMPANEL_2").Click 135,22
Window("WLNA_Navi").WinObject("wxWindowClassNR_6").Click 41,27
Window("WLNA_Navi").WinObject("wxWindowClassNR_10").Click 41,23
Window("WLNA_Navi").WinObject("wxWindowClassNR_10").Click 41,23
Window("WLNA_Navi").WinObject("wxWindowClassNR_5").Click 41,23
Window("WLNA_Navi").WinObject("ID_CCUSTOMPANEL2").DblClick 45,27
Window("WLNA_Navi").WinObject("wxWindowClassNR_11").Drag 15,12 |
|