what is option explicit?
Answers were Sorted based on User's Feedback
option explicit force you to declare a variable to avoid any mistakes in the script
normally when u misspell something in script it takes as a new variable
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / madivalappa patil
option explicit force you to declare a variable to avoid
any mistakes in the script
normally when u try to use a variable which is not declared
in script then it will through an error saying that
variable not declared.
If you used Option Explicit on Top of your script then you
must declare all the veriables.
Is This Answer Correct ? | 3 Yes | 0 No |
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 CMMP and CMMH?
what are the main differences between keyword driven frame work and data driven frame work?
what is smart identification?
How do we create and run the scripts with out using O.R. ?
Explain about the quicktest professional (qtp) automation object model?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
How to check which add-ins are associated with a test in qtp?
Tell me the situations where we will use Data Driven?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
Why a framework is needed?? Plaese post your answers ASAP
How will you handle the situation when object is not captured during record?