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
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
Please have a look at this: a = Browser("Travel Boutique Online").Page("Travel Boutique Online_2").webelement("innerhtml:=2622").getroproperty("y") a=a+9 msgbox a Browser("Travel Boutique Online").Page("Travel Boutique Online_2").image("alt:=check","y:=a").click Now please let me explain. As clear from code I am trying to enter value of variable 'a' as Property y. But each time QTP AND MY SYSTEM stops responding when this line is execcuted. But When i enter some number in place of 'a' in the last line. it works fine. Please let me know what I am doing wrong at time of entering the variable in last line. Thanks a lot
how to invoke the web application through script in qtp
pls tell me different type of automation frame works in QTP and which one need to select in client server application
How to capture checkbox properties when properties of the object keep changing on relogin to the application.
w is configaration management
How can i use Output Check points in QTP
if my application shows 100 records and in my database having 200 records how i can validate using QTP tool?plz exp. in detail?
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH
can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.
How do you create a library file
What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example