Forum Discussion
sbkeenan
13 years agoFrequent Contributor
Hi Will
Thanks for the reply. My final solution was to do just that, the only difference was that I used the Keys method with the assigned object variable. So, I had 'dteCtrl' declared and assigned to the date picker object, then used the syntax Call dteCtrl.Keys("^a[Del]<new date>"), where <new date> is a date string in the form "mm/d/yyyy".
I should really have posted this when I found that it worked, but I would still like to try and get the 'SetText' method to work, if possible. I have logged a support call to see if the TestComplete Support team can shed any light on it!!
Thanks again for your reply.
Regards
Stephen.
Thanks for the reply. My final solution was to do just that, the only difference was that I used the Keys method with the assigned object variable. So, I had 'dteCtrl' declared and assigned to the date picker object, then used the syntax Call dteCtrl.Keys("^a[Del]<new date>"), where <new date> is a date string in the form "mm/d/yyyy".
I should really have posted this when I found that it worked, but I would still like to try and get the 'SetText' method to work, if possible. I have logged a support call to see if the TestComplete Support team can shed any light on it!!
Thanks again for your reply.
Regards
Stephen.