What is the exact difference bet function and action in QTP
Anybody can explain it in detail..Thanks in advance..

Answer Posted / pratap

Action will have object Repositery associated with it
Function will not have .
Function has only one return value
Action can have many return values
A function can be external declared and called from
liberary files.
Action cant.

any Query contact : prataphs@gmail.com

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

2528


How you will rate urself in QTP in the range of 0 to 5

1748


What is the default object synchronization timeout in qtp?

647


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1709


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2755






What are the types of properties that quick test learns while recording?

538


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1677


What is a recovery scenario?

571


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1404


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

1540


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1839


What is active screen?

564


Whether qtp 9.0 supports Test director8.0

2120


What is test object?

702


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

1516