We do have our own hope build date picture and in most cases I don't use it. I usually just Type the Date in.
Its really a matter if Test Partner can Identify with it. But every month those buttons are going to change and might not work.
You maybe could get it to pick the 15th of the month. But thats about it.
Is there a reason you can't just type the date in?
Yes an option would be to select the 15th of the month.
However as you rightly identified my problem will be on selecting a specific date on a specific year.
The one reason why i am unable to type in is because the text field is disabled. Also, even if i type in the date value typed in is not considered when posted to the server. That said, the only way is to select the date via the calendar.
Is there any other way to map the object? something that i can pursue further perhaps?
Just thought to share my piece of solution that has worked for me...
Here is the Problem definition again:
The application did not allow me to enter dates directly. Field is disabled. User must select the date via the OBOUT control. Why disabled - manifold. : )
I found that the OBOUT control has a Year selection combo.
I noted that the elements in the obout control are always sequential. i.e. Navigation link, Year combo, Date selection Links
This is what i took advantage of. i.e. Once i had the elementID for the Year Combo i could get the Element ID of any object i wanted to click.
step 1: Get the element id of this Year combo.
step 2: Get the element id for the month navigation links using Year combo as reference
step 3: Get the element id for a date using Year combo as reference
step 4: Use the references obtained above to select your date.
May not be the best of solutions. But it works for me.
Hope this helps for anyone who might struggle on the same.