We are seeing intermittent ASM failures for several ASM Monitors. The script fails intermittently at a certain step.
Error message is as below :
(5306) Script failed at step 5: no such element: Unable to locate element: {"method":"id","selector":"discovery-username"}
Here is sample of script step 3, 4 and 5.
3
<selenese>
<command>clickAndWait</command>
<target><![CDATA[//form[@id='termsForm']/div/label/span]]></target>
<value><![CDATA[]]></value>
</selenese>
4
<selenese>
<command>clickAndWait</command>
<target><![CDATA[//form[@id='termsForm']/div[2]/button/p]]></target>
<value><![CDATA[]]></value>
</selenese>
5
<selenese>
<command>type</command>
<target><![CDATA[id=discovery-username]]></target>
<value><![CDATA[{username}]]></value>
</selenese>
Release : SAAS
Component : APP SYNTHETIC MONITOR ENVIRONMENTAL
We suggest you to make the following changes to the monitor.
Increase the following value:
Time-out in seconds
Under Advanced
Select the following:
Wait for network traffic to stop