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
#2
Not Solved
Hi,
Use wait for syn where some new page is displayed.

Regards,
Sankalp
Reply
#3
Not Solved
i m already using it
Reply
#4
Not Solved
Try, Browser("Justdial").Sync instead of, Wait(3)
Reply


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 24,678 04-29-2017, 04:53 PM
Last Post: kowshik
Exclamation WebElement("WebElement").Click is not working sia sharma 7 23,954 09-28-2016, 08:58 PM
Last Post: supputuri
Question Webtable contains cell contains two links, how to click on link srinivassure 9 53,487 07-30-2016, 03:41 PM
Last Post: Akshay
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,402 07-10-2013, 04:13 PM
Last Post: RameshKrishnan
  How do I left click on the right click menu in WinTreeView? RandomGrin 0 3,917 12-22-2012, 04:22 AM
Last Post: RandomGrin

Forum Jump:


Users browsing this thread: 1 Guest(s)