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.
Unable to automate pop-up
Hi,
In my application i have a text box which will give pop-up when i enter value more than 100%, but sahi controller is not automating that pop-up.
Note: I am using IE 7 for this automation
In my application i have a text box which will give pop-up when i enter value more than 100%, but sahi controller is not automating that pop-up.
Note: I am using IE 7 for this automation
Comments
Could you Ctrl + Hover on the popup and check if Sahi is able to identify the elements on the popup?
Also, are you facing this issue on Firefox as well?
Is it possible for you to share the URL or point us to an sample application?
Regards
Sumitra
I tried doing Crtl+Hover, but sahi is not able to identify the elements on the popup, even with Mozilla also i am facing this issue
Sorry, the URL cannot be accessed from outside.
Regards,
Madan
Could you please open the controller from the popup and check if you are able to automate the popup.
Regards
Sumitra
I am not able to open the controller on pop-up
Regards,
Madan
Could you please send us the screenshot of the popup to support@sahi.co.in
Also, if possible kindly send the source code of the popup.
Regards
Sumitra
Problem statement:
basically we are finding 2 issues
Issue 1: there is HTML grid and below the grid we have four buttons (ilke Back, Download, Portfolio, Save) within a DIV. On top of HTML grid, they have placed text box to enter values into it which in turn updated into HTML Grid.
We are able automate clicking "Save" button before editing the grid. Once grid is edited, we are not able to automate clicking on "Save" inspite of double clicking on other cells which in turn closes text boxes.
Issue 2: Where as on click of "download", page is getting submitted even before / after editing grid. It looks tool is blocking the popup.
pl find below code snippet, which i feel, would help you in providing solution
<div id="content_buttons">
<div class="confidential"> </div>
<button id="butdisable" class="default" onclick="save();return false;">Save</button>
<button onclick="Portfolio();return false;">Portfolio</button>
<button onclick="export('');return false;">Download <img height="16" width="16" src="/images/i_excel.gif">
</button>
<button id="back" onclick="backCancel('/Search', 'view');return false;">Back/Cancel</button>
</div>
Below mentioned is the java code recorded form sahi controller.
//Save button working fine before entering values to Grid.
browser.button("Save").click();
//Here i am clicking the grid so that all the cells in the row will be enabled and we can enter values.
browser.cell("0.00").click();
//Here i am entering the values to text boxes
browser.textbox("tempDollarAmount[3]").setValue("20.00");
//Here again i am disabling the row which is enabled in from second line of code.
browser.doubleClick(browser.textbox(11));
//Here i am not able to click save button.
browser.button("Save").click();
The above code is working fine by using controller, but if the same code is running from ECLIPSE "Save" is not working.
Regards,
Madan
Any hope for this type of Scenarios
Could you please check if you able to click on any other button on the popup through eclipse?
Regards
Sumitra