How to do a click event on WebElement? - 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: How to do a click event on WebElement? (/Thread-How-to-do-a-click-event-on-WebElement) |
How to do a click event on WebElement? - chong67 - 05-31-2012 I did an object spy and on this webpage, the "Find Flights" button is ClassName: WebElement So when I click on the button, QTP 10 does not record at all. How do I make it with event of "clicking" it. I appreicate all your help. RE: How to do a click event on WebElement? - Sathiya - 05-31-2012 After clicking the button is it navigating to any other page? may i know the purpose of clicking the web element RE: How to do a click event on WebElement? - chong67 - 05-31-2012 Sathiya, Yes, after I click this button(Object Spy says it is a WebElement), it goes to the next page which is the flight result. QTP10 did not record this button. Thanks for your help. RE: How to do a click event on WebElement? - Sathiya - 05-31-2012 hi will you please share the screen shots of the object spy and and the application RE: How to do a click event on WebElement? - falvi - 05-31-2012 try using Code: .FireEvent "onmouseover" RE: How to do a click event on WebElement? - chong67 - 05-31-2012 Sathiya, attached the two screenshot. "Find Flights" is at the bottom of the webpage. Thanks for your help. |