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.
Thanks to Sahi ..
Hi,
I hit upon Sahi just a couple of days ago and I have been looking around for web tool, for about a week now. I am thankful to Sahi, now. Thank you folks ... I have had a few problems & have put them here ----
I was able to get the Sahi controller, but I am not able to get to yahoo mail, gmail and also that I am able to get to log-in page of my application , but no further.
I noticed a few things, for gmail & yahoo mail, I get certificate failure error on the IE (There is a problem with this website's security certificate), but for my application there are no errors but it does not log in, after I click the log in button after a while it gets back to the log in page, also that I noticed that under the ..\sahi\temp\download\* folder i can see a copy of the page that is expected after you log in to my application.
I have set up the proxy correctly , I can browse a few sites, for example, yahoo.com, google.com.
I am using Java 5 SDK , IE 7.0 and Sahi version - 20080627, nightly build.
I am sorry for the long post.
Thanks you and Regards
az_h
I hit upon Sahi just a couple of days ago and I have been looking around for web tool, for about a week now. I am thankful to Sahi, now. Thank you folks ... I have had a few problems & have put them here ----
I was able to get the Sahi controller, but I am not able to get to yahoo mail, gmail and also that I am able to get to log-in page of my application , but no further.
I noticed a few things, for gmail & yahoo mail, I get certificate failure error on the IE (There is a problem with this website's security certificate), but for my application there are no errors but it does not log in, after I click the log in button after a while it gets back to the log in page, also that I noticed that under the ..\sahi\temp\download\* folder i can see a copy of the page that is expected after you log in to my application.
I have set up the proxy correctly , I can browse a few sites, for example, yahoo.com, google.com.
I am using Java 5 SDK , IE 7.0 and Sahi version - 20080627, nightly build.
I am sorry for the long post.
Thanks you and Regards
az_h
Comments
You need to create the SSL certificate for the websites.
Look in the Sahi Proxy for something like this:
COMMAND START
keytool -genkey -alias adwords.google.com -keypass sahipassword -storepass sahipassword -key
alg RSA -keystore C:\Documents and Settings\example\Desktop\sahi\certs\adwords_google_com -dname "CN=adwords.google.com,
OU=Sahi, O=Sahi, L=Bangalore, S=Karnataka, C=IN"
COMMAND END
Do this:
1. Open a command prompt for the directory where your keytool.exe is located. It's probably in C:\Program Files\Java\jre1.6.0_0x\bin
2. Select the command between "COMMAND START" and "COMMAND END".
3. Put quotation marks around the C:\Documents and Settings\example\Desktop\sahi\certs\adwords_google_com part
4. Run the command on it's own command line
The finished command will look like this:
keytool -genkey -alias adwords.google.com -keypass sahipassword -storepass sahipassword -key
alg RSA -keystore "C:\Documents and Settings\example\Desktop\sahi\certs\adwords_google_com" -dname "CN=adwords.google.com,
OU=Sahi, O=Sahi, L=Bangalore, S=Karnataka, C=IN"
If you want to make the SSL key generation automatic, modify the keytool.path entry of the sahi.properies file (in the Sahi config directory) to look something like this:
keytool.path="C:\\Program Files\\Java\\jdk1.6.0_06\\bin\\keytool.exe"
Welcome and keep posting questions!