Forum Discussion

liorp200's avatar
15 years ago

Date field on dot.net Form (not web)

Hi All



Those are my first steps in TC so please be nice ...:)



i have date field (please see the screen shot) that i want change in runtime after i record a test ,

from some reason the field change according my code but immeditelly change back .... to the default screen



what colud be the problem ?



Many Thanks

Lior

1 Reply

  • sbkeenan's avatar
    sbkeenan
    Frequent Contributor
    Hello Lior



    I'm not sure how you've recorded your script, but if you're using VB Script, something like this should work:

        dateControl.wDate = "01/01/2011"



    Regards

    Stephen.