Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

by Uzi Eilon

Execute Espresso Tests on Perfecto Devices

...

Code Block
languagejava
themeMidnight
onView(withText("Perfecto Calc:")).check(matches(isDisplayed()));
onView(withId(R.id.percentage)).perform(typeText("2"));
onView(withId(R.id.number)).perform(typeText("20"),closeSoftKeyboard());
onView(withId(R.id.CalcBT)).perform(click());
onView(withId(R.id.results)).check(matches(withText("10.0")))   onView(withId(R.id.number)).perform(typeText("20"),closeSoftKeyboard());

Image Modified

Calc app
Device in perfecto system while the test is running

...