Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Environment Variable and when we apply this in QTP?

Answers were Sorted based on User's Feedback



What is Environment Variable and when we apply this in QTP?..

Answer / mercy

Environment Variable comes into picture when you try to
parameterize data. It is one of the data source. It
provides you some info which can be generated by the test
or the system you are using etc. Try selecting the
environment variable option...you get a list of values that
can be used like the iteration number, iteration name or
the system name etc.

Is This Answer Correct ?    4 Yes 0 No

What is Environment Variable and when we apply this in QTP?..

Answer / venu

Environment Variables are used during Parameterization.

For Example:
You have many set of scripts & every script makes a login.
To make a login we need Login credentials: Username &
Password. These 2 variables (Username & Password) can be
declared in a XML file & called in the each script as
environmental variables. Sometimes they are also known as
Global Variables, as these variables can be called in any
script.

Is This Answer Correct ?    4 Yes 1 No

What is Environment Variable and when we apply this in QTP?..

Answer / skyr

Based on the environment, data may be changed, to maintain our script execution on multiple environments, we have to use environment variables.
we can access E.variable values from all over the test pack.
When we parameterize data , we can use environment variables.

Is This Answer Correct ?    1 Yes 0 No

What is Environment Variable and when we apply this in QTP?..

Answer / chinna

Environment Variable we can use in any action at any test.
we have two types of environment variables. They are

1.Internal
2.External

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More QTP Interview Questions

Syntact for how to call one script from another? and Syntax to call one "Action" in another?

1 Answers  


What is chaild object method? When we will go for chaild object method? How to use chaild object method?

2 Answers  


Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman

1 Answers  


Tell me about qtp?

0 Answers  


what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....

1 Answers   HCL,


what is run action?

0 Answers  


what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".

3 Answers  


what is descriptive.create()in qtp?

4 Answers   IBM,


Which functionalities of QTP used in banking project?

0 Answers  


What VBScript operators, functions, and statements do you use in QuickTest Professional?

0 Answers  


Explain how you can find length of array in qtp?

0 Answers  


What does Reporter.Reortevent2 does?

2 Answers  


Categories