I am trying to select the date from the datepicker from make my trip website , but it is not getting selecting, instead only 1st date is getting selected from the date picker
.
I have used click text activity and indicated the date picker area , also made the selector dynamic and passed the value which is suppposed to be clicked, but still it is not getting selected.I have used earlier click activity with dynamic selector, but in that also it is not possible because , when the date picker is selected it open date picker of two months and hence it doesnt identifies the right date.
can anyone please help me, i have attached the zip file which has xaml file along with the data.
You can use click activity to click right side date with sectors:-
If you want to click left side month date use this selector:-
aaname is your date. idx is 1 for left table and 2 for right table. Use element exist to check month is present in right or left side and use selectors.
my requirement is little different…already the logic is working , just wanted to click the specified date, using click text or any alternate activities
hi jayesh
thanks for the suggestion, but i have already tried with the click activity and it will work only if we keep the idx tag, but as the idx tag is not recommended in real time.I am not using it, so i avoided this click activity.
Any alternay way please let me know.
@TheBOT Can you show us the Date Picker element from the website? Also Can you select a Date and then use Click Activity for the Date picker and open the Selector in UiExplorer and Send screenshots of it
I am not able to understand ur workflow…it is little complicated…what you have exactly done can you explain …so that i can also check if i can modify the same and use
This really works, after seeing the selector, i think @AkshaySandhu you have combine the selector of click text and click activity…but it works finally.
I have used this selector in click activity and made the whole selector dynamic by passing month, year and day to select in variables .