what is descriptive programming in QTP? How can be done?
Answer Posted / pavan
Descriptive Programming is the way of instructing QTP to
identify the objects without object repository.
It can be done as follows:
Example 1: Browser("title:= < title of the browser> ").Page
("title:= < title of the page> ").frame("name:= <name of
the frame>")....
Example 2: vbwindow("title: <title>").vbedit("attached
text:=username").set "name"
etc....
Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
How to test login module with different username and password by using data driven testing in QTP?
What are the types of data tables in qtp?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
What are the advantages of parameterization ?
Without using gui map editor we can recognize the application in winrunner ?
How to capture a window in QTP?
If you are testing a web application then what will you test in that application?
how to create flat file datasubmission 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 to import a test case present in ".xls" file to TD under a Test set?
How to create Reusable and Multiple Actions?
What is quicktest professional window?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
What are the different properties of an web object
Both static and dynamic arrays are handled by the vb script. Is it true?