My Oracle Support Banner

Test Script Execution Is Failed at Query Step On DTYPE_DATE Fields With >Today() Condition (Doc ID 2746572.1)

Last updated on APRIL 19, 2021

Applies to:

Siebel CRM - Version 20.5 and later
Information in this document applies to any platform.

Symptoms

Test Execution script at query on DTYPE_DATE field with >=Today() is failed with error

java.text.ParseException: Unparseable date: ">Today()"

The issue can be reproduced at will with the following steps:

1.Login to Siebel Application

2.Enable Test Automation and install DISA

3.Create test script in Release screen with the following script

Keyword
Sl.NO Test Step Description Action Target Object Inputs Choice of Closing Action Notes/Remarks Screenshot Required
  Launch     Siebel Universal Agent;SADMIN;Y     N
  ClickLink Activity List Applet (WCC Home)|AppletTitle   Activities;IPH2;IPH3     N
  ClickButton Activity List Applet With
Navigation|NewQuery
  IPH1;IPH2;IPH3 NULLL   N
  InputValue Activity Form Applet|Planned
Completion
  >=Today()+30;IPH2;IPH3     N
  SendKeys Enter   IPH1;IPH2;IPH3 NULL   N

In the above test case,Date Field(Planned Completion) is queried with >=Today()+ condition

3.Execute the test script

4.Test script is executed and error is noticed

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.