I have an Excel File with 2 columns: Promotion Number & Percentage Discount
I want to read each line and populate promotion number in a field on the first page and discount in a field on a second page fields on a website.
Example of Data:
PROMOTION | WREWARDS PERCENTAGE
687005 | 20
687006 | 10
687007 | 20
I’ve created the following workflow:
- Open Webpage & Log in
2.1. Read Excel Data
2.1.1.Excel Application Scope: Open FIle
Read Range “Sheet1” “” - Output DataTable: WRewards_Promo
For Each Row in WRewards_Promo
Get Row Item: row - ColumnName: “PROMOTION” - Output Value: Prom_number
Get Row Item: row - ColumnName: “WREWARDS” - Output Value: WRewards_Percentage
2.2. Attach Browder (that is now open)
Type in Promotion Number: (variable used Prom_Number)
Click Update Discount
Select (from drop down) Percentage off
Type in WRewards Percentage (for this specific promotion): (variable used WRewards_Percentage)
Select tickbox “remove diff rewards”
Then I want to start with the following row.
I’m having no validation errors when I click “Validate”.
When excecuting I get error:
Source: Select Promotion
Message: Cannot Find the UI Element corresponding to this selector:
RemoteException wrapping UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: —> RemoteException wrapping System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector, IVariableResolver resolver)
Exception Type: UIPath.Core.SelectornotFoundException.
Please help where I am going wrong?