hi, friends. how do you solve the problem that a web UI object has many hiberarchy? I mean a object has twenty or more parents, it is uncovinient to refer to it.
now I have a project, the UI layout is a big mess, there is multiple tables and columns which are useless. in order to refer to a object, I have to write like this:
QueryBrownChild.menu1.menu2.menu2.menu2.menu2.menu 2.MultiBrownChild.queryTable.queryText.queryTable. queryCol.queryTable and so on.
in Extension settings for you browser try to lower Borderless Table value (but I think that won't help)).
or you can replace you tree by something like that (example taken from my script)
[-] HtmlColumn colTags
[ ] tag "[HtmlTable]#1/[HtmlColumn]#2/[HtmlTable]#2/[HtmlColumn]#1/[HtmlTable]#1/#1"
Good defeats evil. Veeery evil.
Use new silktest feature: dynamic object recognition by using open agent. With this, you no need to bather about parent properties,consider only required child property to work on it.
Solution1: Use Open Agent if you know it.
Solution2 - A: If your AUT is stand alone application, then try to ignore the classes which is used as just containers.
Solution2 - B: If AUT is web based, then check your showborderless table options and showOverflow option.
Solution3: Use Vladimir_Vlasov's answer.
Thanks & Regards,
Quote: Donít hesitate to initiate!
Thank you very much
it works after I low Borderless Table value