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 |
What is the logic for reading(exporting)the data from flat files to QTP?Can anyone explain me with an example? I appreciate it!!! Thanks!!! Prasanna
How many types of actions are there in quicktest professional?
What is the difference between driver-script and AOM-script?
how to get font size of a "WebEdit"
hw to create a frame work in qtp..what are the basic steps
i this is balaji from chennai i have 4 yrs exp in testing and my qualification is bsc computers i completed in correspondace in which companiies accept the correspondace plz let me know
Have you used TD?
what you mean by artifact,milestone...
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
what are pretesting activities
Write code for ,We have a web table with rows and columns like EmpID EName Action 1 ABC Edit Delete 2 XYZ Edit Delete 3 PQR Edit Delete In the above Table the last column has two links we have to click first link based up on EmpID =2