Creating a Workflow in Process Automation

Testing the Process

With Kuika, you can easily and quickly test the applications you have developed with process automation.

Let's test the application we developed within the scope of an example scenario together.

First, since there are tasks for different roles in the process, let's make edits and additions on the new personnel creation and personnel information editing screen.

  1. Open the screen named New User.
  2. On the screen, we were previously managing the role management through a Switch. Due to the increasing number of roles, let's continue with a selectbox instead of a Switch.
  3. First, delete the Row containing the Switch used for Role selection on the current screen.
  4. Select the Row with Department Selectbox and Duplicate it.
  5. Update the PlaceHolder text to “Role”.
  6. Then create and name a new Select Action that will allow to list all role information.
  7. Select KRole as Source, Id and Name as Field, add alphabetical sorting by name and save the action.
  8. Add the action you created to the New User screen as Initial Action.
  9. Then select the SelectBox where the roles will be located. In the Value field, replace the previous value with Fixed Value.
  10. Then update the Action selection from the Options field and define the fields.
  11. Select the Save button on the screen.
  12. Delete the If Then Else action that we previously used to assign the role definition in a conditional structure according to the value of Switch.
  13. Add the Add User To Role action under the button.
  14. Define the Name Value of the Role Selectbox for the rolename parameter in the action.
  15. Define the value of Email Input on the screen for UserName.
  16. Drag the Add User To Role action under the Create User Action.
  17. Finally on this screen, add a GoBack action at the end of the Save Record action.

Now let's proceed by making additions to the Dashboard screen for users to see the task assigned to them and create new tasks.

  1. Open the Dashboard screen.
  2. Change the Row with the Last Suggestions title to a two-column structure with the left column wider.
  3. Add a Horizontal Stack in the right column.
  4. Add two buttons in the Horizontal Stack.
  5. Remove the default incoming size values of the buttons.
  6. Update the button contents to New Suggestion and My Tasks.
  7. Align both the right and left columns.
  8. Select the My Tasks button.
  9. Turn off the All Roles Access Switch in the Authorization field.
  10. Select HR and Manager roles.
  11. Make sure the Hide Switch is active under the When Not Authorized heading.
  12. Direct the New Suggestion button to the New Suggestion named screen. Select Drawer.
  13. Direct the My Tasks button to the screen named My Tasks. Select Current Screen.
  14. Then start the test process by pressing the Run button.
  15. In the context of the test case, create two different users with Manager and HR roles. Then create a new idea.
  16. Enter the application with accounts with Manager and HR roles respectively and test the flow.

When you complete these steps completely, you will observe that the developed process works flawlessly and in accordance with expectations. This testing process will help you understand how the application performs under different roles and allow you to make the necessary corrections in a timely manner. By following each step carefully, you can ensure that your application is tested smoothly.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

With Kuika, you can easily and quickly test the applications you have developed with process automation.

With Kuika, you can easily and quickly test the applications you have developed with process automation.

Let's test the application we developed within the scope of an example scenario together.

First, since there are tasks for different roles in the process, let's make edits and additions on the new personnel creation and personnel information editing screen.

  1. Open the screen named New User.
  2. On the screen, we were previously managing the role management through a Switch. Due to the increasing number of roles, let's continue with a selectbox instead of a Switch.
  3. First, delete the Row containing the Switch used for Role selection on the current screen.
  4. Select the Row with Department Selectbox and Duplicate it.
  5. Update the PlaceHolder text to “Role”.
  6. Then create and name a new Select Action that will allow to list all role information.
  7. Select KRole as Source, Id and Name as Field, add alphabetical sorting by name and save the action.
  8. Add the action you created to the New User screen as Initial Action.
  9. Then select the SelectBox where the roles will be located. In the Value field, replace the previous value with Fixed Value.
  10. Then update the Action selection from the Options field and define the fields.
  11. Select the Save button on the screen.
  12. Delete the If Then Else action that we previously used to assign the role definition in a conditional structure according to the value of Switch.
  13. Add the Add User To Role action under the button.
  14. Define the Name Value of the Role Selectbox for the rolename parameter in the action.
  15. Define the value of Email Input on the screen for UserName.
  16. Drag the Add User To Role action under the Create User Action.
  17. Finally on this screen, add a GoBack action at the end of the Save Record action.

Now let's proceed by making additions to the Dashboard screen for users to see the task assigned to them and create new tasks.

  1. Open the Dashboard screen.
  2. Change the Row with the Last Suggestions title to a two-column structure with the left column wider.
  3. Add a Horizontal Stack in the right column.
  4. Add two buttons in the Horizontal Stack.
  5. Remove the default incoming size values of the buttons.
  6. Update the button contents to New Suggestion and My Tasks.
  7. Align both the right and left columns.
  8. Select the My Tasks button.
  9. Turn off the All Roles Access Switch in the Authorization field.
  10. Select HR and Manager roles.
  11. Make sure the Hide Switch is active under the When Not Authorized heading.
  12. Direct the New Suggestion button to the New Suggestion named screen. Select Drawer.
  13. Direct the My Tasks button to the screen named My Tasks. Select Current Screen.
  14. Then start the test process by pressing the Run button.
  15. In the context of the test case, create two different users with Manager and HR roles. Then create a new idea.
  16. Enter the application with accounts with Manager and HR roles respectively and test the flow.

When you complete these steps completely, you will observe that the developed process works flawlessly and in accordance with expectations. This testing process will help you understand how the application performs under different roles and allow you to make the necessary corrections in a timely manner. By following each step carefully, you can ensure that your application is tested smoothly.

Dosyalar

Yardımcı kaynaklar

Sözlük