Ask a Question

Compare a value from OCR to value in a Spreadsheet

Pronto
Not applicable

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
1 REPLY 1
YMinaev
Staff

Hi,



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. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: