search cancel

ASM Katalon Script with Angular able to play On-Prem but not succeed in the Cloud

book

Article ID: 189919

calendar_today

Updated On:

Products

CA App Synthetic Monitor DX Application Performance Management

Issue/Introduction

Katalon Recorder Script is locally with a site that runs with Angular, it runs perfectly locally On-Prem.
However, when uploaded onto the cloud site, the script is unable to target some of the elements.

Environment

Release : 10.0

Component : CA APP SYNTHETIC MONITOR (WATCHMOUSE)

Cause

Incorrect script.

Resolution

Engineering made some changes to the script:


1) After login steps, used command clickAndWait instead of click - Webdriver will wait for element present in DOM after page load.

2) They have changed element locator for the link 'Some Link' by using XPath.

These steps helped to run the script successfully locally On-Prem. 



According to the difference in behavior for local and cloud environments - it is still different environments and this software made by different vendors.

Because of that sometimes we need to adjust Katalon scripts manually as needed.