A method of designing robotic process automation, RPA, software, the method comprising employing at least one hardware processor of a computer system to: in response to receiving a user input selecting an RPA activity from a plurality of RPA activities available for execution by an RPA robot, expose an activity configuration user interface, UI, enabling a user to configure parameters of the RPA activity; in response to receiving a user input selecting a target element for the RPA activity from a plurality of UI elements displayed within a target UI, automatically determine a user-facing label of the target element according to a relative on-screen position of the user-facing label with respect to the target element; in response to determining the user-facing label, display the user-facing label within a name field of the activity configuration UI, the name field indicating an activity name of the RPA activity; determine a code label (94a-b) characterizing the target element within a source code of the target UI; and output an RPA script formulated according to the RPA activity and to the target element, the RPA script including the code label; wherein executing the RPA script on a client machine causes the client machine to: automatically identify a runtime instance of the target element within a runtime UI exposed by the client machine, the runtime instance of the target element identified according to the code label, and automatically carry out an operation that reproduces a result of an interaction of a human operator with the runtime instance of the target element, the operation determined according to the RPA activity. in response to receiving a user input selecting an RPA activity from a plurality of RPA activities available for execution by an RPA robot, expose an activity configuration user interface, UI, enabling a user to configure parameters of the RPA activity; in response to receiving a user input selecting a target element for the RPA activity from a plurality of UI elements displayed within a target UI, automatically determine a user-facing label of the target element according to a relative on-screen position of the user-facing label with respect to the target element; in response to determining the user-facing label, display the user-facing label within a name field of the activity configuration UI, the name field indicating an activity name of the RPA activity; determine a code label (94a-b) characterizing the target element within a source code of the target UI; and output an RPA script formulated according to the RPA activity and to the target element, the RPA script including the code label; wherein executing the RPA script on a client machine causes the client machine to: automatically identify a runtime instance of the target element within a runtime UI exposed by the client machine, the runtime instance of the target element identified according to the code label, and automatically carry out an operation that reproduces a result of an interaction of a human operator with the runtime instance of the target element, the operation determined according to the RPA activity. automatically identify a runtime instance of the target element within a runtime UI exposed by the client machine, the runtime instance of the target element identified according to the code label, and automatically carry out an operation that reproduces a result of an interaction of a human operator with the runtime instance of the target element, the operation determined according to the RPA activity.