Results 1 to 2 of 2

Thread: Script which retrieves the current path of the test script

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Answers
    1

    Script which retrieves the current path of the test script

    Hi Everybody,

    Could you tell me the script which retrieves the current path of the test script? I am working on version 9.1


  2. #2
    Contributing Member
    Join Date
    Mar 2007
    Answers
    35

    Re: Script which retrieves the current path of the test script

    sObjRepoFile = Environment.Value("TestDir")

    Set oFso = CreateObject( "Scripting.FileSystemObject" )

    Environment.Value("RelativePath")=oFso.GetParentFolderName( oFso.GetParentFolderName( sObjRepoFile ))


    scriptpath = Environment.Value("RelativePath")

    msgbox scriptpath

    Hope this will work!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact