hi
what is the use of "dim" in automation objective model or
any where what is the use of "dim" plz tell me
Answer Posted / amarendra kothuru
Dim keyword is used to declare a variable in VB Script. QTP
uses VB Script so that we use dim to declare a variable in
QTP.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is a data driven test in qtp?
Explain qtp(quick test professional)?
How is a Step generator used in UFT?
Can we create user defined functions in qtp?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
How to customize checkpoints with parameters?
Explain the types of object repository?
How do you delete unwanted results in qtp?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
What are the general steps involved in the data driven framework?
what is supply chain management?
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
Explain features of the latest version of qtp/ uft 12.1?
If I change the object name in one action will it be updated in all the actions? Or not?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how