Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
relative path
Discussion List
-
Acccess Project/Workspace Location in cpptest suite
Our current test suite is littered with absolute file paths. This makes our test suites less portable. I'd like to be able to access the workspace and project locations from within our tests. How can I do this? Are there environment variables that contain this information that can be gotten through getenv()? Or are there…
-
How can I retrieve/use the project location in a relative path to open and read/write to a text file
I am using the following Jython script to read and then update a value from a text file on my local pc, but need to be able to use a relative path to identify the file in both line 7 and 14. I have verified my PROJECT_LOC variable is: "C:/Users//File/Path/To/Workspace/Project". Any help is appreciated. Works Locally but…
Popular Tags
- SOAtest 454
- legacy 440
- Virtualize 207
- C/C++test 179
- scripting 106
- .parasoft 82
- unit testing 64
- Parasoft Virtualize 61
- Announcement 61
- static analysis 58
- jtest 57
- dotTEST 48
- assertions 47
- C++ test 43
- API Testing 39
- cli 38
- automation 37
- data source 37
- xpath 35
- java 33
- reporting 33
- LoadTest 32
- SOAtest Virtualize 32
- ctp 30
- JSON 29