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.

How to get the date of the server using the sahi script

lnvsagarlnvsagar Members
edited November -1 in Sahi - Open Source
I have a field called completion date where i can place value as the date of the GUI server.
So i want to know how to get the date of the server using the sahi script..?


Thanks in advance,
Sagar

Comments

  • Spontaneously I'd say: Isn't possible for security reasons... but:
    with the _execute API you could run a script which stores the date in a file which can be read by Sahi.

    Does this help?

    Regards
    Wormi
  • I have found an alternate solution where i get the sysdate in the application, so i'm just reading and reusing it..

    If you can guide me plz let me know the issue mentioned in url: http://sahi.co.in/forums/viewtopic.php?pid=15974#p15974

    Regards
    Sagar
Sign In or Register to comment.