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
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.
what are the mandatory properties for a tex boxc (scenario?)
Explain different checkpoints in qtp.
What is output value? How many types of output values are there in qtp?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
Explain the difference between check point and output value?
Can we Test Welcome Screens and Process Images with QTP
Where can I find and view run-time data table?
What are the five challenges you faced in QTP?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
If I give some thousand tests to execute in two days what do you do?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
What is data driver in qtp?
In qtp, how you can exit for loop?
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.