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 |
DEFECT LIFE CYCLE,WHO PUT THE STATUS AS OPEN
what is meant by automation tool?
How do you do batch testing in QTP, if so explain?
What is the Difference between current version of QTP and QTP 8.2. Pls kidly Anybody let me know. Thanks in advance.
What is synchronization? What are the ways you can synchronize?
What is qtpro? What is quick test pro?
VM1 = "Invalid username or password. Please try again. " VM2 = "Email id is required.Password is required. " VM3 = "Email id is an invalid e-mail address.Password is required. " VM4 = "Password is required. " VM5 = "Email id is required. " VM6 = "Email id is an invalid e-mail address. " 'Rowcount of the Local sheet Rowcount = DataTable.GetSheet("Invalid login transactions").GetRowCount 'Valid emailid and Password Emailid = "test@iteamic.com" Password = "Password0" 'For i = 1 to Rowcount 'Parameterised Email_id Browser("Browser").Page ("Page").WebEdit("emailAddress").Set DataTable("Email_id", dtLocalSheet) EID = Browser("Browser").Page ("Page").WebEdit("emailAddress").GetRoProperty("value") 'Parameterised Password Browser("Browser").Page ("Page").WebEdit("password").Set DataTable("Password", dtLocalSheet) PWD = Browser("Browser").Page ("Page").WebEdit("password").GetROProperty("Value") If EID = Emailid And PWD = Password Then Reporter.ReportEvent micPass, "EID & PWD check", "Email id and Password is correct, One iteration of Invalid login attempts is not being executed" Else Browser("Browser").Page("Page").WebButton ("Sign-In").Click 'Output value exported to the local sheet Browser("Browser").Page ("Page_2").Output CheckPoint("Home page_Sign in") 'Storing the output value in a variable(OUTPUT OUTPUT = Datatable.GetSheet ("Invalid login transactions").Getparameter ("Validation_message_signin").value 'comparing the Variable Output and the Validation message for a given input If OUTPUT = VM1 Then Reporter.ReportEvent micPass, "VM1", "Invalid username or password. Please try again. " else if OUTPUT = VM2 Then Reporter.ReportEvent micPass, "VM2", "Email id is required.Password is required. " else if OUTPUT = VM3 Then Reporter.ReportEvent micPass, "VM3", "Email id is an invalid e-mail address.Password is required. " else if OUTPUT = VM4 Then Reporter.ReportEvent micPass, "VM4", "Password is required. " else if OUTPUT = VM5 Then Reporter.ReportEvent micPass, "VM5", "Email id is required. " else if OUTPUT = VM6 Then Reporter.ReportEvent micPass, "VM6", "Email id is an invalid e-mail address. " else Reporter.ReportEvent micFail, "EID & PWD check_FAIL", "Validation message checkpoint failed. The captured v msg is not required" End if End if I am getting syntax error saying "Expected 'End If'" at the last line, Why is this? Kindly explain...
How do we count the no of mails in Yahoo Inbox for a specified week?
Hoe can we do retesting using functions please give the code for it using login page
How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?
Can we record using all the modes in a single script? Explanation with example is appreciated
i've installed qtp9.2 on Windows 7. Recording and everything no problem. But when i am saving the test, it is not happening. it says 'general error while saving'. But teh test is getting saved but as a folder with lock icon. When i wanted to open it, it is jst showing as a locked folder but not as a test. Somebody help me out plz