- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Determine path of itest executable from within itest?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-11-2010 10:34 AM
Is there any way from within iTest of determining the path to itest? For example, if I have both 3.2 and 3.4 on my system, and I start a test in 3.2, I would like to use the 3.2 itestcli; if I start in 3.4, then its version. I didn't see anything in info; firing up a tclsh and using info doesn't work, because it is using the system's tcl.
Solved! Go to Solution.
Re: Determine path of itest executable from within itest?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-11-2010 03:03 PM
One suggestion is to modify the startup for each iTest to fill in an appropriate environment variable, or to update the PATH variable. Will that suffice?
Re: Determine path of itest executable from within itest?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-11-2010 03:13 PM
I guess I could prepend the appropriate path, and then the right one will execute. Really I only need to do that to the one I'm testing...yeah, sounds good. Thanks!
Re: Determine path of itest executable from within itest?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-11-2010 08:59 PM
It may not be a bad idea to add an info command option to provide the path of installation directory of the iTest.
Re: Determine path of itest executable from within itest?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-12-2010 09:05 AM
I'd agree; it would be nice to have an info for that.
