How to check the number is present or not

Hi all,
I want to check the number between 200 and 300 in one page.How to verify the number is present or not.
please anyone give me idea…

Hello,

You should be able to use the OCR functionality to read the number (be sure to specify a search rectangle if possible). You can read this Knowledge Base post on OCR tips: http://www.testplant.com/support/2012/02/working-with-ocr/

You can use code like this:

put ReadText (("TopLeftImage","BottomRightImage")) into NumVar 
-- Note: You may need to add further parameters to the readtext (see the Knowledge Base post mentioned above)
if NumVar is between 200 and 300
then 
	log "it is between 200 and 300!"
else
	log "it is not between 200 and 300!"
end if

I hope that helps. Happy Testing!