what is diffrense between action and function
Answers were Sorted based on User's Feedback
Answer / kiran
1. Action is associated to object repository where as
function is not assocoiated to any repository and contains
only vb statements
2. Action can return multupla values where as function can
return single value
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / mahaboob
Action is a qtp tool feature,we can use checkpoints in actions,As it is a qtp tool feature it may corrupt and Actions are slow execution.
Function is a vbscript feature,we canot use checkpoints in functios insted of functions we can use Loops and conditional statements,functions are fast execution compate with actions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / giridhar
1 Action is the Local source.its may hav small script
in action we can use only recorded identifiers.
2 Function is the Outer source.its may hav more script
| Is This Answer Correct ? | 0 Yes | 2 No |
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
How to use output values in qtp ?
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
What is keyword view and Expert view in QTP?
How to Test the mainframe application?(tell me few basic things)
By default Action1 runs first in QTP. Is it possible to start the run with Action2?
What are the most frequent errors you faced while executing your scripts?
I have a Webedit object. some text is entered in that object I want to know the font sixe of that text.How could I do this using QTP? This is a requirement for me. I am happy if any one help on this
Explain in brief about the QTP Automation Object Model.
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
How to Import data from a ".xls" file to Data table during Runtime.
how many types of actions r there? what r they? explain? pls give any one answer?