Assume that I just want to enter the value for City? How do i do that?
How will I identify text field with its name?
One way is to just tab the first 2 inputs fields without entering any
data and then enter the value in city field. Howver i feel this is not
a proper way. I believe there should be a way in windows tester to
accomplish this which i'm not able to figure out.
Your support is highly appreciated.
Cheers, Sunil
Depending on how you have created the Label, you should be able to use
some form of locator to click on the widget. Then you can enter text.
For example, if you have a text field preceded by a label:
_____________
City : |_____________|
You could use a LabeledTextLocator:
ui.click(new LabeledTextLocator("City : "));
ui.enterText("My City Name");
If you have multiple labels with "City : ", then you will have to
reference the parent of the LabeledText in your LabeledTextLocator
constructor.
--
You received this message because you are subscribed to the Google Groups "windowtester-pro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to windowtester-p...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.