Record and run differences on "button with context menu" - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Record and run differences on "button with context menu" (/Thread-Record-and-run-differences-on-button-with-context-menu) |
Record and run differences on "button with context menu" - cem404iuce - 11-11-2013 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. |