title: Using Sikuli to verify text
body: <p>I am using the Sikuli IDE to test an application that returns data in a text box.
  For example 
  I search the name field for my test value 'FirstName01' the application returns the name and address in various text boxes. </p>
  
  <p>I then verify the data by using the exists() function in Sikuli. To do this I click on the exists function in the upper left of the IDE and use the + tool to select the text I want to verify. In this case FirstName01 and Location01.
  I then set the Similarity setting on the MatchingPreview tab to .98 (I find if I set it to 1.0 Sikuli fails the test even if I get the correct data back).</p>
  
  <p>If I run the test searching for FirstName01 I get correct results back and Sikuli does not throw an error. My problem is if I search for and return FirstName02 in an attempt to generate the error condition the exists function passes it even though it is looking for FirstName01. 
  It seems Sikuli does not verify the last character of the data. It seems to verify other characters because if I search for FirstName21 the exists function throws an error as it should. Has anyone come across this problem and if so how did you solve it?</p>
  
  <p>My code is below</p>
  
  <pre><code>If exists(FirstName01):
     popup('passed')
  else:
     popup('failed')
  </code></pre>
  
  <p>Is there another way to verify data?</p>