11-11-2013, 03:07 PM
(This post was last modified: 11-11-2013, 03:08 PM by cem404iuce.)
Hi,
I have searched this from web but i couldn't find anything about it.
I am working with a web application in qtp. There is a button in the application and i can use it by clicking. but there ise context menu on the button.(You can see similar button by clicking the link: Button with context menu)
I am recording a test by clicking this button(by clicking left side of the button) but when i run it from qtp click method is working for context menu(right side of the button) of it. I must click over the button without context menu.
I have used webbutton or webelement, click methot fireevent event and tried to take "enter" key from keyboard but it didn't work in the application.
You can find the snapshot of button in the attachment.
Can i diable context menu of this button? why can't i take the key from keyboard?
Please help me.
I have searched this from web but i couldn't find anything about it.
I am working with a web application in qtp. There is a button in the application and i can use it by clicking. but there ise context menu on the button.(You can see similar button by clicking the link: Button with context menu)
I am recording a test by clicking this button(by clicking left side of the button) but when i run it from qtp click method is working for context menu(right side of the button) of it. I must click over the button without context menu.
I have used webbutton or webelement, click methot fireevent event and tried to take "enter" key from keyboard but it didn't work in the application.
You can find the snapshot of button in the attachment.
Can i diable context menu of this button? why can't i take the key from keyboard?
Please help me.