Answer Posted / kotike
we can make arguments optional by using "Optional" keyword
ex: fucntion fun_name(a,b,optional c)
end function
Regards,
mahi.kotike@gmail.com
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
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 is expert view and keyword view?
What is the default add-ins in qtp?
Should have experience in framework means?
How to use descriptive programming?
How to use output values in qtp ?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
How the exception handling can be done using quicktest professional (qtp)?
How to get the particular property value?
What is use of object spy?
Explain about the test fusion report of quicktest professional?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
What is the difference between the design-time and run-time data tables?
How to connect to a database?