Hi everyone,
If I place a for loop in my script, the “Run from here” option under right click does not work? I have to run from the beginning. If I take the for loop out, the “Run from here” option works again. Is this caused b/c the for loop is written incorrectly?
Just to make sure, is the following for loop versions correct?
for ( int i = 1; i < 5; i ++) {
WebUI.verifyElementVisible(findTestObject("ACE Docs/Advanced Search/DP-${i}"));
}
for ( int i = 1; i < 5; i ++) {
String a = toString(i);
WebUI.verifyElementVisible(findTestObject(‘ACE Docs/Advanced Search/DP-’+ a));
}