WHAT IS ENVIRONMENT VARIABLES?

Answer Posted / babu

Hi,
File->Setting->Environment
Selected User defined functions and added the variables "a"
with value 10 and "b" with value 10.
click on apply
open new test.
Dim c
c = a+b
msgbox c
I am not getting the result as 20.

Whether the scenario what i executed is wrong.
If yes, please elaborate how&what is the use of environment
variables.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of run modes are there in qtp?

677


How to get popup error message.

1114


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1650


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1467


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1775






Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1486


What is difference between run time object and test object?

644


How do you check ticket cost and ticket number in flight application?

676


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1632


In qtp, how you can get the last character from a string?

640


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1748


How to break the object spy ?

748


Explain the parameter in qtp?

670


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

1679


How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))

1765