Create an attended automation form in RPA Desktop Design Studio
Design attended automations by creating an attended user interface (UI) form in RPA Desktop Design Studio.
Before you begin
Ensure that the project type is Attended Automation. For more information, see Create an automation project manually.
Role required: none
About this task
Procedure
- In the RPA Desktop Design Studio, from the Project Explorer pane, navigate to Forms and expand it.
-
Choose an option and complete the action.
Option Action To create a new form Right-click Forms in the Project Explorer pane and select New Form. To access the Form Designer Right-click a form in the Project Explorer pane and select Design. For more information on the Form Designer, see Form designer for building attended automation forms.
-
In the Form Designer, from the Toolbox pane, select an element that you want to
add to your form and draw it on the Design surface.
For example, to draw a text block on the form, select the TextBlock element from the Toolbox pane and draw it on the Design surface. Similarly, select the TextBox and Button element and draw them on the Design surface, as shown in the following example.
Figure 1. TextBlock, TextBox, and Button element on the Design Surface -
In the Form Designer, from the Properties pane, update the name of an element
in the Name field, as shown in the following
example.
Figure 2. Update the Name field in the Properties pane -
Choose an option and complete the action.
Option Action To edit the properties of an element Select the desired element in the Outline pane or on the Design surface and edit the required properties in the Properties pane. For example, to edit the display label of the TextBlock element, enter a label in the Text field in the Properties pane, as shown in the following example.
Figure 3. Enter a name in the Text field in the Properties pane To edit the properties of a window Select the window in the Outline pane and edit the required properties in the Properties pane. For example, to resize the window, select an option from the ResizeMode field in the Properties pane, as shown in the following example.
Figure 4. Resize the window in the ResizeMode field in the Properties pane To arrange the elements Move them as required in the Outline pane. To view the added elements under the desired form Perform the following actions: - In the Project Explorer pane, close the form in which you added the elements.
- Expand the form and view the elements that are added under the
form as shown in the following example.
Figure 5. Elements appear under the form
To delete an element on the Design surface In the Outline pane, right-click the element to be deleted and select Delete. To view the methods and events for a form Double-click the created form in the Project Explorer pane. The methods and events are displayed in the Object Explorer pane. For more information, see Methods and events of an attended automation form.
To view the methods and events for an element Double-click the element in the Toolbox pane of the Form Designer. The methods and events are displayed in the Object Explorer pane. For more information, see Methods and events of elements.
To delete a form Do the following actions: - Delete all the references of the elements that are used in other
activities, if any.
Use the Find All References option to do this step.
- In the Project Explorer pane, right-click the form and select Delete.
- In the Confirmation dialog box, select Yes.
To find all the references of an element that are used in other activities Right-click the desired form in the Project Explorer pane and select Find All References. Results are displayed in the Find All References dialog box.
To rename a form Do any of the following actions: - In the Project Explorer pane, right-click the form and select Rename to enter a new name.
- Double-click the form and in the Properties pane, change the name in the Name field.