I am trying to automate a test case where i have to delete the data in EditText first , then enter new text and save it . i am using androidviewclient to find the views .
enter code here
Busy = vc.findViewByIdOrRaise('id/no_id/24')
Busy.touch()
vc.dump()
id16 = vc.findViewByIdOrRaise('id/no_id/16')
id16 is the Edit Text , how to erase data in that view . please help
If the View is an EditText you can do:
id16 = vc.findViewByIdOrRaise('id/no_id/16')
for i in range(25):
id16.backspace()