how to write script in qtp(vbscript)..i mean with out
application deployed..and how to call script1 into script2?
Answer Posted / shafi
hi
Using Descriptive Programming automation scripts can be
created in QTP even if the application has not been
developed.
Whenever QTP records any action on any object of an
application, it adds some description on how to recognize
that object to a repository of objects called object
repository. QTP cannot take action on an object until
unless its object description is in the Object Repository.
But descriptive programming provides a way to perform
action on objects which are not in Object repository
There are two ways in which descriptive programming can be
used
1. By creating properties collection object for the
description.
2. By giving the description in form of the string
arguments.
Is This Answer Correct ? | 45 Yes | 4 No |
Post New Answer View All Answers
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
What are the 3 main stages involved in testing with qtp?
What is the syntax to call one action in another?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
What is the architecture of your project? Can any one answer for this question plz........
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
What are the methods used in UFT to handle exceptions or run-time errors?
What are the steps involved in recovery scenario wizard?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
What do you mean by checkpoints in qtp?
Explain how to use QTP to check broken links on a page?
Why bpt?
what is the difference between built-i function and In-built function?