tell me the script for envirnment value parameeter with an
example. which situation envirnment valu parameter is used
Answers were Sorted based on User's Feedback
Answer / jay prakash
There are several builtin environment variables provided by
QTP. When ever you want to use one just use it like this:
strName = Environment.Value("UserName")
msgbox strName
For the list of env var you can see File -> Settings ->
Environment.
Please let me know if it helps.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / saravanaraja
The Following code is used to apply Environment value to
the text field:
Browser("Title:=.*").Page("Title:=.*").WebEdit("html
id:=").Set Environment("OS")
Is This Answer Correct ? | 2 Yes | 0 No |
Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...
please clarify the question ................. i know how to open the notepad file ? but i don't know how to enter the data into opened notepad ? Ex: set a=createobject("wscript.shell") a.run "Notepad.exe" please give the replay. my mail id is raju.ippali@gmial.com, 9823257761
Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538
Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
what is the difference between modular framework & datadriven framework
what is a good testcase?
IF I SET THE VIRTUAL OBJECT AFTER THAT MAXIMIZE THE APPLICATION THEN QTP SENT ERROR OR EXECUTE SUCCESSFULLY? WHY ?
how do you do database testing in qtp
What is the regular expression for Yahoo mail Inbox?
In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.
What are the advantages of qtp?