Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

evalXPath not defined in Truclient??

$
0
0

I am trying to grab all of the listbox elements on a given page as identified by the //*[@class=\"gwt-ListBox\"] xpath

Using the TruClient Help File Examples I am trying the below, only to get the error message "** failed - exception occurred: ReferenceError: evalXPath is not defined", any ideas why?

Please note that I've even copied down the specific  evalXPath call used in the example in order to ensure my syntax is correct, to no avail:

//Retrieve lit of elements matching the target object description
//var checkboxes = evalXPath("(//input[@type=\"checkbox\"])");
var listElements = evalXPath("(//*[@class=\"gwt-ListBox\"])");

var numberFound = listElements.length;

window.alert(numberFound);

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>