Problem with menu object (UFT) - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Problem with menu object (UFT) (/Thread-Problem-with-menu-object-UFT) |
Problem with menu object (UFT) - Marta79 - 04-09-2015 Hello, I'm automating a web portal with UFT V11.50 I 'm having problems with a menu item. This problem is as follows: if I click on the menu item manually and then launched the automated test case, uft recognizes the object and clicks on it. However, if I do click on the object manually and launched the automated test case, I recognize the object but does not click on it. Anyone know what happens? Thank you very much. RE: Problem with menu object (UFT) - babu123 - 04-09-2015 Check the Menu item hierarchy RE: Problem with menu object (UFT) - Marta79 - 04-10-2015 Hi, thanks for answering my question. The code I use is as follows: Code: Public Function navInicio() What is the aim of Check the Menu item hierarchy? Thanks, RE: Problem with menu object (UFT) - Ajatshatru - 05-06-2015 Am not really sure of the scenario you mention but UFT has an inherent problem of not being able to recognize windows/objects that were launched before launching UFT. So, are you launching the application manually before UFT itself? please let me know if otherwise RE: Problem with menu object (UFT) - Marta79 - 05-07-2015 Hi, I solved my problem as follow: Code: Browser(br).Page(pg).WebElement("innerhtml:=Inicio").FireEvent "onmouseover" Thank you. |