VAPI-XP-TEST: How to Retrieve test set folder name for the current run

  • Questions
  • VAPI-XP-TEST: How to Retrieve test set folder name for the current run
Question ID: 108175
1
0

Hello All,
Having a bit of an issue. I am trying to retrieve the Test set Folder name during execution of a VAPI XP Test. Here is what I have Coded.

Dim objShell, objFSO, objFile
Dim arrOutPutLog()
Dim strEnv, strLine, strTSFolderName, strUser, strUserFile
Dim intLineNo

If Not Debug Then
strUser = CurrentTSTest.Field("TC_ACTUAL_TESTER")
strTSFolderName = CurrentTestSet.TestSetFolder.Name
TDOutput.Print strTSFolderName
End If

The TDOutput line doesn’t print a value. Any one have any Idea on this? And yes I am running this from a test set and not in debug.

Thanks,

Marked as spam
Posted by (Questions: 22, Answers: 1)
Asked on February 14, 2018 3:18 pm
15 views
Answers (1)
0
Private answer

JK It is working. Ouput was scrolling past the output line for it. sorry all.

Marked as spam
Posted by (Questions: 22, Answers: 1)
Answered on February 14, 2018 3:46 pm