I have a number of labels on the screen--the amount can fluctuate as they represent a number of devices connected to the AUT. They have paths similar to this:
Code: Select all
list[@automationid='programmerPanels']/container[$ProgrammerIndex]/text[@caption='Idle']
Code: Select all
for (int i = 1; i < totalNumber; i++)
{
$ProgrammerIndex = i;
// verify label(i) exists and do other stuff
}
Vielen Dank!