← Back to team overview

sikuli-driver team mailing list archive

[Question #264573]: Issue with uploading

 

New question #264573 on Sikuli:
https://answers.launchpad.net/sikuli/+question/264573

Actualy i tried to upload a file using sikuli selenium.
After opening the upload window, sikuli is not working.
After closing the web page , the document path is appearing in Ide Console.

driver = new FirefoxDriver();
	 
 driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
	 
driver.get("http://www.toolsqa.com/automation-practice-form";);
 driver.manage().window().maximize();
 WebElement d = driver.findElement(By.id("photo"));
 d.click();
 Thread.sleep(5000);
				   
				   Screen s = new Screen();
				   App.focusedWindow();
				   
				   Pattern m_upload = new Pattern("D:\\Sikuli\\file.png");
				   s.wait m_upload, 3);
				  s.type("path");
		    
	   

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.