Localization Independent Automation of a TreeView
Posted: Wed May 27, 2009 10:33 am
Hi,
we are creating automated tests targetting a windows forms-application which uses only standard Winforms-Controls of VS2008.
But it will be localized in various languages. Our problem is now to create tests that will be running on different language versions.
To target Controls like e.g. Buttons and textboxes, we can use their Controlname, which is fine.
But: Treeview-Nodes are no controls in VS2008, so they have no Controlname at all.
Ranorex TreeItem-Adapter addresses the nodes directly using the displayed Text - which is no option in our case because it is altered in different languages.
Is there a way to overcome our problem, eventually by effecting and misusing something like the AccessibleDescription (a problem is: we can not change Treenode-AccessibleValues in VS2008)?
best Regards
Hannes Mühlenberg
we are creating automated tests targetting a windows forms-application which uses only standard Winforms-Controls of VS2008.
But it will be localized in various languages. Our problem is now to create tests that will be running on different language versions.
To target Controls like e.g. Buttons and textboxes, we can use their Controlname, which is fine.
But: Treeview-Nodes are no controls in VS2008, so they have no Controlname at all.
Ranorex TreeItem-Adapter addresses the nodes directly using the displayed Text - which is no option in our case because it is altered in different languages.
Is there a way to overcome our problem, eventually by effecting and misusing something like the AccessibleDescription (a problem is: we can not change Treenode-AccessibleValues in VS2008)?
best Regards
Hannes Mühlenberg