App Synthetic Monitor - can a test be marked as failed if specific text appears on page?
search cancel

App Synthetic Monitor - can a test be marked as failed if specific text appears on page?

book

Article ID: 261674

calendar_today

Updated On:

Products

CA App Synthetic Monitor

Issue/Introduction

Is there any documentation that tells me how to make ASM generate a test as failed if it reads a specific text from a web page (such as "Login Error")?

Environment

Release : SAAS

Resolution

The answer is yes.  You can put an '!' in front of the text you want to cause an error on.  In my test below (and I also included the tool tip explanation), I go to google.com and if google appears on the page, mark it as an error by searching for '!google'

 

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=nI4/4a6dr+mKmU6TJcd72Q==

 

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=psraM92rIk4AE4FbtcymjQ==