By default, if u create a Test in QTP, means u r creating
one action for that test. So if u call for another test
means u need to call the action on that test.
Here is the example : Say u have created "test1". So all
the steops for the test is created with "Action1".
Now u have created another test "test2" and want to call
the test1. Here u need to call by using,
RunAction "Action1[test1]",oneIteration.
By using this u can call the test1 script. There is no
other way than this.
We cannot call an other script in an other script. This
could be done provided the script is shared as an shared
library file.
Reusable actions can be used but it takes a long time for
executing the script
I support Uday Kumar.
What we have to do is in insert call to action options we
have to select call to existing action. fro example if we
want to call 1st action from 2nd action, we have to give
from test as 1. here we need to give relative path.
as we are calling 1st from 2nd, first of all 1st test should
be executed. so, at 1st line we have to insert from current
option.
remaining part is easy
any corrections please...
In automation testing, while doing descriptive programing;
how will u get the properties of the objects in what
format, what type of a document, and by whom? Pls explain
in detail. Thanks a lot
how to get childobject from .net application. i tried but
its showing child object count zero. but window has child
objects.the following script i written... pls help me how to
get.
set parent=SwfWindow("winodw name")
CheckObjectDescription parent, SwfButton
Public Function CheckObjectDescription(parent, oDesc)
Set oDesc = Description.Create()
oDesc("micClass:").Value ="Swfbutton"
Set children = parent.ChildObjects(oDesc)
cntObj=children.count
msgbox(cntObj)
End function
can some one help me how to compare the values from one
sheet to values in another sheet?
suposse i have a feild called Temp in action1 and i also
have temp in action2. i want to compare the values of those
two actions sheets data table? how can i do it using
descriptive programming?
Hi All
I am installing QTP 8.0/8.2 in my office desktop (WIN XP)
but it is not working. Inspite Installion is succesfully
done but when i open qtp from programs it opens only first
screen of add-in and after that it disappears.
But in my other computer at home (winxp) it is working fine.
Can you please give the reason, why it is not working in
office desktop.
DEEPAK SINGH
When there is descriptive programming, why do we go for
Object repository for desigining scripts.?? why cant we use
descriptive programming instead of using the Object
repository..??