I should add that the XPathExtractor does return all nodes by default.
Stuart Stuart Findlay wrote:
You can generate a random function to generate a choice e.g: ${__Random(1,${refName_matchNr},n)}you will then be able to utilise ${n} in a variable command to construct the reference:$__V{refName_${n}} Hope that helps, Stuart Ronan Klyne wrote:Hello all, I need to be able to locate several values in a page, and randomly select one. The regular expression extractor will let me do the random selection, but I'd rather use the XPath extractor, as it's more suitable for specifying bits of an HTML document... Is there any way to have the XPath extractor match several nodes, and return one of them at random? Cheers, Ronan--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

