Hi Every one
Can any one tell me about environmental variables and how to use these variables in QTP ?
Printable View
Hi Every one
Can any one tell me about environmental variables and how to use these variables in QTP ?
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