Results 1 to 2 of 2

Thread: QTP environmental variables

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

    QTP environmental variables

    Hi Every one

    Can any one tell me about environmental variables and how to use these variables in QTP ?


  2. #2
    Expert Member
    Join Date
    Apr 2008
    Answers
    1,859

    Re: QTP environmental variables

    Hai friend,

    File->Test Settings->Environment tab-> you can see the default environmental variables
    select what ever you need.

    In script you can use environmental variable like this
    C:\Documents and Settings\"&Environment("UserName")&"\Desktop\abc.xls

    Through the script given above you can get current username

    Thanks
    Deepa


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