03-23-2014, 05:28 AM
Hi,
I am trying to set the Start Date in my application (.net client) but the script ends up setting the random date when I use Type method. For some reason, If I use SetDate it is setting the date in the calender, but it is not visible after saving the screen. So, SetDate method setting the correct date ,but not saving to the application and it is not visible since it is not saved. Whereas Type method setting random date and save in the application and visible. Is there any solution? Thanks.
I am trying to set the Start Date in my application (.net client) but the script ends up setting the random date when I use Type method. For some reason, If I use SetDate it is setting the date in the calender, but it is not visible after saving the screen. So, SetDate method setting the correct date ,but not saving to the application and it is not visible since it is not saved. Whereas Type method setting random date and save in the application and visible. Is there any solution? Thanks.
Code:
SwfWindow("Nex.*").SwfCalendar("dtpStartDate").SetDate "2-Apr-2009"
or
SwfWindow("Nex.*").SwfCalendar("dtpStartDate").Type "4/2/2009"