MVenkataraman
11 years agoOccasional Contributor
How to get the text from the application and compare it to previously known text
Hi:
I am trying to read the text from a message box(popup box which prompts a hit, miss or abort message) each time it appears. The text can be either "Hit", "Miss" or "Abort". I need to find which message it is and count the number of occurances each event occurs during the execution of the script and write the count to a text file.
I am finding it hard to figure out what text the message box has. How do i find this out?
Thanks,
Madhan
I am trying to read the text from a message box(popup box which prompts a hit, miss or abort message) each time it appears. The text can be either "Hit", "Miss" or "Abort". I need to find which message it is and count the number of occurances each event occurs during the execution of the script and write the count to a text file.
I am finding it hard to figure out what text the message box has. How do i find this out?
Thanks,
Madhan
- I don't recommend TC's OCR at all, result of recognition sometimes unpredictable and can provoke false negatives. I played with OCR couple of years ago and gave up.
How do you track the event when message appears? Is it an onscreen object which TC can detect? If so, have you tried to inspect properties and find one which contains the text you need?
I just want to make sure that image processing is only solution.