Page 1 of 1

Calander Autoselection

Posted: Wed Apr 23, 2014 7:39 pm
by skhanpara
I am using a data driven approach for my website

I have field where we need to select date using a calendar view
how can i change the date automatically

I have attached the view of my calendar.

Thank you

Re: Calander Autoselection

Posted: Fri Apr 25, 2014 8:25 am
by mzperix
Hi skhanpara,

At first look this would be the method:
1. Click on the month select list
2. Select the month => this should be the $month parameter
3. Click on the year select lsit
4. Select the year => this should be the $year parameter
5. Click on day => this should be the $day parameter. There is a good chance, that this parameter will be in the repository.

If you could share us the snapshot of the calendar, we could give you some more detailed solution. Until then, here are some gneral information to look at:

Note1: creating snapshot: http://www.ranorex.com/support/user-gui ... files.html

Note2: using the select list is not always a simple thing. Please look at the following posts if you see yourself stuck:
http://www.ranorex.com/forum/cant-click ... t5683.html
http://www.ranorex.com/forum/failing-to ... t5688.html
http://www.ranorex.com/forum/potential- ... t5127.html
http://www.ranorex.com/forum/unable-to- ... t3608.html

Note3: using variables in repository: http://www.ranorex.com/support/user-gui ... html#c2970

Best Regards,
Zoltan

Re: Calander Autoselection

Posted: Thu May 01, 2014 4:38 pm
by skhanpara
Hi Zoltan

Thanks for your reply
I found a solution by adding a variable in the ranorex Xpath


Thank for your reply

Regards
Sunny