ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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..??
 Question Submitted By :: Kumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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..??
Answer
# 1
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 ?    2 Yes 0 No
Pratap H S
 
  Re: 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..??
Answer
# 2
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 3 No
Nath T
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Is there a function to find the number of occurrences of sub strings within a string?  1
what is object spy TCS3
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? Livetek3
Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples? TCS1
What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example. Cap-Gemini2
How to parameterize in QTP?  3
how can i pass parameters into function? Livetek3
What is the function of Filter in QC . give with a real time example. TCS1
What are the Features & Benefits of Quick Test Pro (QTP)..?  4
Which is the best testing institute for QTP training in Hyderabad.  3
what is the purpose of QTP?  2
How to import the Test Results in QTP to an Excel sheet Sonata4
For Usability testing, which is preferable Automation or Manual?  5
suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query IBM1
In how many ways we can add check points to an application using QTP. Infogain2
Give me exact application where we should use low level recording? CTS5
suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?  4
Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?  2
Hi, Can anyone write the following qtp script...please its urgent ·Navigate to Google in a new IE instance ·Search for the following word "Gap, Inc." ·Iterate thought the first 10 pages of google ·On each page collect the following ·The "blue" page title ·The "green" url ·Output all the data into a file named "test_output.txt" ·Format "Title – URL"  1
Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in advance and Merry Christmas. IBM3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com