← Back to team overview

sikuli-driver team mailing list archive

[Bug 1706508] [NEW] find, exists with text with underscore does find full text

 

Public bug reported:

Sikuli version 1.1.1
windows 10 64-bit

procedure:
in notepad create 2 lines:
somethinghippyfox
sheep_elephant

run this code:
click_next = exists('sheep_elephant')
if click_next:
    print("found")    
else:
    print("can not find")


Script will not find 'sheep_elephant'. Script will find 'somethinghippfox' and 'sheep_e'

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1706508

Title:
  find, exists with text with underscore does find full text

Status in Sikuli:
  New

Bug description:
  Sikuli version 1.1.1
  windows 10 64-bit

  procedure:
  in notepad create 2 lines:
  somethinghippyfox
  sheep_elephant

  run this code:
  click_next = exists('sheep_elephant')
  if click_next:
      print("found")    
  else:
      print("can not find")

  
  Script will not find 'sheep_elephant'. Script will find 'somethinghippfox' and 'sheep_e'

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1706508/+subscriptions


Follow ups