Hi,
I would like to test a string in a field.
For example, I have this code in my script to click in the field and get it in focus:
ui.click(new XYLocator(new LabeledTextLocator("Process Name:", new ViewLocator("org.eclipse.ui.views.PropertySheet")), 96,8)); // click on text field
assert_2(); // position marker
...
I tried the following but I got an error:
ui.assertThat(new HasTextCondition(new XYLocator(new LabeledTextLocator("Process Name:", new ViewLocator("org.eclipse.ui.views.PropertySheet")), 96,8), "loopProcess")); // HasTextCondition cannot be resolved to a type
Any tips would be greatly appreciated.
Thanks,
Edward