working with parameters and xpath
I'd like to create an array and the reuse it in an xpath expression and taking the occurence corresponding to the virtual user number, how should I do ?
array = ".... "
array =" .... "
the and xpath:
/html/body/td/div[text()=" < array [i] > "]
where i correspond to the virtual user number
You can create a new parameter of type "Vuser ID" and name it for instance "vuserID". Then the value of vuserID will always hold the id of the current user.
If you use TruClient the XPATH should look something like this (I haven't tested it so you might need to fine tune the syntax and the quotes):