Facebook signup flow automation
This flow demonstrates how Maestro can automate signing up with Facebook.
Some notable interactions in this Flow:
Clicking on any element using:
tapOnLong pressing an element using:
longPressOnAsserting visibility of element using:
assertVisibleKeyboard press using:
pressKeyRandom data input using:
inputRandomPersonName,inputRandomNumber,inputRandomText&inputRandomEmailAndroid back navigation using:
back
Flow File
appId: com.facebook.katana
---
- launchApp:
appId: "com.facebook.katana"
clearState: true
- tapOn: "Create new Facebook account"
- assertVisible: "Join Facebook"
- tapOn: "Next"
- assertVisible: "Allow Facebook to access your contacts?"
- tapOn: "Allow"
- assertVisible: "Allow Facebook to make and manage phone calls?"
- tapOn: "Allow"
- inputRandomPersonName
- tapOn: "Last Name"
- inputRandomPersonName
- tapOn: "Next"
- assertVisible: "What's your birthday?"
- longPressOn:
id: "android:id/numberpicker_input"
index: 0
- inputText: "Jan"
- longPressOn:
id: "android:id/numberpicker_input"
index: 1
- inputText: "01"
- longPressOn:
id: "android:id/numberpicker_input"
index: 2
- inputText: "2000"
- pressKey: Enter
- tapOn: "Next"
- tapOn: "Male"
- tapOn: "Next"
- tapOn: "Sign up with email address"
- assertVisible: "Enter your email address"
- inputRandomEmail
- tapOn: "Next"
- assertVisible: "Choose a password"
- inputRandomText
- tapOn: "Next"
- tapOn: "Sign up"Last updated
Was this helpful?
