Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get relative path by using testdir environment variable
#1
How do I *change the directory* which the environment variable "TestDir" is pointing to? So, if I have:

myVar = Environment("TestDir")

where myVar = "C:\Users\User\Documents\Unified Functional Testing\UFT scripts"

How do I make it point to "C:\Users\User\Documents\*"?
Reply
#2
Save the script in "C:\Users\User\Documents", then check the TestDir
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Not able to get the list of items in Delphi Combobox Environment Object Raj Aryan Singh 3 3,120 02-04-2020, 12:32 AM
Last Post: Raj Aryan Singh
  Path of Flight reservation Window is not recorded in HP UFT 12.52 version mailtokopalverma@gmail.com 1 3,272 04-01-2016, 05:34 PM
Last Post: vinod123
  X path Identification vasavi.vasavi 1 3,576 07-29-2015, 10:44 AM
Last Post: kbhargava505
  environment variable path for qc automation2012 0 3,238 01-18-2015, 08:18 AM
Last Post: automation2012
  Change Object Repository File Path for ExternalActions MasterChief 1 5,216 11-13-2014, 06:05 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)