SilkTest Question:

How to change the absolute paths to relative paths?

Tweet Share WhatsApp

Answer:

Need to use the relative paths in my SilkTest Project. How to change the absolute paths to relative paths? (Note:The purpose is that, when package the project, that package can be used on any other machine, irrespective of the paths defined, it should run on that machine too.)


Silk Projectoffers you some out of the box solution for this. If your suite is not implemented as a project, the best option is to use relative path in the Runtime options dialogbox, with the Root of the suite hardcoded.
i.e. Use Path = S:Suite << S maps to root of the automation suite
and use files are relative .i.e. frame.inc, ..configconfig.inc etc etc,

Download SilkTest PDF Read All 146 SilkTest Questions
Previous QuestionNext Question
How to down load latest silk test trial version?what if the object is dynamically changing. How does silktest identifies the object?