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 |
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.
We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
what is the Command used to start the QTp from Run.(start-> Run)
i have to prepare qtp certification course. so, please send me qtp tutorial notes.
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
How many types of run modes are there in qtp?
How many types of recording modes in qtp?
What are private functions in QTP? How they can be called from the function library?
What are the advantages of Object Repository?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.