Plz explain about InTERNAl Environment variable, External
environment variable,builtin environment variables with
examples?
Answer Posted / amarendra kothuru
Biult in Environment variables - These variabvles are
created in QTP so that these variables have global scope in
any QTP script.
Internal Environment variables - These are user defined
environment variables and scope is applicable within the
script which they are created in it. You can't access these
variables in other scripts
External Environment variables - These are created in one
script and accessed in different scripts. Whenever you
associate these external variables seperately in you script
then only you can able to access it. You can associate
these variables in Test Settings.
| Is This Answer Correct ? | 8 Yes | 12 No |
Post New Answer View All Answers
Does quicktest professional is unicode compatible?
How to open a new test using quicktest professional?
With what extension you can save the list of tests in a file to run in test batch runner?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
wht type of User defined functions or Java Releated functions do we write in VB scripting
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
What are the methods used in UFT to handle exceptions or run-time errors?
Do you know how to connect database? Can you tell me the procedures?
any body can you help me what is the script to automate an comand promt
What is a checkpoint? How many check points are there in qtp?
what are the challenges you have faced while testing web based application using the automation tools ?
What is reusable action?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you