What is diffrence between Global variables and Environment
variables...Anybody can give me answer..Thanks in advance..
Answers were Sorted based on User's Feedback
Answer / satish j
Global Variable is as the name says a global variable,its a
variable that can be accessed and used globally across any
test run by QTP.
Environment variable also function more or less in the
similar fashion but is typically used for parametrization
across scripts,passing otuput parameter value from one
action as input parameter to another action.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / saha
the environment varibles are two types system defined and
user defined
system defined are qtp displays by default in environment tab
where
user defined is two types
Local:we r creating these are in environment tab only for
that test we cant use it to other test
Global: creating in notepad and saving with extension.ini
what are the environments you need like user name, password,
server name, database these are we can use in any test
Is This Answer Correct ? | 4 Yes | 4 No |
Answer / mns
Its one and the same thing. In other scripting languages,
we call global variables and in QTP, its called environment
variables.
Is This Answer Correct ? | 1 Yes | 3 No |
How to make arguments optional in a function?
Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.
we have 10 automation scripts. how to call them from one main script.
How to open a new test using quicktest professional (qtp)?
Explain how you can replace string in qtp?
What is a data driven test in qtp?
If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened. What would be Descriptive programming for this in QTP using VB Script..??? Please send your answers.
Hi all, can anyone tell me the challenges u faced while using qtp?
Diff B/w Webserver and Client Server
How can you capture(Read) the values from a Table?
How to see entire results at the same timeafter the batch run.. Cannot see the entire results at a time. Is there a easier way view everthing at same,as our batch file very large
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click