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 / nreddy
I got the answer.This will work.The one you posted is
You are trying to fetch from dialog box where you have user
name displayed.But this code will fetch from system.
'-----------------------
Dim sys
Set sys = CreateObject("ADSystemInfo")
msgbox "UserName: "& sys.UserName
msgbox "Computer: " & sys.ComputerName
'------------------------
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to use parameterization in qtp?
how to evalute defects in QTP script?
We stored into the objects OR and then write the scripting
What is the expert view?
In what occasion we can specify global sheet and action sheet?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
Step 3&4 are repeated until an the object in recognised uniquely.
What is meant by Output Value in UFT?
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
What are the types of properties that quick test learns while recording?
how do i know how to use tools
How to find the name of the machine where you are running your automation scripts in qtp?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?