I am new to eggPlant and been trying to establish a flexible framework to start work with.
First off, to create the framework, I would like to dynamically get the full path/directory of my current working suite(which is placed in “D:/Automation/New_Scripts/…”).
I tried using the files/folder functions provided by the SenseTalk reference docs but it points of “C:/Users/…/Documents”. I’m not sure why it is pointing to C:/ when my suite is placed in D:/
The reason I need the dynamic path is, I do not wish to hardcode any path/directory in my script as it is not good practice in automation. If I had created 20 scripts and I change my folder path in future, I would have to go back to my 20 scripts and change the hardcoded paths. I creates a lot of re-work which is bad.
Can someone please help me with this?