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 |
any one can send me the concepts of qtp
How you can replace string in qtp?
How do you configure QTP AND Test director?
Recovery Manager means..?
In this bellow script QTP is not able to getting no. of Links from my Browser. Set desc=description.create desc("micclass").value="Link" Set obj=Browser("creationtime:=0").page("title:=.*").childobjects(desc) msgbox obj.count I am getting "General Run Error".Why QTP is not supporting my Browser,but its running fine in other system.Please help me to overcome this problem.
What is the concept of firewalls?
What is the difference between functions and actions in QTP?
write progamming connecting QTP to database sql? this is question asked by interview? pls any answer this?
What type of problems one will face with QTP , if too many browsers are opened at a time?
What is the purpose of loading qtp add-ins?
How to execute a WinRunner Script in QTP?
Hi Guys, I tried to install java add-in for QTP 9.5 after the whole installation but it didn't install but then i also found in documentation saying that winrunner7.6 patch for java plugin would work fine with QTP. But when i tried to install from winrunner7.6 it asks me for the path of winrunner So my question is are we supposed to install winrunner for java add in to work on QTP. Please suggest me