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
How many types of run modes are there in qtp?
How to get popup error message.
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
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?
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
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
What is difference between run time object and test object?
How do you check ticket cost and ticket number in flight application?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
In qtp, how you can get the last character from a string?
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?
How to break the object spy ?
Explain the parameter in qtp?
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.
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))