18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Identifying external popups from sahi
We are automating a web application where we require to open a dialogue box and select a file from that box (which is typically a normal file upload dialogue in windows). This dialogue box is opened from browse button.
I am able to automate till clicking on browse and the external window or the files in that window are not recognized by sahi. Is there an alternate way to do this?
NOTE: In our application, the text box where path can be given to select a file is not writeable.
I am able to automate till clicking on browse and the external window or the files in that window are not recognized by sahi. Is there an alternate way to do this?
NOTE: In our application, the text box where path can be given to select a file is not writeable.
Best Answer
-
Hi lkolluru7,
You can do this by using _setFile() or _setFile2() function.
You can see the documentation over http://sahi.co.in/w/_setfile .
Regards,
Sachin
