I did not find anything on appium documentation about that. Could you please give an example?
Thanks.
before_first dowait { mobile :flick, endX: 0.5, endY: 0.9 } # scroll upsleep 1end
So before each test, the app scrolls up which means the application was "restored to its original state" and it's ready to run the next test. Since they are just running simple specs it's not needed to call start_driver/$driver.quit in each test since it's each to restore their app to its original state.
What I'm looking for is something different. I'd like to close the application (kill it) in the simulator without closing the simulator and reopen my application in the next test case.
Is it possible at all or I'm justing thinking about something appium was not designed to do?
Fábio Rodrigo Moura Maia