Checkpoint failing even though text appears to be correct.

  • Questions
  • Checkpoint failing even though text appears to be correct.
Question ID: 106007
1
0

We have a standard checkpoint in UFT that has been working fine for a while now, but today it failed and I can not figure out why. In the Results, the text of the expected and actual values appear to be the exact same, so I don’t understand what’s wrong.

Marked as spam
Posted by (Questions: 339, Answers: 20)
Asked on April 22, 2015 5:50 pm
5 views
Answers (1)
1
Private answer

The Run Results Viewer doesn't seem to show extra white spaces in text, so the best thing to do to troubleshoot this situation is to use GetROProperty to get the actual value of the text at run time and compare to the expected value. I'd bet an extra space or something like that was introduced in the code.

Marked as spam
Posted by (Questions: 16, Answers: 749)
Answered on April 22, 2015 5:50 pm
That's exactly what happened. There was an extra space between 2 words in the text that are not showing up on the RRV results page. So annoying!!!
( at April 22, 2015 5:51 pm)