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.

Properties file

AmarAmar Members
edited November -1 in Sahi - Open Source
Hi ,

How can I access the .properties file using Sahi API ?

Regards

Comments

  • narayannarayan Administrators
    Is it required that you access a property file only or do you want to just include a set of values?
    If you are not bound to using a property file you could define your entries like this:

    $propertyKey1 = "string value 1";
    $propertyKey2 = "string value 2";

    etc., and then just use _include to include the file in your script.
    You can then directly access those variables.
Sign In or Register to comment.