Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to do a click event on WebElement?
#1
Not Solved
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.
Reply
#2
Not Solved
After clicking the button is it navigating to any other page?
may i know the purpose of clicking the web element
Reply
#3
Not Solved
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.
Reply
#4
Not Solved
hi
will you please share the screen shots of the object spy and and the application
Reply
#5
Not Solved
try using

Code:
.FireEvent "onmouseover"
.FireEvent "onclick"
Reply
#6
Not Solved
Sathiya, attached the two screenshot.

"Find Flights" is at the bottom of the webpage.

Thanks for your help.


Attached Files Image(s)
       
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,170 02-28-2019, 11:46 AM
Last Post: naruoga
  Unable to click on dynamically changing webelement preeti 0 1,827 04-29-2017, 08:50 PM
Last Post: preeti
Exclamation WebElement("WebElement").Click is not working sia sharma 7 24,041 09-28-2016, 08:58 PM
Last Post: supputuri
  [UFT] [WPF] Table: how simulate Click or DBClick event robertosalemi 0 3,053 05-17-2016, 08:22 PM
Last Post: robertosalemi
  How to capture objects of Event Viewer ? Vishnu Narayan 1 2,668 06-11-2015, 06:29 PM
Last Post: venkatesh9032

Forum Jump:


Users browsing this thread: 1 Guest(s)