I am using Invoke JS to set the calendar date because I cant use type into activity on it (cant copy and paste the date)
so whenever I set the date on calendar control by Invoke JS the label control should load the pallets as in picture below
but the label control unable to load the data based on the Calendar control date.
please help may be i am missing some event to fire using Invoke JS
Set text is not working.
i can able to change the date by using "
document.getElementsByClassName(‘react-datepicker__input-container’)[0].firstElementChild.value=‘24-04-2024’
but whenever date changes other control on website load data which is not working.
if i change the date manually the other control on website data loading properly.
I tried a lot but I able to change the Date using Invoke JS in Date picker but I can’t fire the event to load the data on the other control anyhow I want to use another way to pick up the date using mouse click
so I am use the following steps
Clicking the Date picker to pop up
selecting the date for current month (working fine)
for selecting the date for next month I am using the while loop
inside while loop i am using try catch block
the problem is in try block i am getting following error and control not moving to catch block to click next month
can you please help why control not moving to catch block to click icon for next month
@Anil_G
Thank a lot.
sometimes everything working fine but some time i am getting error as
Cannot send input to UI element because it is outside of screen bounds