Compare a value from OCR to value in a Spreadsheet
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2010
10:26 AM
03-15-2010
10:26 AM
Compare a value from OCR to value in a Spreadsheet
Hi Guys,
Just wondering if it is possible to get a value from a screen using OCR and compare this value to a field on a spreadsheet.
I have been able to get both values out and displays the message in the results, but have not been able to compare the values before displaying results to show a True/False result.
Any help would be appreciated.
Cheers
Just wondering if it is possible to get a value from a screen using OCR and compare this value to a field on a spreadsheet.
I have been able to get both values out and displays the message in the results, but have not been able to compare the values before displaying results to show a True/False result.
Any help would be appreciated.
Cheers
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2010
09:43 PM
03-16-2010
09:43 PM
Hi,
Well, you can just use comparison operators.
Well, you can just use comparison operators.
...
if(valueFromSpreadsheet == valueFromOCR)
// Values are equal
else
// Values are different
...
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
