I have a list of arrays {1,2,3}. and I have a xpath. what I actually need is with the xpath the output will be any of the array either 1 or 2 or 3. I want to assert the value and pass the test using testng.
Is there any possibility to do something like that.