Forum Discussion

ganesh_hegde's avatar
ganesh_hegde
Occasional Contributor
11 years ago

Setting date in SysMonthCal32 object

Hello,

I wanted to set date in the SysMonthCal32, But when I spy that I am not getting any such properties to get and set the date could you please tell me how can I do that?



Please find attached file 
  • Hi Ganesh,

     


    In the TestComplete documentation, I've found a sample that sets the date to this control. Please look at it here.

  • ganesh_hegde's avatar
    ganesh_hegde
    Occasional Contributor
    Is there any way to click on perticular date? when I tried with click interaction it is just focusing date. I have also tried with recording scripts but did not help me.




  • Hi Ganesh,


     


    The possibility of clicking a target date can be related to how this control is implemented in your app. If you can see the whole structure of the control's object inside TestComplete's Object Browser, then you can use the Click method. However, from my point of view, the suggested approach (using special properties and methods) is more reliable.