Forum Discussion

TestingHobo's avatar
TestingHobo
Contributor
12 years ago

XPath - Xpaths randomly not found

Hi All,



I have the following snip of code (jscript) and approximtley 2 times out of 10 it fails to find the xpath and preform the click



Any ideas?



TIA

1 Reply

  • Code:



    Sys.Browser().Page("*").FindChildByXPath("//*[text() = 'Teacher Markbook']").Click()