Sometimes when you are testing an application written in Angular 4, the text box will not accept a value that is correct during playback (e.g. zip code is not in the right format) when you use DoSetText to set the value.

This issue is known and it is not a bug in Rapise. For some controls DoSendKeys should be used instead of DoSetText, it is a bug in Angular itself.

The full solution is to replace 'DoSetText' with combination of 2 commands:

SeS('obj').DoLClick(); // This is needed to set focus


Article Info
  • Last Updated: 7/18/2018
  • Article ID: KB361
  • Views: 245