login vsi company logo login vsi company logo 250x40

How to determine path to the current active run directory?

  • martinrowan
  • martinrowan's Avatar Topic Author
11 Oct 2013 11:06 #1449

I would like to capture some information about each users session at the start of the test and store this txt file with the VSI run logs on the VSI share.

From within the machine running VSI is there already somewhere that captures the path to the <ProfileShare>\<RunName>?
Or do I need to generate this myself by reading the VSI.ini to get the the share name, then looking at the name of the .IsActiveTest file.

I check the environment variables set and didn't see anything obvious to help me out, so before I spend any time writing something to do this I thought I'd check there wasn't something available already somewhere in the session, a file, a reg key a variable?

Please Log in to join the conversation.

12 Oct 2013 00:17 #1450


There is no registry key, file or regkey that has the value you are looking for. I can make a small change to VSI.exe to have it write the VSIshare and/or the active test name to an environment variable or reg key if you like.

Please Log in to join the conversation.

  • martinrowan
  • martinrowan's Avatar Topic Author
12 Oct 2013 08:26 #1452

Hi Dennis, I've hacked together a cmd script to do it at the moment, but it would be a nice enhancement to expose more easily in future updates to 3.x and 4.x versions.

Please Log in to join the conversation.

Start Delivering the Best End User Experience Today

Request a Demo

Login VSI, Inc.

3945 Freedom Circle
Suite 670
Santa Clara, CA 95054

Phone: +1 408 899 7418

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200