what is the difference between action and function

Answer Posted / raj

Hi guys,
Here is the best differences........
1)We can use actions within QTP where as we can use
functions anywhere(i.e.outside QTP also)

2)We can call functions within actions but we can't call
actions within functions

3)Generally functions are saved with ".vbs" extention where
as actions will save with ".mts".

If you have any doubt Still you can shout at my mail

Regards,
Rajasekhar

Is This Answer Correct ?    24 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the technics follow in writing VB script?

1526


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

1598


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2267


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1371


Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

1861






How will you compare keyword and expert view?

522


what type of run time errors you get while you ar edoing rpg program?

1506


How you create new action in qtp?

560


What is difference between run time object and test object?

551


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

1786


If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?

4690


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1719


For which type of project the iterative model is suitable?

1374


Is it possible to switch between recording modes during a test creation?

588


what you mean by artifact,milestone...

1492