Hello Wisej!
Since we moved to Wisej 2.2.39 our auto tests started failing to find components in the Navigation Tree. When we compared the Navigation Tree elements in the older version 2.2.29 and in the current 2.2.39 – it appeared that they no longer have ID attribute (please find the screenshots attached). The ID attribute is the most reliable way to get elements, we would appreciate much if ID was available again
Thank you in advance
Hi Stepan,
Just wanted to know if everything is fine.
If not just let us know.
Best regards,
Alaa
BTW, this is the automation option to help with automated UI tests in Default.json:
“options”: {“automation.mode”: true},
In this mode Wisej generates immutable dom ids using the full path to the root. This way automated tests can pinpoint a target even when the id sequence changes. For example, for the tree node you’d get this:
id=”Page1_treeView1_TreeNode_1″
It’s the name of the main page + name of TreeView control + name of the treenode. It follows the hierarchy. It also adds the “owner”, “opener” and “container” attributes to the DOM element for detached targets like a context menu, popup menus, embedded controls. I.e. if a button1 opens a contextmenu, the menu’s element will have opener=”button1″.
HTH
Hi Stepan,
Thanks for letting us know! We’re able to reproduce the issue, it’s logged as #2591.
I’ll keep you updated on the status of the issue.
Best,
Levie
Please login first to submit.