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)
No Answer is Posted For this Question
Be the First to Post Answer
1>How to get the browser name by writing the VBScript. 2>How did you used the GetROProperty and GetTOproperty .give real time scenario. 2>Give and real time ex for the bug having "High Severity and low priority"on banking doamin web based application.
If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Repository and for the 2nd time it is showing like 7 Objects in the Object Repository why it is happening
How can we display the names of the buttons in the toolbar of a webpage
I want to open a text file and then search some specified text in it and then replace that text with some other text i found that text in .txt but do not know how to replace that text can any body help me. if possible put the code for qtp
what are the limitations of smart identification in qtp 9.0
how to retrieve the value from data table to the script and using the value to be displayed in message box. an also retrieve the value of the output value during runtime to the script or separating and using that value in the script.
How do you delete unwanted results in qtp?
what is the Vbscript to connect Database
What kind of errors can b handled in QTP in real time scenario?
We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario
In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet