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 |
what function you write to do database testing with the help of qtp?
if we made any changes in shared object repository how it reflects of others like our team members?
what is the difference between link and hyperlink?
what are the cases in which we use XML and accessibility check points.
What are the views available in quicktest professional?
how can we retrieve ten rows from the data table using loop concept?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
In how many ways we can add check points to an application using QTP.
What is parameterization? What is syncronization pt.?
3 Answers Semantic Space, SRM,
If I want to run more than one test (With different functionality) with in one script, then what i do? plz. explain with any example.
Why do we use text checkpoint as we can make use of the same in the standard check point?
how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script