﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2369	.exe is not working in driver	anonymous		"I working on selenium wecdriver. Scenario, when i press print button. Print dialog box is appeared. I need to colse that print dialog box. To colse the dialog box i am using Autoit.
Here my Autoid code
AutoItSetOption(""WinTitleMatchMode"",""3"")
$handle = WinGetHandle(""Print"", """")
WinClose($handle)

My selenium code is 

LearnhowtotrachPage.getprinticon(driver).click();
	   Thread.sleep(2000);
	   String[] dialog =  new String[]{ directory.getCanonicalPath()+""\\lib\\Save_Dialog_FF.exe"" };
	   Runtime.getRuntime().exec(dialog);

or

Process proc = Runtime.getRuntime().exec(directory.getCanonicalPath()+""\\lib\\Save_Dialog_FF.exe"");

I tried above both the code but .exe file is not executing it. 

Please help me in that.

Thanks 
Khalith

"	Bug	closed		AutoIt	3.3.8.1	None	No Bug		bashatec@…
