Answer Posted / lokesh kanithi
Yes,By using descriptive Programming.by defining each
object properties...
But it is not suggested all the times.Instead we have the
facility like object Repo.also QT identfies the objects
using recorded Description & smart identification.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
is it possible to add sheets to excel at runtime
what is the diff b/w assistive and mandatary rules of object repository in QTP???
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
How to remove the associated function library?
How to run a test using quicktest professional?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
How will you report the bug and explain the defect tracking sheet you handled?
Can you list some technologies that support qtp?
What is the syntax to call one action in another?
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 i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
Have you done batch testing in qtp? If yes how you are doing?
Explain the check points in quicktest professional (qtp)?
How to call a test from another test?