18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Date Picker
hi,
In my website there is Date Picker in form of Text Box and Clicking on it opens date picker where i can select year, month day also Previous and Next clickable icon.
Now i record the steps..after selecting 14/06/1982..
But in script i'm only getting code like "_click(_link("14"));"
also checking in Controller by pressing "Test--->" , getting message as "undefined".
Please suggest me how to select a particular date, month or year from Date picker.
In my website there is Date Picker in form of Text Box and Clicking on it opens date picker where i can select year, month day also Previous and Next clickable icon.
Now i record the steps..after selecting 14/06/1982..
But in script i'm only getting code like "_click(_link("14"));"
also checking in Controller by pressing "Test--->" , getting message as "undefined".
Please suggest me how to select a particular date, month or year from Date picker.
Comments
Can you let me know which frame work are you using to select date from datepicker
Could you post the example of that datepicker.
Please go through the following links,
http://sahi.co.in/forums/viewtopic.php?id=3527
http://sahi.co.in/forums/viewtopic.php?id=2793
http://sahi.co.in/forums/viewtopic.php?id=1060
http://sahi.co.in/forums/viewtopic.php?id=2609
This might help you.
Regards,
Theeran.
Thanks for reply.
Here i'm using JSF framework , and previously i go through all the above post topics. but i havn't get any solution.
We have tried with our own script to pick a date from a jsf Datepicker.
The url is
http://livedemo.exadel.com/richfaces-demo/richfaces/calendar.jsf
and the script, we used is
We are able to pick the date from the DatePicker and populate during playback.
Try in the similar manner.
This might help you.
Regards,
Theeran.
I tried it, but during play back wht should be d script for selecting different Day/Month/year.
With the same url specified, try with the following script,
You will be able to select different Day/Month/Year.
In jsf Datepicker, each elements are configured as individual div's. so try to identify the elements through controller and you can select any Day/Month/Year.
Regards,
Theeran.
I am new in sahi testing. How to handle datepicker & time in .Net.
Please go through the above mentioned links.Sahi is independent of the web server; anything that runs on the browser can be automated using Sahi.
So datepicket and time in .Net should be accessed in the similar manner as with the normal DatePicker and Time.
Regards,
Theeran.