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 |
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
How can we write script for a .net application in QTP? Can we use VB Script for .net application.
Plz explain about MATCH/EXACT MATCH/IGNORE SPAGE in text check points?
In Descriptive programing if i use this below code will it work for login window or flight Res Window. Shud i add the properties like attached text=login and text=Agent Name in the object repository and define a new object first. Pls tell me the procedure in clear inorder to execute this script. Dialog("title:=Login").WinEdit("attached text:=Agent Name:").set"agent123" Dialog("title:=Login").WinEdit("attached text:=Password:").set"mercury" Dialog("attached text:=Login").winbutton("text:=OK").click
suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do
How can we retrieve the links from a web page where links are dynamically changing(for eg take a online shopping website) and then we have to click on all the links present in the webpage and go to the repective pages and again come back to the first page..
How many ways is to parameterize the value?
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.
If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened. What would be Descriptive programming for this in QTP using VB Script..??? Please send your answers.
What does SPLIT and JOIN commands do in Vbscript?
6 Answers Ordain Solutions, UBC,
hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri
How to get align property of the link on web page?