Code: Select all
/form[@title~'^Select\ the\ Default\ item\ ']/descendant-or-self::*/row[@index=$varIndex]/cell[@text<=$varFileNameWithExt]
How can a path be broken by a variable even when the variable appears to be working correctly?
I am launching the test from the test suite view, so the variable should be set correctly. Since it works without variables it is not a whitelist issue.
Failed to find item 'Main_Repo.SelectTheDefaultthingProgramDatabase.DBInWindowOne'. Please check that your whitelist allows Ranorex to access the process.
No element found for path '/form[@title~'^Select\ the\ Default\ item\ ']/descendant-or-self::*/row[@index='0']/cell[@text<='data base.accdb']' within 1m.