Steer Android snackbar
With the Mobile Engine 3.0, you can steer the snackbar on your Android device.
You do so by using the Android Snackbar Module.
This Module is part of the Standard subset. You can find it under Standard modules->TBox XEngines->Mobile.
Use the Module in a TestCase
To steer the snackbar, follow the steps below:
-
Specify the required test configuration parameters to establish a connection with the device.
-
Add the Open Mobile App TestStep.
-
Add a TestStep that triggers Android snackbar.
-
Drag and drop the Android Snackbar Module onto your TestCase.
-
In the TestStepValue Text, specify the message that appears on the snackbar. Set the ActionMode to WaitOn to ensure that text execution waits until the snackbar appears.
-
Optionally, in the TestStepValue Action, specify the action you want to perform on the button that is next to the snackbar text.
In this example, you perform the following actions:
Android Snackbar Module in a TestCase |