Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
link click not working
#1
Not Solved
hello everyone,

this is my code

Code:
Browser("Justdial").Page("Justdial").WebEdit("city").Set "Delhi / Ncr"
Browser("Justdial").Page("Justdial").Link("3 Star Hotels").Click
wait(3)
If  Browser("Justdial").Page("3 Star Hotels in Delhi,").WebElement("Category").Exist Then
    Reporter.ReportEvent micPass,"pass","valid category"
    else
    Reporter.ReportEvent micFail,"fail","invalid category"
End If



it is working fine when i use F11 to run it step by step
but gives fail when i run it using run option?
Reply


Messages In This Thread
link click not working - by sia sharma - 08-03-2012, 05:01 PM
RE: link click not working - by sshukla12 - 08-03-2012, 05:11 PM
RE: link click not working - by sia sharma - 08-03-2012, 05:16 PM
RE: link click not working - by SteveS - 08-03-2012, 06:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  click each web link in a page using Index or other method in QTP smeijer 13 23,870 04-29-2017, 04:53 PM
Last Post: kowshik
Exclamation WebElement("WebElement").Click is not working sia sharma 7 23,431 09-28-2016, 08:58 PM
Last Post: supputuri
Question Webtable contains cell contains two links, how to click on link srinivassure 9 52,850 07-30-2016, 03:41 PM
Last Post: Akshay
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,190 07-10-2013, 04:13 PM
Last Post: RameshKrishnan
  How do I left click on the right click menu in WinTreeView? RandomGrin 0 3,706 12-22-2012, 04:22 AM
Last Post: RandomGrin

Forum Jump:


Users browsing this thread: 1 Guest(s)