← Back to team overview

sikuli-driver team mailing list archive

[Bug 1472286] [NEW] Region.find(text): text search is currently switched off

 

*** This bug is a security vulnerability ***

Private security bug reported:

Settings.OcrTextRead=True;
		Settings.OcrTextSearch=True;
	
Pattern image1=new Pattern("D:/Sikuli/gmail1.PNG");
	Pattern image2=new Pattern("D:/Sikuli/signin.PNG");
	Pattern image3=new Pattern("D:/Sikuli/Uname1.PNG");
	Pattern image4=new Pattern("D:/Sikuli/Next.PNG");
	Pattern image5=new Pattern("D:/Sikuli/Password1.PNG");
	Pattern image6=new Pattern("D:/Sikuli/Submit1.PNG");
	
	WebDriver driver=new FirefoxDriver();
	driver.get("https://www.google.com";);
	
	screen.wait("10");
	screen.click(image1);
	screen.click(image2);
	screen.type(image3,"xxxxxx");
	screen.click(image4);
	screen.type(image5, "xxxxxxx");
	screen.click(image6);
	}
}

When i run the code it is displaying  "text search is currently switched
off"

please help me

LOg

OS 64-bit windows 7
sikuli 1.0.1

** 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/1472286

Title:
  Region.find(text): text search is currently switched off

Status in Sikuli:
  New

Bug description:
  Settings.OcrTextRead=True;
  		Settings.OcrTextSearch=True;
  	
  Pattern image1=new Pattern("D:/Sikuli/gmail1.PNG");
  	Pattern image2=new Pattern("D:/Sikuli/signin.PNG");
  	Pattern image3=new Pattern("D:/Sikuli/Uname1.PNG");
  	Pattern image4=new Pattern("D:/Sikuli/Next.PNG");
  	Pattern image5=new Pattern("D:/Sikuli/Password1.PNG");
  	Pattern image6=new Pattern("D:/Sikuli/Submit1.PNG");
  	
  	WebDriver driver=new FirefoxDriver();
  	driver.get("https://www.google.com";);
  	
  	screen.wait("10");
  	screen.click(image1);
  	screen.click(image2);
  	screen.type(image3,"xxxxxx");
  	screen.click(image4);
  	screen.type(image5, "xxxxxxx");
  	screen.click(image6);
  	}
  }

  When i run the code it is displaying  "text search is currently
  switched off"

  please help me

  LOg

  OS 64-bit windows 7
  sikuli 1.0.1

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


Follow ups

References