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.
Problem closing a pop-up form
Hi...
I was wondering if anybody has encountered the same problem i'm experiencing or knows a good solution to the issue i have with closing a pop-up form.
Basically, i need to test a registration form, the form is in a pop-up window which can be accessed by clicking a hyperlink from the main page.
I need to ensure that the textboxes accept positive and negatives values, however, i also need to run the tests on a loop, but to do this i need to close the pop-up window down, before the script re-opens it.
The issue i have is closing the pop-up window. The form doesn't have any 'close' buttons, the only way to close it is to use the standard IE windows 'x' button, however, Sahi doesn't recognise this action.
Is there any code that i can use or is there another way of closing the pop-up window???
Any help would be very much appreciated...
I was wondering if anybody has encountered the same problem i'm experiencing or knows a good solution to the issue i have with closing a pop-up form.
Basically, i need to test a registration form, the form is in a pop-up window which can be accessed by clicking a hyperlink from the main page.
I need to ensure that the textboxes accept positive and negatives values, however, i also need to run the tests on a loop, but to do this i need to close the pop-up window down, before the script re-opens it.
The issue i have is closing the pop-up window. The form doesn't have any 'close' buttons, the only way to close it is to use the standard IE windows 'x' button, however, Sahi doesn't recognise this action.
Is there any code that i can use or is there another way of closing the pop-up window???
Any help would be very much appreciated...
Comments