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 |
Count the number of radio buttons and randomly select one.
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
Can we add the objects of an application dynamically?
2 Answers KEN Group, LD College,
What are the types of Object Repositories in QTP?
How to Creating an Output Value using QTP?
how do we add a new sheet to data table in QTP?
does qtp need record and playback in realtime. plz tell exactly wat happens
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
what about f2&f6 function keys
wat are views in qtp explain
What is quick test pro?
How can i check items sorted or not in a weblist ? Give me the script for this...