how to identify the objects if application consists of objects
that have same properties.
Answer Posted / 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 |
Post New Answer View All Answers
Hai anyone please "Explain about Framework in QTP?"
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
Explain xml checkpoints.
how to do the batch testing in test director using manual testing procedure?
What is the use of an object spy tool in qtp?
what type of run time errors you get while you ar edoing rpg program?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
What is the qtp testing process?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
What is an expert view and keyword view?
There is an excel file of 1 to 100 sheets how you will iterate through it?
How will you compare keyword and expert view?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
unique properties of button,edit box, radio button,check box?
What is the difference between call to existing action and copy of an action?