Workflow Management - google/android-uiconductor GitHub Wiki
Save and share workflow
Task 1: Reuse the compound action
UICD gives you the option to reuse the test cases that have been recorded. For example you have multiple test cases which got a step to toggle the WiFi button. This step can be recorded once and then can be added to the other test cases where required instead of recording it everytime.
-
Go to the test case you want to use.
-
Right click on it and select the add option. This will add the test case to the new workflow.
Task 2: Use other people's compound action
UICD provides an option to share the test cases with another person using the import option. The imported test case may be used as a part of your work flow or you can add some steps to the imported test case depending on the requirement.
-
Know the Action ID of the test case to be imported. For instance say there are two individuals, say A and B. A is trying to import the testcase from B so B needs to provide his Action ID to A. How can B get to know the Action ID? It's very simple, B goes to the test case in his workspace he want to share, right clicks on it then he chooses the edit option and clicks on it. He will be able to see a popup as shown in the image below, the highlighted area will be the action ID for that test case.
-
Right click on the folder you want the test case to be imported.
-
Select the option import and input the Action ID, the required test case will be imported to your work space. You can even import the test case by knowing the ldap of the other person.
NOTE: When the test case is imported, then the Action id for the imported case is different from the actual test case so the changes you make do not reflect on an actual test case.