Angular 13 Guide w/Kendo Controls

1 Answer 481 Views
Elements Test Recording
Ian
Top achievements
Rank 1
Ian asked on 29 Jan 2022, 07:04 PM

Hi,

We have begun using Test Studio with Angular 13. We use Kendo UI for Angular as our control set.

When we record a step, the picker is often unable to pick the actual element. For example, regard this UserName form field. It's wrapped in many Kendo elements. The picker in the Recorder can't find the Input text box, but rather only the "FormField" element since it's at the top.

        <kendo-formfield>
          <kendo-floatinglabel text="User Name">
            <kendo-textbox
              name="txtUserName"
              title="User Name"
              formControlName="userName"
              kendoTextBox
              required
              autocomplete="username"
            ></kendo-textbox>
          </kendo-floatinglabel>
          <kendo-formerror id="lblRequired1">Required</kendo-formerror>
        </kendo-formfield>

 

Is there a guide on how to setup our Angular Kendo controls so that the Recorder can find the value of the Text box?

1 Answer, 1 is accepted

Sort by
1
Accepted
Plamen Mitrev
Telerik team
answered on 02 Feb 2022, 01:57 PM

Hi Ian,

Thank you for starting a discussion on this topic. I will share more details from Test Studio's perspective and regarding recent updates to Kendo controls.

Test Studio has custom built translators that improve the recording and execution experience with complex controls, like Kendo UI for Angular. Since the controls have multi-level complex structure and some times dynamic IDs, we have our our own logic to handle those and provide more verifications and actions.

The latest release of Kendo controls introduced many changes to the controls' structure, including textbox, and this affected how Test Studio interacts with them. We are already working on that and in fact we the update from Test Studio side is scheduled for mid February 2022. Please update Test Studio with the new release and record the necessary steps again, either in new test or in existing one. The new versions of the translators should correspond to the controls and capture your actions correctly. 

I hope the above information will be helpful to you. Of course, I remain available to continue this conversation and provide more details or answer your questions.

Regards,
Plamen Mitrev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
Tags
Elements Test Recording
Asked by
Ian
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question
or