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 capture objects in sahi tool for certificate error
OS:windows 7
browser: ie 9
Build : 2011-07-19
hi,
i am trying to automate on reuters website using sahi with java on eclipse. when i am recording the navigation, the tool can spy and record proberly till the first page. then when i click on sign in, it is redirected to a network erorr (certificate error, where we are supposed to click on"continue to this website(not recomended) in ie") window. after i click on continue, the sahi twist tool stops recording and aslo we wont be able to spy.
can u plz provide a soln to this. HOW CAN I SPY AND BE ABLE TO CLICK ON THE "CONTINUE" LINK
thank you.
i ll paste the code below.
browser.navigateTo("reuters website here");
browser.link("Sign In").click();
here s where the problem starts. after sign in is clicked it redirects to certificate error window in ie.
and the code below becomes nonfunctional.
browser.link("here").click();
browser.textbox("loginName").setValue("abcdefg");
browser.password("password").setValue("gtrueiow");
browser.imageSubmitButton("btn_sign_in.gif").click();
browser: ie 9
Build : 2011-07-19
hi,
i am trying to automate on reuters website using sahi with java on eclipse. when i am recording the navigation, the tool can spy and record proberly till the first page. then when i click on sign in, it is redirected to a network erorr (certificate error, where we are supposed to click on"continue to this website(not recomended) in ie") window. after i click on continue, the sahi twist tool stops recording and aslo we wont be able to spy.
can u plz provide a soln to this. HOW CAN I SPY AND BE ABLE TO CLICK ON THE "CONTINUE" LINK
thank you.
i ll paste the code below.
browser.navigateTo("reuters website here");
browser.link("Sign In").click();
here s where the problem starts. after sign in is clicked it redirects to certificate error window in ie.
and the code below becomes nonfunctional.
browser.link("here").click();
browser.textbox("loginName").setValue("abcdefg");
browser.password("password").setValue("gtrueiow");
browser.imageSubmitButton("btn_sign_in.gif").click();
Comments
that's a little issue. Sahi won't be able to record or playback sites without the certificate. When you look at the html sourcecode of the "untrusted connection" page, you will see that there is no Sahi javascript injected in the header, so no interaction with Sahi is possible. Don't ask me about the technical details.. but the only way to test past the certificate error is to accept the certificate. Check the https://sahi.example.com/_s_/dyn/SSLManager to accept the certificate.
Regards
Wormi
I dont use IE.. no idea why the link isnt working...
Do you use the Sahi Dashboard? Is there the IE in the Dashboard? When you can open him, do you see a Sahi Example page? There should be a link to the SSLManager