- Code: Select all
IWidgetLocator ref = ui.find(new TreeItemLocator(".+EXAM-.+));
String examTitle = ((TreeItemReference) ref).getText());
System.out.println(examTitle);
Any guidance would be appreciated.
Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund
IWidgetLocator ref = ui.find(new TreeItemLocator(".+EXAM-.+));
String examTitle = ((TreeItemReference) ref).getText());
System.out.println(examTitle);
Users browsing this forum: No registered users and 1 guest