Answer Posted / 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 |
Post New Answer View All Answers
banking domain description for software tester for interview
What ate the Technologies supported by QTP?
can i compare two databases using QTP ?
Why script error occur in between recording in qtp?
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
How can you handle exceptions in qtp?
what is the difference between development and testing
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
Explain calling sub procedure.
What is the significance of “action 0” in qtp?
Differences between text and test area checkpoints?
In qtp, how you can remove the spaces from string?
What are the technologies supported by qtp?
What are metrics and matrix?