how to identify the objects if application consists of objects
that have same properties.
Answers were Sorted based on User's Feedback
Answer / nitin sharma
suppose your object name is "obj"
then write this script
set "obj"=Description.Create()
obj("property").value=Class of object
set a=browser("browser").page("page").childobject(objectname)
msgbox a.count
For i=0 to a-1
DataTable.SetCurrentRow(i+1)
DataTable("URL",dtGlobalSheet)=a(i).getroproperty("url")
Next
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / pravati
Through index property we can identify the object
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rjkumarmacha@gmail.com
if object properties dynamically changed, we can go for
descripetive prg.
in d.p we can't find object so that take additional
properties of object
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / khushi
U can identify the object of similar property name and property value through its x and y pixeles available under object identification or go for dynamic descriptive programming
Is This Answer Correct ? | 0 Yes | 3 No |
Hi all , I have installed the QTP 11.0 Whenever I am opening QTP that time if any open Internet Explorer I was getting message (Internet Explorer has encountered a problem and needs to close. we are sorry for inconvenience caused) and same way new browser also not opening. If you have any idea please let me know.
Hi, Can anyone tell me what type questions can be ashed in interview on QTP?
I want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.
how to add run-time parameter to a datasheet?
1 Answers Mphasis, Ordain Solutions,
Where is the Bitmap checkpoint information stored?
1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.
what is meant by automation tool?
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks
Friends please let me know how id following possible in QTP: Can I apply conditional loop on a bitmap/image or any other checkpoint. Like if checkpoint passes then if or Else
How many types of recording modes in qtp? Which will be used when?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?