18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

How to automate .exe file in sahi(OS)

Merajul HaqueMerajul Haque Members
edited November -1 in Sahi - Open Source
Hi All,

My issue is as follows:

There are some vendor performance details in my application & below that a 'export' button is there in the application. When I click on that button a window will open for confirmation to open or save the file(this window is similar to that window, when we save a file in a local machine). But sahi is not recognizing this window and hence not able to open or save the file. Following is the code for which I used for this issue to solve this but failed.

_execute("C:\\Users\\Merajul.Haque\\Desktop\\change.exe");


Pls suggest any syntax which is used by sahi(OS) for .exe file.



Thanks

Comments

  • Hi

    maybe .exe files don't work. I'm not sure. Please try to execute a batch file which starts the .exe

    Regards
    Wormi
Sign In or Register to comment.