Datepicker issue on bill.com

Unable to specify date on date picker on bill.com. I tried type in but it not working properly. On youtube, I found many videos suggesting to use combination of type in and select item. But whenever I use select item 9for both modern & classic), uiPath is giving error

“The indicated target is not a valid UI element for the SelectItem action!”

The datepicker used is iso8601CalendarPicker.

When I use type into, then only year is changed. If I try changing day and month, then also year is changed and it is giving absurd value. See the image.
screen

Hi @csmart

Check whether you can type the date manually instead of selecting it from calendar. If it is editable field, then use Type Into Activity and make sure in properties you set True for Empty Field, (Simulate Type or Send Window Message)

1 Like

Hello @csmart
Try this
1.“AlterIfDisabled” set to true
2.“SimulateType” set to true
3.“Activate” check it true


4. Indicate the callendar box
5. Pass the data in desired format.

Regards,
Gokul Jai

Hello @csmart

As per the screenshot which you shared you can directly typeinto the date field. but here you need to make sure the format of the date which you are typing is valid. Otherwise, it will not accept. If its not accepting, you can watch the below video.

Hi @csmart,

Looks like bill.com does provide you API level access : BILL API | Developer Documentation | BILL
This might avoid UI automation all together. Worthwhile to check this before diving deep into Ui Automation.

SelectItem works well on most dropdowns.

  1. Before typing in, double click on the field such that the entire text is selected in the StartDate
  2. Use the inbuilt function in modern activities (Empty field before typing)
    image
    This should remove the existing value
  3. Format your date string to match, in your case “dd/MM/YYYY” and use the Typeinto

Other than Step 1, everything else can be achieved by Type Into activity. The new modern experience type into activity is a beast! It can do a lot for you. You an also check if the value you entered is the what you wanted by using a new verification state
image

1 Like

Thank you as this was of great help. It worked as you suggested.

1 Like

Thank you for suggestion but using bill.com API is not feasible at this stage.

For uipath, your suggestion is similar to what @Dharunya_Devi has suggested and that solution had worked for me.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.