Contributions
Re: How to get French or Dutch date in English environment?
Hi, I think you are trying to move me away from the real problem (I appreciate the help though :-)) I wantONE script which does - set language to french - get date in the format Mercredi 5 Mars 2014 - do mystuff - set language to dutch - get date in the format Woensdag 5 Maart 2014 - do mystuff - set language to German - get date in the format Mittwoch 5 Marz 2014 - do mystuff and NOT - set locale to french in windows control panel - run script - set local to Ducth in windows control panel - run script and so on.... For such an expensive product like TestComplete I really expected this to be trivial function. We are on version 9 btw.1.4KViews0likes0CommentsRe: How to get French or Dutch date in English environment?
I can't believe that there are no 'simple' functions to override my system language setting. I tried to play with aqEnvironment.SetLocaleInfo and SetKeyboardLayout but that doesn't seem to do anything. The testcomplete helpfiles don't help at all. Making some functions with some own translation tables is not something I expected to do with a testtool like testcomplete.1.4KViews0likes0CommentsHow to get French or Dutch date in English environment?
Hi, I am running a test for awebapplication. My environment is english (locale) A date field must be pre-filled with a localized current date in the format dd Month yyyy so in English 04 march 2014 in french 04 mars 2014 in Dutch 04 maart 2014 So I like to do something like - set language to dutch - curdate = aqDateTime.Today() - aqConvert.datetimetoformastr(curdate, "%A %#d %B") The first step is still a mystery. How do I script my testset to be english, french or dutch.? Regards3.3KViews0likes5Comments