Element Operation Exeption in a DatePicker Project

i made a project Date Picker project for Make My Trip website. I want Random Date from date 05/06/2023 and todate 05/06/2024. My Program got output till 31/05/2024 successfully. but while i am giving input date from 01/06/2024, it is showing Element Operation Exception. Please give solution for this

@satya_narayana1

Can you please tell how you are trying to pick

Cheers

@Anil_G
By using click activity and passing variable to idx value

23.4.1+Branch.master.Sha.43c76fe6d960fdc239be3af93d0fd47b8ca81224

Source: Click ‘SPAN’

Message: Cannot send input to UI element because it is outside of screen bounds.

Exception Type: UiPath.Core.ElementOperationException

UiPath.Core.ElementOperationException: Cannot send input to UI element because it is outside of screen bounds. —> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800402bd at UiPath.UiNodeClass.Click(Int32 dx, Int32 dy, UiClickType clickType, UiMouseButton mouseBtn, UiInputMethod inputMethod, UiCursorMotionType cursorMotionType, Int32 cursorMotionDurationMs, UiKeyModifier keyModifier)
at UiPath.Core.UiElement.ClickImpl(Int32 offsetX, Int32 offsetY, ClickType clickType, MouseButton mouseButton, InputMethod inputMethod, Position mousePlacement, CursorMotionType cursorMotionType, Boolean areOffsetsNormalized)
— End of inner exception stack trace —
at UiPath.Core.Activities.ObsoleteTaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of stack trace from previous location —
at UiPath.UIAutomationNext.Activities.NApplicationCard.OnFault(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

i am picking date by using click activity and passing variable to the aaname, input dialog box-multiple assign activities, get text actives and while loops were used in my project

@satya_narayana1

Can you please try using type into or set text ideally if it is editable field those would be supported

else we need to go with click only but before clicking on date make sure to open date picker by clicking on the field

cheers

my problem is picking same date next year from the calendar in MakeMyTrip Website, hence please give me any technic to pick the dates of june 2024 in UiPath

@satya_narayana1

In make my trip type into is supported so please try typing the date whatever you need that way you need not work on the date picking rather type it

cheers

in the makemytrip website, we can not write the date manually, it is not supported. hence datepicking is must from this date to samedate next randomly. that is the task for me

@satya_narayana1

Set text activity will set the value from
Backend…did you happen to try that?

And for picking next years date…are you trying to click next button and identify the month?

Cheers

Cheers

yes i am using while loop and click next button for finding the month, but it is not picking the same month of next year

@satya_narayana1

When you say it is not picking do you mean it is not getting selectors?

Or is it throwin gsome error

Can you send site and which field here

Cheers

MakeMyTrip Website, the field name is Departure and Return dates, our input date should pick date of the month of june 2024

@satya_narayana1

Check this

Selector
image

Code
BlankProcess - Copy (2).zip (7.1 KB)

cheers