Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How function returns a value?



How function returns a value? ..

Answer / sandeep

Simple

nearly at the end of function write statment

functionname = Value of variable you want to return.

If this is single value then only one value is returned.

If value of variable is an ARRAY then entire array is
returned.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

Count the number of radio buttons and randomly select one.

1 Answers   Deloitte,


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

0 Answers   TCS,


Can we add the objects of an application dynamically?

2 Answers   KEN Group, LD College,


What are the types of Object Repositories in QTP?

1 Answers   Ordain Solutions,


How to Creating an Output Value using QTP?

1 Answers  


how do we add a new sheet to data table in QTP?

7 Answers   TCS, Wipro,


does qtp need record and playback in realtime. plz tell exactly wat happens

3 Answers   HP,


I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

0 Answers   ADITI,


what about f2&f6 function keys

1 Answers  


wat are views in qtp explain

3 Answers   IGT,


What is quick test pro?

0 Answers  


How can i check items sorted or not in a weblist ? Give me the script for this...

0 Answers  


Categories