Using if statements for dialogs
Posted: Thu Oct 02, 2014 5:08 pm
Hi, I'm automating an Android app test using Ranorex 5.1.3 with Android version 4.4.3 with a USB connection method
I'm also trying to use an if statement so that if a dialog box that asks for a password appears, then start a certain recording module and if it doesn't appear then start another recording module.
List of steps Ranorex would go through (If this helps)
1. Open app
2. Select item in the list
3. Dialog asking for a password could appear
If dialog appears
4. Enter password and continue
If the dialog does not appear
4. Continue app usage
Thanks,
Marc
I'm also trying to use an if statement so that if a dialog box that asks for a password appears, then start a certain recording module and if it doesn't appear then start another recording module.
List of steps Ranorex would go through (If this helps)
1. Open app
2. Select item in the list
3. Dialog asking for a password could appear
If dialog appears
4. Enter password and continue
If the dialog does not appear
4. Continue app usage
Thanks,
Marc