Telerik Forums
Test Studio Forum
1 answer
506 views

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?

Plamen Mitrev
Telerik team
 answered on 02 Feb 2022
1 answer
119 views
When we are using highlight element method to record steps for a WPF application Test studio identifies the element using XAML path as its default Find logic. If there is a property "AutomationProperties.AutomationId" is set Teststudio doesn't grab this automation Id by default. Is there a way to force Teststudio to always get Automation Id if it exists and then fall back to XAML path  for its find logic ?
Plamen Mitrev
Telerik team
 answered on 24 Nov 2021
1 answer
118 views

Hello,

I am currently trying to automate selecting a value from a dropdown to find a company by code (not a select). For example the company code may be WRC. If I type "WR" it goes from showing all the companies beginning with "W", to then all the companies beginning with "R". upon inspecting the element, its an input field, with an ID and Value properties, in light of this is there any way i can, through code or otherwise directly set the value of the input field without using the simulated typing?

Thanks in advance!

Daniel
Top achievements
Rank 1
Iron
Iron
 answered on 25 Aug 2021
1 answer
131 views
Hey, i'm trying to integrate test studio to work with my job's custom software. I am able to data bind select boxes, however with multi-select boxes i can't find an option to bind to data (even local data). Is there a way that this can be achieved out of the box? or do i have to write code for this (if i do can someone point me in the right direction please)? Thanks in advance
Plamen Mitrev
Telerik team
 answered on 19 Aug 2021
1 answer
114 views

Hello,

 

I am trying to edit the find logic for an element that changes every time you click the button. For Example, the field changes from CreatePurchReq1_New0 to CreatePurchReq2_New. I tried editing the element to 'Starts With' 'CreatePurchReq' but can't do 'Ends with' because the number at the end changes too, and the CreatePurchReq ID is also used elsewhere on the page so it is not specific enough. 

Is there a way to use wildcards like in SQL? Not sure on the best way to proceed.

Elena
Telerik team
 answered on 09 Aug 2021
0 answers
109 views

Hello,

recently I had update to version 2021.1.616.0 and after this update all KendoAngularTextBox stop worked and my tests are failing. When I open element in record mode its OK and element is located, but can't work with it (validation, insert text etc). I have tried record it again and localization of element have changed (pic1 old and pic2 new).

Can someone help me solve this, because remaping all elements is to many hours work.

BTW: when I use old version of telerik test studio KendoAngularTextBox is working fine

Thx for any help

Filip
Top achievements
Rank 1
 updated question on 27 Jul 2021
2 answers
126 views

I thought I had this figured out, but TS has proven me wrong. My problem is with find expressions and has happened multiple times. When I fix an expression and validate it, TS says it can find the element. However, when I run the test, the same step fails with the same cant locate error. When I look at the find expression, its still the one I corrected but now TS doesnt recognize it as valid expression.

Another issue I'm have has to do with 'Enter text'. All I get is errors like:  

Target '[Element: 'ul:0']' is not a supported element to set text to.

 

 

Thanks

 

Elena
Telerik team
 answered on 09 Jul 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?