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 |
On what basis we select test cases to automate?
In where you are keeping or maintaining shared object repository (file)in your appliction?
how to evalute defects in QTP script?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
Can the mode of object repository be change during run time? Eg. if the mode is per-action during design time can i change it to shared and vice-versa? Any scripting possible?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
Explain in brief about the qtp automation object model (aom).
How to Parameterize Object repository in QTP?
How to recognise the webelement and verifying that webelement is enabled?
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
we have 5 default properties we want add more Default property in Object Repository how to add the property