NicolaFilosa_SE
2 years agoContributor
Using array values in xpath
Hi to everyone. I want to do a for cycle with elements defined by an xpath. The values that the for cycle uses are defined in an array. How can I insert the elements of the array in the xpath?
pageParameterDevice.FindElement("//tr[@id='rowPar2']/td[contains(@class, 'valdev')]").contentText
The value that has to change is 'rowPar2' (from rowPar1 to rowPar737)
Thanks in advance