I’m doing an exercise about selectors in Studio. I have to create a workflow that fills in the fields of a website with organized data that will be taken from an Excel file provided herein. It contains the following data: CompanyName, RoleInCompany, Address, Email, FullName, PhoneNumber. I I can only use an anchor-based selectors It’s an express condition of the exercise.
This is my loop to iterate through each row of the DataTable variable.
Type Company Name: Could not find the UI element corresponding to this selector:
< webctrl id=‘69YHy’ parentclass=‘ng-untouched ng-pristine ng-invalid’ tag=‘INPUT’/>
to use Anchor Base you have to drag and drop that activity from the Activities panel, btw find below the sample for using Anchor Base activity, Hope this helps, and for every event, you have to use that many anchor base activities
Now I have an automation error. The robot writes in the fields but fails with First Name field and Last Name fields. Those fields have to be extracted from Excel file’s Full Name column. I save the substring (FirstName and LastName) from full name in a variable type string but in the automation the robot sometimes crashes and writes them in any other field at random.
also a small tip, in almost all activities you will find this property called WaitForReady under Target, select for COMPLETE from that option, do read the definition for your better understanding