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.
Cross Domain testing
Hi,
I am facing problem while recording/ executing with two domains.
In my application,while clicking on the link a new popup window is opened with different domain and simultaneously a new controller is opened due to which I am unable to record the script.
I have also tried with _selectWindow("popupname") but still I am not able to record
Please help me
I am facing problem while recording/ executing with two domains.
In my application,while clicking on the link a new popup window is opened with different domain and simultaneously a new controller is opened due to which I am unable to record the script.
I have also tried with _selectWindow("popupname") but still I am not able to record
Please help me
Comments
Which window are you trying to record in which you are facing the problem, the original one or the popup ?
Thanks,
We are not able to record in the popup window, actually when i click on a link in main window we are getting a popup window with a new domain and simultaneously a new controller is opening and previous controller is deactivated .so further am not able to record.
thanks,
Please note that you can close the controller without interrupting the recording and can open it again. Just close the new controller that opens up (or even if it is open, leave it as it is) and continue recording. It will work.
Thanks,
Vivek
i have tried like that also, but the problem is the main window controller is inactive when i have opened a popup in my case.
Thanks,
Kiran
1. Open an email in the browser
2. Click a link in the email, which triggers a popup window
3. Click a link on the popup window, which loads PayPal site in the same popup window
4. Fill in the payment information and process the payment
The problem started at step 2. The controller couldn't record anything until I closed it and relaunched from the popup window. It then successfully recorded clicking the link on popup window. However, after the link was clicked, it didn't load the PayPal site as it's supposed to. Manually doing the steps in regular browser was fine but not in the browser launched from Sahi dashboard.