18 January 2026:


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.

Certificates

orbaraorbara Members
edited February 2010 in Sahi - Open Source
Hello,

I want to record sending a mail with gmail . I'm with LINUX.
I' ve a problem with certificates , and Permission refused with < http://www.google.fr > to obtain the Window property. _sahi of < https://www.google.com >.
So, I can't record my script.
Do you have any idea?
For the certificates it seems that it generate autosigned certificate and it's not good.
Thank you for your answer

Best regards

Comments

  • narayannarayan Administrators
    Hi Orbara,

    "Permission refused with < http://www.google.fr > to obtain the Window property. _sahi of < https://www.google.com >."

    Where is this coming up? On the Controller? Could you close and open the Controller and check if this gets resolved? (You can close and reopen the Controller at any time, without affecting the recording or playback)

    Why is the autosigned certificate not good? Do you mean that the browser shows certificate errors? You will need to accept and trust them for Sahi to work properly.

    Regards,
    Narayan
  • Hy Narayan and thank you for your answer.

    I'm with Linux and Firefox.
    I begin to record the script but when I click in Stop Button to finish I've this message:

    Annonce de la page http://www.google.fr:
    "Permission refused with < http://www.google.fr > to obtain the Window property. _sahi of < https://www.google.com >."

    So I can't STOP the record, and nothing is writed in the script file

    In any case, is it possible to make a script to write a mail and send it to some adresses?

    Thank you for your answer
    Best regards
    Orbara
  • narayannarayan Administrators
    Hi Orbara,

    On Linux, if you wish to send an email, the simplest way is towrite a small shell script and invoke it using

    _execute("/path/to/scipt.sh")

    Let us know if you need more information.

    Regards,
    Narayan
  • Hello,

    Thanks for you reply but I want to record simulation of sending a mail using the gmail web interface. I want to record this scenario in order to validate that the gmail web interface is working properly.

    This scenario will run on a linux with the firefox browser. I have this message : "Permission refused with < http://www.google.fr > to obtain the Window property. _sahi of < https://www.google.com >." when I stop the recording process. Then, the script file (.sah) is empty.

    Do you have any idea .

    Best regards,
Sign In or Register to comment.