WHAT IS ENVIRONMENT VARIABLES?

Answer Posted / zubair

Environment variables in QTP are similar to global variables
which can be accessed through any part of the script.These
variables can prove to be very useful when we want a
variable to be shared across various reusable actions and
functions.

Two Types of Environment variable:

1. Built in variables

2. User Defined variables
♦ Internal
♦ External

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to prepared for first for the first interview?

1784


How many types of Automation frameworks are there in UFT? Describe them.

548


What is the difference in the global and action sheet in qtp?

560


your coming from electrical backgroung..but y ur coming to software side?

1374


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.

2455






What do you to script when objects are removed from application?

603


Explain the difference between check point and output value?

481


explain how to write vb script in qtp?when will you write own script?

1844


Tell some commonly used Excel VBA functions?

587


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

1752


How to export quicktest professional (qtp) results to an .xls file?

587


Define object spy ?

553


How many tabs are available in debug viewer pane?

634


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1555


What is reusable action?

587