Posts: 84
Threads: 23
Joined: Sep 2009
Reputation:
0
11-24-2009, 11:20 AM
Hello All,
Can anybody tell me how can i click on DatePicker & select a particular year and then select a date from cell, hoping for cooperation.
Thanks
Mahesh
Posts: 49
Threads: 0
Joined: Nov 2009
Reputation:
0
11-24-2009, 11:50 AM
Hi Magesh,
You can set the date value directly in to date picker.
sfwObject("name").Set Date 'this will set today's date
If you want to set other date convert the string in to Date data type using CDate and then set it.
Posts: 84
Threads: 23
Joined: Sep 2009
Reputation:
0
11-24-2009, 12:38 PM
Hi v_selvam,
This code is not working showing error , object cannot found sfwObject, Is this possible actually my datePicker field is non editable,
my code is Browser("Add Survey").Page("Add Survey").Image("calendar-ico")
Please help me out, hoping for cooperation
Thanks
Mahesh
Posts: 128
Threads: 9
Joined: Oct 2009
Reputation:
0
11-24-2009, 08:46 PM
That object is actually an image and probably has a OnClick event calling a javascript function. You might try searching on calling the OnClick event in this forum. I know there have been examples of it in the past.