You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
TreeItemLocator can't deal with multiple items that have the same name. Same
for TreeCellLocator which depends on TreeItemLocator.
ui.click(new
TreeItemLocator("GSServerApplication/Assembly/Resources/MSFTranslators/MSFTransl
ator/JVMParameter",2,new SWTWidgetLocator(Tree.class, new
SWTWidgetLocator(CTabFolder.class))));
Steps to reproduce-
If the Tree Contains the Tree Items with the same name, Tree Items Locator is
not able to Identify them.
For Example i want to click on the 2nd JVMParameter value
<JVMParameter>-client</JVMParameter>
<JVMParameter>-d64</JVMParameter>
<JVMParameter>-Xmx192m</JVMParameter>
Exception:
com.windowtester.runtime.MultipleWidgetsFoundException: Multiple tree items
found for 'JVMParameter' in
name
JVMParameter
JVMParameter
JVMParameter
at com.windowtester.runtime.swt.internal.drivers.TreeDriver.getNextTreeItem(TreeDriver.java:143)
What is the expected output? What do you see instead?
TreeItemLocator should be able to locate the Items by Index.
What version of the product are you using? On what operating system?
Windows 7, Eclipse Helios, 3.5
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 22 Feb 2013 at 4:47
Original issue reported on code.google.com by
[email protected]
on 22 Feb 2013 at 4:47Attachments:
The text was updated successfully, but these errors were encountered: