ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
Cloud Monitoring Recorder not saving password
Article ID: 127089
CA App Synthetic MonitorNIMSOFT CLOUD USER EXPERIENCE MONITOR
The CA Recorder is not correctly recording the username and password when I am recording my site. Yet I can record a login on gmail with no issue.
Different type of forms for gmail and the site where this issue was found.
CA Recorder for ASM
It was found that the page is using the Angular 2+ framework.
Because of that, it is not enough to just set the values to the inputs. Angular should update an inner model, which is based on input values. Change detection mechanism fires each time as the user clicks on inputs and presses the keys while entering data.
If wanting to enter the data programmatically, we also need to start change detection programmatically by dispatching the same events as users input.
You should add an assertion wait for the user name. That way any other steps added after the assertion would be taken only after the login is complete and the user name appears.