Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
sahi - Browser unresponsive exception on Firefox
During test execution we do see all tests fail during sahi brower start up of FireFox browser, what could be the problem here?
[exec] Jun 23, 2022 12:55:13 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetch
[exec] INFO: No SSL Client Cert specified
[exec] Jun 23, 2022 12:55:13 PM net.sf.sahi.test.ProcessHelper execute
[exec] INFO: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -profile "./sahi/userdata/browser/ff/profiles/sahi0" -no-remote "http://sahi.example.com/s/dyn/Driver_start?sahisid=sahi_51440924c04d0b3ec0b3769fb927__SahiAmpersandSahi__startUrl=http%3%2F%2Fsahi.example.com%F_s_%2Fdyn%2FDriver_initialized%FstartUrl%3Dhttp%23A%252F%252Fsahi.example.com%252F_s_%252Fdyn%252FDriver_initialized"
[exec] Keytool command found at: keytool
[exec] Jun 23, 2022 12:55:17 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
[exec] INFO: PIDs: [4248]; 3404 ms
[exec] POwner Name: google
[exec] P P P P PINFO: Logging into https://google.com
[exec] F P P F
[exec] Failed Step: LoginToOPX - setup
[exec] Specification: specs\Landing Page - My Home - Person Activity.spec:13
[exec] Error Message: net.sf.sahi.client.BrowserUnresponsiveException : did not complete in 150 seconds.
[exec] Stacktrace:
[exec] net.sf.sahi.client.Browser.executeStep(Browser.java:323)
Comments
As per https://resources.sahipro.com/docs/introduction/whats-new-in-sahi-pro-v9.7.0.html there are multiple fixes for new Firefox updates. These fixes may not be in the Sahi OS. So try with Sahi Pro v970 and share your findings here
If you are learning Sahi, you may visit https://academy.sahipro.com/learn/login/
If you intend to evaluate Sahi Pro, you may get a free trial license at https://sahipro.com/free-trial
We updated ca certificates and also cert8.db and key3 file under FF profile template but still seeing timeout exceptions.
I see also some additional SSL exception whenever I try to load URL's manually in FF browser.
INFO: PIDs: [3324]; 5540 ms
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:992)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.
java:1375)
Hi,
Can you please let us know the Sahi Pro version that you are using?
We have fixed the FF issues on the latest version V9.7.0 as mentioned by Rohan.
Please reach out to support at support@sahipro.com if you still face any issues.
We are using free version of open source Sahi v.5.0
Please reach out to support at support@sahipro.com if your issue is not resolved, so that we can help you better. Thank You