Am trying to directly type into the dates to the edit box but due to similar properties, UI path throws the exceptions. How do I handle this issue.
In these scenario you need to automate click Image or Text and provide the offset value relative to the Text where exactly you want to click.
Post that you need to use a Type Into activity to provide values to the TextBox.
For Example : (Web Application)
- Use a “ClickImage” activity , to select the Text which identifies the Calendar text box . In this I have identified the Start Date and provided value to the textboxes below .
In your case you need to fill it in one calendar control.
The offset value provided for the activity : It varies based on the location . You can get this using Web Recording ->Image → Mouse → Click
After providing the relative area the offset values will be updated immediately .
- Use a Type Into Activity to provide the values into the clicked textbox . Screenautomation.zip (161.2 KB)
Date Duration Calculator: Days Between Dates
You can execute the workflow , attached in the ticket .
Open the web browser and run the workflow , values will be entered into the related textboxes .
For better understanding please refer the below link :
Hope this is helpful .