What is the difference between Action and Function.? when
both has the same functionaltiy, when do we choose Action
and when do we choose Function..??

Answers were Sorted based on User's Feedback



What is the difference between Action and Function.? when both has the same functionaltiy, when do..

Answer / pratap h s

Actions are more specific to tool Example QTP

Functions are generic and part of programing language.

Actions in QTP are used to divide the test into different
logical units .

Within actions we can write functions .

but witin functions we cant use actions

we call functions in actions .

Is This Answer Correct ?    6 Yes 0 No

What is the difference between Action and Function.? when both has the same functionaltiy, when do..

Answer / bfakruddin

Hi Folks,

Here I am giving an efficient data about Actions and
Functions... and when we use specifically...

click here

http://qtptesters.blogspot.com/2009/03/actions-vs-functions.html

Is This Answer Correct ?    0 Yes 0 No

What is the difference between Action and Function.? when both has the same functionaltiy, when do..

Answer / nath t

Major Differences:

Functions: Function returns only one value. it doesn't has
Object repository.

Actions: Actions has Object repository. It returns more
than one value (i.e Output parameters). We can declare
more than one Output parameter.

we can call Function in any Actions in QTP test. But Action
is not like that we have to mention that as reusable action
in Action Properties.

we can store Functions in .VBS file. but Action we cann't
store like this way.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More QTP Interview Questions

descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

0 Answers   DigiTech,


Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically

0 Answers  


In qtp, explain what is keyword driven automation framework?

0 Answers  


When we use Object Spy? can we write QTP script before built is came in testing?

3 Answers   Impulse,


please any one can explain the keyword driven framework. with gmail example.

0 Answers  






i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks

2 Answers  


explain keyword driven framework?

2 Answers   Mindlance,


ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS

0 Answers  


How do we call Library Files(.vbs) in the Test Script Thanks in Advance...

6 Answers  


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

0 Answers  


Explain how you can delete excel file in qtp?

0 Answers  


Explain about the test fusion report of quicktest professional (qtp)?

0 Answers  


Categories