QTP在脚本回放时一些特别情况的处理(WPF篇)
上一篇 /
下一篇 2013-09-30 13:41:41
/ 个人分类:QTP
Issue1:
Select item from combobox throw exception
Solution:
Add a line with click event
Issue2:
Modify event didn't trigger when "Set" in a filed
Solution:
For Password field, change Set to Type, it can make sure button change to enable(that is, type can trigger modify event)
Issue3:
Multiple selection didn't work in a grid
Solution:
1.Use micShiftDwn and micShiftUp(micCtrlDwn and micCtrlUp)
2.Keep click event to make sure row complete display for selection
3.change the ExtendSelect to SelectCell
Issue4:
Click cell of grid can not open the new window
Solution:
SelectCell did not work
add a line with clickEvent
Issue5:
When invoke the .Net app with SystemUtil Command, Login window's object can't be recognized
Solution:
Select "Automation">"Record and Run Setting" Current Selected item is Record and Run only on >Checked "Application opend via the Desktop(by the
windows shell)" It should be "Record and run
test on any open Windows-based application"
收藏
举报
TAG: