My Oracle Support Banner

Test Automation Script Today+ Function Uses Incorrect Date Format in Non ENU languages (Doc ID 2730618.1)

Last updated on NOVEMBER 20, 2020

Applies to:

Siebel CRM - Version 17.0 [IP2017] and later
Information in this document applies to any platform.

Symptoms

When playing back a test automation script that uses TODAY+5 to set a date and play it back in ENU it works fine but in DEU language
the following error occurs.

ERROR
-----------------------
Der Wert "11.10.2020" fur Field "Abschulussdatum" muss ">=Today()" sein.

Geben Sie einen Wert ein, der " >=05.11.2020" ist. (SBL-DAT-00521)

 

The translation is approximately

The value "11.10.2020" for the field "Completion date" must be "> = Today ()".

Enter a value that is "> = 05.11.2020". (SBL-DAT-00521)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Record a new script and navigate to my opportunities.

2. Select an opportunity, change the description ,save, change the close date, save, change probability, save.

3. Stop recording. save, rename script to TEST OPPTY 001 and click import.

4. Site map -> release -> test scripts, drill down TEST OPPTY 001

5. Click play at the top to confirm it works.
A message shows Chrome is being controlled by automated test software.
It navigates to opportunity and updates the record successfully.
The original action is not yet using Today+

6. Close the report

7. Go back to the test script record in Releases -> Test Script -> TEST OPPTY 001 and notice step 8 setttings:

keyword: SetDateTime
Object RN: Opportunity Form Applet - Child
Object RN: CloseDate2
Inputs: M:d:yyyy
Inputs : 11:27:2020a

8. Change step 8 to use: 
Inputs: Today+5

9. Play it in ENU. It works.

10. Play it in DEU and notice the error message:

Der Wert "11.10.2020" fur Field "Abschulussdatum" muss ">=Today()" sein.

Geben Sie einen Wert ein, der " >=05.11.2020" ist. (SBL-DAT-00521)
the translation is approximately

The value "11.10.2020" for the field "Completion date" must be "> = Today ()".

Enter a value that is "> = 05.11.2020". (SBL-DAT-00521)



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.