How to fireevent on mouse over for Web Element - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: How to fireevent on mouse over for Web Element (/Thread-How-to-fireevent-on-mouse-over-for-Web-Element) |
How to fireevent on mouse over for Web Element - vnsk - 10-12-2011 Hi The Descriptive programming code i used Code: Browser("Q.Central Login").Page("My Accounts").WebElement("Selling").FireEvent "onmouseover" Here Menu bar has Selling tab, when we mouse over on it we get a drop down where we need to select Company profiles Option to navigate to that page. When iam recording a running script the run is successful But using descriptive programming iam unable to do it so i navigated to Company profile page using Code: Browser("name:= MyQcentral").Navigate"Link" How can i write the code for moseover on Selling tab and selecting the Company profile option Please find the screenshots of application and object spy info for the SELLING tabin the attachemnt RE: How to fireevent on mouse over for Web Element - Sathiya - 10-13-2011 Hi just try with "show" property for menu "Selling" and "Select" for selecting "Opportunities". the below is the sample code. Code: Browser("Q.Central Login").Page("My Accounts").Show "Selling" RE: How to fireevent on mouse over for Web Element - vnsk - 10-13-2011 Hi I tried this with descriptive programming Code: Browser("name:= MyQcentral").Page("title:= MyQcentral").Show "Selling"/code[ Iam getting Object doesnot support this property or method Browser("name:= MyQcentral").Page("title:= MyQcentral").Show "Selling" RE: How to fireevent on mouse over for Web Element - vnsk - 10-13-2011 Still facing the same.Even trying with Code: Browser("name:= MyQcentral").Page("title:= MyQcentral").Show "selling" |