What is the difference between Call to Action and Copy

Action.?

Answers were Sorted based on User's Feedback



What is the difference between Call to Action and Copy Action.?..

Answer / sreeprasad

Call to Action : The changes made in Call to Action , will

be reflected in the orginal action( from where the script

is called).But where as in Copy Action , the changes made

in the script ,will not effect the original script(Action)

Is This Answer Correct ?    2 Yes 0 No

What is the difference between Call to Action and Copy Action.?..

Answer / venkat reddy

1)In case of Call to copy, code, datatable,OR are vailable
in update mode whereas call to action mode these are all
available in read-only mode.

2)if u want to use somebosys code wothout making any
modofications u can use call to action whereas u want to
change u can prefer call to copy

3)if anybody changes the source script in call to action it
is not affected to target script whereas in call to action
it will affect

4) Syntax
call to copy: Runaction "copy of action2",one iteration
call to action:Runaction "actionn[testn]",one iteration

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

can we call a test in another test?

3 Answers   iFocus,


Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya

3 Answers  


Is any limitation to xml checkpoints?

0 Answers  


How to Parameterize Object repository in QTP?

6 Answers   Cognizant, IIBM,


what is run-time object property in Object spy in QTP9?

3 Answers  






i have batch scripts in qtp and i want to update the status like pass/fail in excel sheet after excecuting the every script in batch.how to write the script for this?

1 Answers   IBM,


what is run action?

0 Answers  


what are the difference ways of parameterising?

1 Answers  


How to compare 2 excel files using QTP? How to compare 2 PDF files using QTP?

1 Answers  


can any body tell me all of the release dates of QTP?????..... thanks in adv!

3 Answers  


what time u r using data driven test in ur app"

6 Answers   Accenture, IBM,


how to write vbscript on web applications in qtp. explian with one example?

4 Answers   Wipro,


Categories