Skip to content

robotium typetext wrong order #876

@Mrxiaoxie

Description

@Mrxiaoxie

When I use typetext() to verify edittext limit conditions , I found that the order of text is wrong.
my code:
Edite text = solo.getEditText(0); solo.setText(text,""); solo.typeText(text,'2.2222'); assertEquals("2.22", text.getText().toString());

but I get actual result is 22.22 not 2.22
how can I avoid this situation?
thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions