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
Can you please tell how you are trying to pick
By using click activity and passing variable to idx value
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
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
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
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
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
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?
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
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
MakeMyTrip Website, the field name is Departure and Return dates, our input date should pick date of the month of june 2024