Forum Discussion

Pani_Kumar's avatar
Pani_Kumar
New Contributor
16 years ago

Reading properties from a file dynamically

We can load properties from an external file and then these properties would become part of my project.
However, if my properties in external file changes, i need to re-load the properties in my project again.

Is there a way read the properties from external file always (as their value could change over time) ?

1 Reply

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    If you are using a properties teststep the you can set the source file to your properties-file which will result in your properties being read from file each time the teststep is executed.

    If you are storing them at another level, you would need to create a groovy-script that does this at the desired event..

    regards!

    /Ole
    eviware.com