deepti_1
15 years agoNew Contributor
Object Spy identifying component name in different way
Hi,
I am testing a webpage devolped in richfaces Using Testcomplete 8 in Internet Explorer 7.
When i use the objext spy to determine the name of a control on the web page it gives the name in 2 different forms at different times .
Sometimes the name of a button is shown as
Sys.Process("iexplore").Page("http://projecturl.jsf").Table(0).Cell(1, 0).Table(0).Cell(0, 1).Form("commandPanelForm").Table("commandPanelForm_outerPanelGridCenterPanel").Cell(3, 0).Button("commandPanelForm_j_id275")
and sometimes as
I am testing a webpage devolped in richfaces Using Testcomplete 8 in Internet Explorer 7.
When i use the objext spy to determine the name of a control on the web page it gives the name in 2 different forms at different times .
Sometimes the name of a button is shown as
Sys.Process("iexplore").Page("http://projecturl.jsf").Table(0).Cell(1, 0).Table(0).Cell(0, 1).Form("commandPanelForm").Table("commandPanelForm_outerPanelGridCenterPanel").Cell(3, 0).Button("commandPanelForm_j_id275")
and sometimes as
Sys.Process("iexplore").IEFrame(0).Tab("Testing Page - Windows Internet Explorer").Window("Shell DocObject View", "", 1).Pane("Testing Page").Table(0).Cell(1).Table(0).Cell(1).Table(0).Cell(3).Button("Cancel").
I hav tried changing the Tree model to both Tree and Hybrid (in both the current and default project properties) and the Identification Attribute is set to ID.The object Tree model is set to Tree.But still it shows the same behaviour.
Is there any specific settings which i need to do in order to get the object browser giving the name of the component on screen in a fixed way??
Thanks
Deepti.