DHB
15 years agoOccasional Contributor
Element appears twice in tree
Hello,
I am trying to test a web application written with smartgwt. Due to the dynamic content of the page I am using the FindAll functionality and different properties to identify the required elements.
Now I have the problem that the result of the search is not unique. While analysing the two objects of the result, I found out, that they are exactly the same (property comparison), but having a different object path:
- Sys.Process('iexplore').Page('http://192.168.150.129:18000/html/index.html').Panel('isc_0').Panel('isc_N').Panel('isc_P').Panel('isc_Q').Panel('isc_1Y').Panel('isc_1Z').Panel('isc_25').Panel(0).Table('isc_25table').Cell(4, 0).Cell(0, 2).TextNode(0)
- Sys.Process('iexplore').Page('http://192.168.150.129:18000/html/index.html').Panel('isc_0').Panel('isc_N').Panel('isc_P').Panel('isc_Q').Panel('isc_1Y').Panel('isc_1Z').Panel('isc_25').Panel(0).Table('isc_25table').Cell(4, 0).Table(0).Cell(0, 2).TextNode(0)
Please notice that the first element path contains the combination Cell.Cell close to the end, without a table for the second Cell object present.
Now I want to know if this is a bug or feature ;)
Thanks,
Dirk