Forum Discussion
Can you provide screenshots of the full properties and methods lists as displayed in the object browser of one of these objects? That will help us to be able to give you better advice. Not everyone is familiar with every object, component, etc., that applications are developed in so more information is always better.
Hello Alex,
I am attaching the application screen shoot and object browser screenshot for your understanding.
Regards,
Nimish
- AlexKaras7 years agoChampion Level 3
Hi Nimish,
On a high level, TestComplete gets tested page structure according to the html markup. While visually it may look for you as one table, the actual markup may define a set of nested tables. To verify this, just check the outerHTML property of any Table element in the Object Browser.
So, unfortunately, the only option for you is to figure-out some algorithm as for how to get the logical table on the page and how to get logical cells of this table, implement it in test code and use in tests than.
- tristaanogre7 years agoEsteemed Contributor
We need to see the properties and methods of the desired object to help you best. Just seeing the tree of objects does not help much.
If I'm reading correctly, though, I see a set of nested tables. So, unfortunately, there's not an easy "out of the box" way to find what you're looking for. TestComplete reads the HTML of the web page and returns the hierarchy that is found there with spans, text nodes, tables, cells, rows, etc. What you'll need to do is write some sort of custom code to search the nested tables for the desired cell. Without more detail of the objects and their properties and, honestly, without access to the specific application, I can't give more detail. This is, in short, going to take some custom script code work on your part.
- nimishbhuta7 years agoFrequent Contributor
Hello Robert,
It is a big tree, let me know any specific object and properties you wish to look into...
Regards,
Nimish
- tristaanogre7 years agoEsteemed Contributor
The ones you're having trouble with as requested... you said you need help figuring out how to work with, navigate, interact with, etc., these particular components... in order for me (or anyone else for that matter) to help you with that, we need more detail about the components. Just the tree view as you indicates is insufficient... al that gives is hierarchy... it doesn't give properties, identification factors, any other methods that might be useful, etc.
Related Content
- 12 years ago
Recent Discussions
- 6 days ago
- 6 days ago