Modify

Opened 11 years ago

Closed 11 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 Changed 11 years ago by jpm

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.

comment:3 Changed 11 years ago by Jon

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.