Calander Autoselection

Ranorex Spy, Recorder, and Studio.
skhanpara
Posts: 94
Joined: Wed Apr 23, 2014 3:55 pm

Calander Autoselection

Post by skhanpara » Wed Apr 23, 2014 7:39 pm

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
Attachments
untitled.JPG
untitled.JPG (11.57 KiB) Viewed 798 times

mzperix
Posts: 137
Joined: Fri Apr 06, 2012 12:19 pm

Re: Calander Autoselection

Post by mzperix » Fri Apr 25, 2014 8:25 am

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

skhanpara
Posts: 94
Joined: Wed Apr 23, 2014 3:55 pm

Re: Calander Autoselection

Post by skhanpara » Thu May 01, 2014 4:38 pm

Hi Zoltan

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


Thank for your reply

Regards
Sunny