what is the difference between call to copy action and call
to an existing action
Answers were Sorted based on User's Feedback
Answer / minni
When u insert a call to copy of action, the original
action is copied in the test. This copied action will be
nonreusable,independent action.What ever changes u make to
this it will be independent of original action. To make it
clear i l give u an example like if u take a xerox copy of
a sheet, the changes u make to xerox will not effect the
orginal sheet. Same is this also.
Call to existing is like a link to the original.
The called action will be readonly in the test . If u want
to make anychanges u have to make to the orginal only that
will be reflected in the called action.
Here if u want to call the action it shuld be defined as
reusable but for call to copy of action it need not be
reusable.
hope u understood..
| Is This Answer Correct ? | 29 Yes | 1 No |
By using copy of Action we can call any Action whether it is
a reusable or non-reusable. and we can edit this called
action based on situation. but this modification will not
effect to original Action.
by Using call Existing Action we can Reusable Actions only.
This called reusable actions are known as External Actions.
This External Actions are readonly, we can not do any
modifications to script.
If any Queries...
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / ram
Call to copy :
1.Read and write
2.copy the original action
3.There is memory loss
4.Modifications not reflect original copy
5.we can call any Action whether it is
a reusable or non-reusable
Call to existing:
1.Only write mode
2.Modifications in original action reflecting in called action.
3.There is no memory loss
4.we can reusable actions only.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / pandu
Hi Nanda,What u send id ok but i hope it is not possible to
call a non-reusable action.
non-reusable: is one which u can all in that test and only
once
| Is This Answer Correct ? | 2 Yes | 1 No |
What is the difference between QTP 8.2 and QTP 9.2
what is the structure for the data driven framework
Hi All, I want to know how can we schedule QTP scripts. Am using 9.5 version and in our office they want to schedule individual scripts of QTP so that it can run unattended during night time, Please help me how to do that. 2. what is the use of silent test run in qtp can I schedule the scripts in Silent runner, Please explain. 3.I retrieved data from the database using output value -> Database output value. the result of the query for eg is 5 rows, iam able to output the first row by selecting the cols and adding it to output, but am not able to do it for the rest of the rows. please tell me how to do it. Sorry for posting so many qns, am not able to find answ to any of the above in any websites, hoping that someone would really help me with these here, please help me. awaiting for ur immediate revert. Priya
What is the pros and cons between QTP and Rational Robot
How to take screenshots in qtp?
how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"
Can you list some technologies that support qtp?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
What is the difference in between function and sub as well as give some code of both
Diff b/w test scenario's and test Procedures?
what the diffference between test data and test cases what is meant by object hierarchy in qtp