Answer Posted / nani
Hi let u try this code to know u r user name and local host
name.
x= Environment.Value("UserName")
msgbox x
Set sys = CreateObject
("ADSystemInfo")
msgbox "UserName: " &
sys.UserName
msgbox "Computer: " & sys.ComputerName
x=Environment.Value("UserName")
Nani..
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to create runtime property for an object?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Why qtp the best testing tool?
How to suppress warnings from the test results page?
How to data driven test for Win objects in QTP ?
Explain how Selenium is different from UFT?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
Hi How to retrieve data from web element line by line?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
What contains Data Driven Framework document in qtp?
Why do we use breakpoints in QTP?
How software tester can use constants and variables in scripts?
How to record application running on the Virtual machine?
How many number of actions possible in qtp?