Basic Concept - google/android-uiconductor GitHub Wiki
Actions
Action is the smallest element in a test workflow, currently UIConductor supports the following action list:
- ClickAction
- CommandLineAction
- CompoundAction
- InputAction
- LogcatValidationAction
- ScreenCapAction
- ScreenContentValidationAction
- LoopScreenContentValidationAction
- ScrollScreenContentValidationAction
- ConditionClickAction
- SwipeAction
- LongClickAction
- RebootAction
- ZoomAction
- DragAction
- GlobalVariableValidationAction
- FetchScreenContentAction
- ScreenRotateAction
- SnippetValidationAction
- ScriptExecutionAction
Workflows/Compound Action
Workflow(Compound Action) is nothing but a collection of actions, in the code we are using Compound to represent a workflow. Technically workflow is equivalent to compound action, workflow usually reference to the E2E test workflow.
Tip: Compound Action can also include Compound Actions.
XMLDumper
When we are using UIConductor, there will be service running in the backend to fetch the Layout XML. See more details about the layout XML tree. https://developer.android.com/studio/debug/layout-inspector.html
Context based recording
Recorded action