Forum Discussion

mgormsen's avatar
mgormsen
Occasional Contributor
2 months ago
Solved

NameMapping issues after IF Object statement returns false?

I submit a ticket through support already, but has anyone else seen an issue in 15.72 and 15.73 where a web test will fail with an "Unable to find the following object when executing the Click command:" error immediately following an IF Object statement that returns false?

I am seeing this issue on two separate web test suites.

If I use debugging to pause the test on the failing line, then right-click and "Highlight on screen" then continue, the test will work. If I just pause, then continue it will still fail.

I moved that item above the IF Object statement and it works, but now the next one after the IF fails.

In this image, the green item fails when by the pink item, but works when I moved it above the IF. Now the pink one fails.

If I go back to 15.71, this does not happen.