stack level too deep (SystemStackError)
./features/step_definitions/Appium/appiumtest.rb:6:in
appium/features/regression/appiumtest.feature:5:in
The error is caused because the system tries to find the element, but the it is not connected with the emulator and the appium server.
To solve that add a hooks.rb file under the support directory to start and end the driver when the test runs:
hooks.rb:
Before do
$driver.start_driver
end
After do
$driver.driver_quit
end
No comments:
Post a Comment