I am novice with Ranorex and c# language , in my usercode, if Validate.Exists() failed then user code will break,
Is there a way let user code keep executing even if Validate.Exist() failed?
below is my code sample:
Code: Select all
for(int column = 0; column < column_cnt; column++)
for(int row = 0; row < row_cnt; row++) {
//I want those two for loops can be all executed even if Validate.Exists() fail
string pattern = getExcel.Rows[row].Values[column];
Validate.Exists("/dom//tr/td//*[@innertext~'"+ pattern +"']");
}