开发者

QTP click on winbutton with failure

开发者 https://www.devze.com 2023-03-10 03:45 出处:网络
I\'m working on QTP with web-adding. There are some buttons in type \"Winbutton\" on the page. The \"click\" action on most of the buttons works very well except one. In fact this winbutton is a check

I'm working on QTP with web-adding. There are some buttons in type "Winbutton" on the page. The "click" action on most of the buttons works very well except one. In fact this winbutton is a checkbox. But I don't know why it is recognized as Winbutt开发者_C百科on. But when click on it, it just gets focused but not really clicked. The checkbox is not checked. So I would like to know if anyone met the similar problem before and if anyone knows how to solve this.

Many thanks in adavance

Allen

QTP click on winbutton with failure

http://i.stack.imgur.com/B5eLZ.png

QTP click on winbutton with failure

http://i.stack.imgur.com/XZDwl.png


You don't usually get WinButton in web pages. Is the QTP hierarchy Browser.Page.WinButton? If so the control is probably really a .NET or ActiveX control. Make sure that you have the .NET and ActiveX addins loaded when you launch QTP.

Do you have a public site that you can point to in order to see this problem?


Edit: As seen in the comments to this answer the control was actually a Java control.

0

精彩评论

暂无评论...
验证码 换一张
取 消