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.
Can't work after redirection to other domain
Hi,
I have the following issue:
I would like to test payment method in shop service so I go through steps in basket and then click link to site with payment methods. This site is opened with the same window but it has other domain and ssl.
I tried follwing methods but my test always stops on site with payment methods and in log i have:
"ERROR
Step >_alert("test"));< did not complete in 150 seconds."
My script looks following:
// Here i have code that make order int the shop .....
//.............
//......
// Click link that open site with payment methods (this site has different domaint than shop with ssl )
_click(_image("PayU"));
//Choose Domain that is on payment method site
_selectDomain("https://www.platnosci.pl"
;
_wait(3000);
// When the payment method site is opened i try anythind for example open alert box
_alert("test");
Its not only about playint test the same issue is when i try to use record in sahi controller:
When i record steps on my internet shop: www.myshop.pl it s ok , but when i click link _click(_image("PayU")); and try record anything on payment site: https://www.platnosci.pl , recorder doesn't record anything on that site. It looks that sahi has no contact with that site.
What can I do?
I have the following issue:
I would like to test payment method in shop service so I go through steps in basket and then click link to site with payment methods. This site is opened with the same window but it has other domain and ssl.
I tried follwing methods but my test always stops on site with payment methods and in log i have:
"ERROR
Step >_alert("test"));< did not complete in 150 seconds."
My script looks following:
// Here i have code that make order int the shop .....
//.............
//......
// Click link that open site with payment methods (this site has different domaint than shop with ssl )
_click(_image("PayU"));
//Choose Domain that is on payment method site
_selectDomain("https://www.platnosci.pl"
_wait(3000);
// When the payment method site is opened i try anythind for example open alert box
_alert("test");
Its not only about playint test the same issue is when i try to use record in sahi controller:
When i record steps on my internet shop: www.myshop.pl it s ok , but when i click link _click(_image("PayU")); and try record anything on payment site: https://www.platnosci.pl , recorder doesn't record anything on that site. It looks that sahi has no contact with that site.
What can I do?
Answers