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.
How to handle to Pop-up windows in sahi?
Hi All,
I'm using sahi for automating the web application. Here, i'm facing some issue with handling pop-up windows.In my application, when i click the play link of selected audio file(i.e. soundmark2.wav) ,it opens the pop-up window with the window name as "Opening soundmark2.wav". In that pop-up window, Open with radio button is selected by default. Here, i have to click the OK button in that Pop-up window.
Can you please provide me the solution for this issue?
Thanks in advance
Regards,
Jeeva
I'm using sahi for automating the web application. Here, i'm facing some issue with handling pop-up windows.In my application, when i click the play link of selected audio file(i.e. soundmark2.wav) ,it opens the pop-up window with the window name as "Opening soundmark2.wav". In that pop-up window, Open with radio button is selected by default. Here, i have to click the OK button in that Pop-up window.
Can you please provide me the solution for this issue?
Thanks in advance
Regards,
Jeeva
Comments
Ctrl and hover on the element in the popup from the controller. A popup should be prefixed with _popup("identifier").
Use this prefix in your script to access elements in the popup.
Regards,
dkulkarni
Sahi controller is not recording the the Pop-up window & Ctrl and hover on the element in the popup from the controller is also not working.
Can you provide me any other alternate solution for this issue?
If you wish to download the file, then it should be handled differently.
Look at this article for more details.
You will have to add the URL of the wav file in download_urls.txt (Click "Configure" on the dashboard -> download_urls.txt-> Add .*soundmark2[.]wav -> Click Save and restart Sahi)
Regards,
dkulkarni
Does Sahi support GUI based application.? Still i'm not able to find any solution for this issue.
Actually, I dont want to download a file just i need to play the audio file in windows media player when i click the "OK" button in that dialog box.
Scenario : I have added an audio file to the textbox and when i click play link for the particular audio file added textbox, System should open this dialog box & by default Open with Windows Media Player radio button is selected. Now by clicking "OK" button in that dialog box, System should play this audio file in Windows Media Player.
Please provide me the solution for the above issue. Could you please provide me the scripting for this issue.?
Thanks in advance.
Regards,
Jeeva