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

AJAX Truclient selection on different categories

$
0
0

Hello,

If application consists of  checkboxes with two different categories and need to pick only one set of categories and move further.

For example:

Hello All,

AJAX Truclient Evalxpath to differentiate category and pick all same category checkboxes.

Below is xpath i get when i check evalxpath"

 evalXPath("//input[@type=\"checkbox\" and @value=\"8539fc082ed57f0591bc12b7e516a3680ef6\"]");

But i want to differentiate two(IN & OUT STOCKS) different categories, from below three stocks, i need to pick number of In stock category (IN stock changes with users, they are not constant) only.

<td>In Stock</td><td><input type="checkbox" name="bookId[]" value="8539fc082ed57f0591bc12b7e516a3680ef6"<td>Out Stock</td><td><input type="checkbox" name="bookId[]" value="8539fc082ed57f0591bc12b7e516a3680ef6"<td>In Stock</td><td><input type="checkbox" name="bookId[]" value="8539fc082ed57f0591bc12b7e516a3680ef6"

Please let me know how to write the evalXpath for above tag

Thanks

Sai


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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