Quality is delighting customers
- For Calender automation we have to check whether it's a JS-Calender or HTML-JS Calender.
- Before approaching for calender-automation I would suggest the developer that they should build the calender with each of its component which must having proper HTML ID with implementing keyboard functionality.
-JS-Calender can be easily operate using some Key board events.Try to figure out what are the keys are used for Calender Operation.
- Calender functionality can be automated using Key-Board, Mouse functionality using Selenium with Java.awt.Robot API.
- For this first to set focus on calender pop up window then use some selenium commands of keyboard events.
Thanks for post as im also looking for same...
but can suggest u for something.
You can have js file for current date and update it.
and for another end date field,which can be future date for setting end date i.get the data from start date using store Text Present
var currentTime = new Date();
check this :