Hi can anyone pls suggest how to fetch username(system
login name)and system name in to qtp.I am not using TD or
QC.Thx

Answer Posted / pavani prasad

Hi N Reddy,

we use use environment variable for fetching username
(system login name).

u can try this

msgbox environment.Value("UserName")

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2666


Difference between copy to action and call to action?

772


For which type of projects the iterative model is not suitable?

1659


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2002


i can done the project with QTP in that time i can say how many members in my team size?

1609


How do know the number of browsers opened?

821


Generic function to search for the unique link in webtable and click on it

2735


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1549


How to find the length of the string in qtp?

759


What is checkpoints for qtp?

721


distinguish between old version and new version QTP features.

2080


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1663


What are test settings and global settings?

791


How to use transactions in qtp?

729


What is the syntax for how to call one script from another?

787