Angular input fields not replaying correctly in TruClient
Question ID: 108261

I have two TruClient/Chromium scripts that have Angular input fields for a phone number and a date that are required to contain data to continue. When accessing the application manually, typing in the Angular input fields works as expected. However, when replaying the TruClient develop mode the following script will fail on the these steps and the inputs are not input correctly.

Marked as spam
Posted by (Questions: 144, Answers: 1)
Asked on April 25, 2018 1:14 pm
Answers (1)
Private answer

On older versions, text boxes were being filled directly using the .value property of the input field, for example. If you check on 12.53 and 12.55 the text is being added instantly to the text field, and because of that frameworks like Angular that rely on keyboard events will not behave correctly. No keyboard event is being sent! Only some value is changed, and the Angular binds are unaware of that.

In newer versions, like 12.56, TruClient support keyboard simulation. Basically, TruClient behaves like an actual TruClient and types each character one by one, in a speedy manner, to make sure any interaction is as close as possible to the real user.

To resolve the issue, either upgrade to version 12.56, or Micro Focus R&D has created hotfixes for version 12.53 and 12.55. this issue does affect the Chromium and Firefox browsers in TruClient

Marked as spam
Posted by (Questions: 0, Answers: 152)
Answered on April 25, 2018 1:18 pm

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top