X=10,Y=20 you need to swap the numbers without using a
third variable?
Answer Posted / test
Dim a,b
a=10
b=20
a = a + b
b = a - b
a = a - b
Msgbox a
msgbox b
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Does QTP record on Objects created on XWindows Environment?
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
Explain qtp(quick test professional)?
How to handle Java tree in QTP?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
How many types of Automation frameworks are there in UFT? Describe them.
How to handle dynamic objects in quicktest professional?
What is checkpoint in qtp?
Which functionalities of QTP used in banking project? pls any say answer?
Explain process of smart Identification in QTP?
What are the check points can be inserted without recording?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
What are the Test design techniques you uses in ur project?
What is 'sleep' in sync point?