Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fireevent on mouse over for Web Element
#1
Not Solved
Hi
The Descriptive programming code i used

Code:
Browser("Q.Central Login").Page("My Accounts").WebElement("Selling").FireEvent "onmouseover"
Browser("Q.Central Login").Page("My Accounts").WebElement("Opportunities").Click
Browser("Q.Central Login").Page("Opportunities").Image("Oppurtunities").Click

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"
And Iam successfully
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


Attached Files Image(s)
       
Reply
#2
Not Solved
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"
Browser("Q.Central Login").Page("My Accounts").WebElement("Selling").Select "Opportunities"
Reply
#3
Not Solved
Hi
I tried this with descriptive programming
Code:
Browser("name:= MyQcentral").Page("title:= MyQcentral").Show "Selling"/code[
Iam getting

Object doesn't support this property or method: 'Browser(...).Page(...).Show'
[code]Line (16): "Browser("name:= MyQcentral").Page("title:= MyQcentral").Show "Selling""
.

Iam getting Object doesnot support this property or method
Browser("name:= MyQcentral").Page("title:= MyQcentral").Show "Selling"
Reply
#4
Not Solved
Still facing the same.Even trying with
Code:
Browser("name:= MyQcentral").Page("title:= MyQcentral").Show "selling"
Browser("name:= MyQcentral").Page("title:= MyQcentral").WebElement("outertext:= Selling").Select "Opportunities"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to select WebFile element upadhyay40 5 7,509 06-28-2016, 04:38 PM
Last Post: aakash
  how to capture properties on mouse click; ADITI1992 0 2,091 08-24-2015, 11:22 PM
Last Post: ADITI1992
  QTP identifying WebList as WebEdit and an Element passion77 3 8,118 01-27-2014, 10:21 PM
Last Post: supputuri
Question Web Element object Charanpreet 2 4,710 04-13-2011, 05:40 PM
Last Post: Charanpreet
  code for "SHIFT + mouse CLICK" soumendeb 1 3,870 11-03-2010, 10:34 AM
Last Post: KavitaPriyaCR

Forum Jump:


Users browsing this thread: 1 Guest(s)