Opened 13 years ago
Closed 13 years ago
#2369 closed Bug (No Bug)
.exe is not working in driver
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.8.1 | Severity: | None |
| Keywords: | Cc: | bashatec@… |
Description
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
Attachments (0)
Change History (2)
comment:2 by , 13 years ago
comment:3 by , 13 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |

Before submitting a ticket Just go to the forum to get help.
If you are sure it can be a bug just attach everything needed to repro
Try to isolated, without outside AutoIt stuff if possible.
We can fix only if we can reproduce.