My Oracle Support Banner

SetDatetime Keyword Is Not Working In Test Automation Script (Doc ID 2722935.1)

Last updated on OCTOBER 06, 2021

Applies to:

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


Execution of Test Script fails with below error on SetDateTime Keyword

Unhandled alert exception. Seen when an unexpected alert appears, like unexpected modal is blocking webdriver form executing any more commands.

The issue is reproduced with the following steps:

1.Launch Siebel Application

2.Navigate to Release Screen ->Test Scripts View

3.Create new record and save the record

4.Drilldown on the name and navigate to Test Script Detail View

5.Create the test scripts in the following sequence

                Action             Target Object                    Inputs
Launch   Siebel Universal Agent;<UserName>;Y
GoToView NULL|Web Call Center Home Screen|L1 IPH1;IPH2;IPH3
ClickLink Activity List Applet (WCC Home)|AppletTitle Activities;IPH2;IPH3
ClickLink Activity List Applet With Navigation|Type|1 Appointment;IPH2;IPH3
SetDateTime Activity Form Applet|Planned Completion Today-;100;IPH3
SendKeys Ctrl+Shift+S IPH1;IPH2;IPH3

[1]Wrong field values or value types detected in field End. Please re-enter your field values. If you need additional assistance, please refer to the documentation.(SBL-UIF-00299) [2]The value '06/03/2020 00:20:00' for field 'Planned Completion' is required to be '>= [Planned]'.Please enter a value that is '>= [Planned]'.(SBL-DAT-0052);IPH2;IPH3

6.Install DISA

7.Enable Test Automation for the Object Manager

8.Execute the Test script using the 'Play' button on the Test Script Form Applet

9.Test Script Execution fails at SetDateTime Step with the above error




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

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