I am wondering weather it is possible to reach tree elements in a Java RCP-Client which display a file system by using googles windowtester pro.
The tree (swt widget) shows my local file system (C:\Users...) much like the windows explorer (or TotalCommander, etc...).
Now I want to click the element
C:\Users\me\Folder\file1.txt
After recording, windowtester tells me to do the folliwing:
ui.click(new TreeItemLocator( "C:\/Users/me/Folder/file1.txt", new ViewLocator( de.zeb.control.fw.vfs.pl.rcp.client.views.FileBrowserView" ));
But executing this code I get the error:
No tree items found for 'C:/Users' - wait then try again."
I also tried:
"C:/Users/me/Folder/file1.txt"
"\C:\/Users/me/Folder/file1.txt"
"C:\\/Users\/me\/Folder\/file1.txt"
And various combinations, none of which seem to work.
Does anyone have an idea here?
Regards!