Telerik Forums
Test Studio Forum
0 answers
291 views

Hello,

I currently trying to automate a test with Teststudio where i insert a value to an input field on a webpage, save it and then edit it to annother value.
But when i run the test and the value shall be edited, the Test inserts the old value of this field.

 

 

Unfortunatly i cannot show Images in public due to security permissions.

 

Regards

Tobias Marx

Tobias
Top achievements
Rank 1
 asked on 08 Feb 2022
1 answer
620 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
158 views

Hi Team,

i need help in how do i save a value of disabled textbox in a variable and use that variable in automation as a test step?

 

 

 

Elena
Telerik team
 answered on 28 Jan 2022
1 answer
216 views

Hi All,

I have extracted 2 values (numerical) using the extract function in my test.

1. SOHBefore

2. SOHAfter

Haven't done much coding but I want to validate that

SOHBefore minus 5 = SOHAfter

How do I use a coded step for this? C++

Cheers.

 

Elena
Telerik team
 answered on 20 Jan 2022
1 answer
308 views

Hello,

My development team currently uses TFS2019 as their repository for all of their code. They use TFVC as their version control, not Git, and use TFS2019 as their CI tool. We do not currently have plans to move to Git.

Unfortunately, I am on a test team, which has separate access requirements from the development team, and I do not have access to Visual Studio 2019 but I do have access to Team explorer. Reading through the Test Studio documentation posted online, it seems I need to install Visual Studio Team explorer 2008 or 2010. Currently, on my machine, I have Visual Studio Team explorer 2019 and I can connect directly to my TFS server and commit changes through Team Explorer 2019, however, I keep running into a TF30063 error, see images 1 and 2 below, when trying to access my TFS server from Test studio.  

Is there a possibility to use a newer version of Team explorer such as 2017 or 2019, or do we absolutely have to use 2008 or 2010 to connect to TFS through Telerik Test studio?

 

Image 1. With Telerik Test studio open to the Project I am using, connect to TFS using the values below.

Image 2: when selecting the TFS project, Telerik Test Studio, I receive the TF30063 error, stating that I am an unauthorized user.

 

Thanks,

 

Jonathan

Plamen Mitrev
Telerik team
 answered on 18 Jan 2022
1 answer
162 views

I'm currently unsure how to go about this. Take for instance this simplified version of the issue as shown in this series of tests as steps.

1. Log in as user A

2. Perform actions Q,R,S

3. Log out of user A's profile

4. Log in as user B

5. Perform actions T,U,V

6. Log out of user B's profile.

Currently, I don't have a way to let the application know that the second time the "Log in" test runs, it's supposed to use a different bit of data. If I have two rows of data for that test. It simply runs the entire list of tests (from 1-6) for each row. But I'd like for it to run only once, but using different data for each Log in.

Any assistance is greatly appreciated.

Plamen Mitrev
Telerik team
 answered on 18 Jan 2022
0 answers
901 views
I'm a new user telerik and now I have an issue like this. how to solve this issue.?
this issue was created after I'm use connect telerik with data web service(API).

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at Telerik.Reporting.Processing.WebServiceDataSource.WebServiceClient.SendCore(IWebServiceRequestSettings settings, AuthenticationHeaderValue authHeader, HttpClient httpClient, HttpClientHandler httpClientHandler)
   at Telerik.Reporting.Processing.WebServiceDataSource.WebServiceClient.Request(WebServiceDataSource processedDS)
   at Telerik.Reporting.Processing.WebServiceDataSource.WebServiceDataProvider.GetRemoteRawData(WebServiceDataSource processedDS)
   at Telerik.Reporting.Processing.WebServiceDataSource.WebServiceDataProvider.get_RawData()
   at Telerik.Reporting.Processing.WebServiceDataSource.WebServiceSchemaAdapter.AddDataMeasures(SimpleDataModel model)
   at Telerik.Reporting.Processing.Data.SimpleSchemaAdapterBase.Fill(SimpleDataModel model)
   at Telerik.Reporting.Processing.Data.SimpleDataProvider`1.GetSchemaCore()
   at Telerik.Reporting.Processing.Data.DataProvider`1.Telerik.Reporting.Processing.Data.IDataProvider.GetSchema()
   at Telerik.Reporting.Data.Design.DataSourceService.GetLocalSchema(IDataSource datasource, IDataProviderContext dataProviderContext)
   at Telerik.Reporting.Data.Design.DataSourceDesignerBase.Telerik.Reporting.Design.Interfaces.IDataSchemaProvider.GetSchema()
   at Telerik.Reporting.Data.Design.DataSourceService.GetSchemaFromContext(Object context)
   at Telerik.Reporting.Data.Design.DataSourceService.Telerik.Reporting.Design.Interfaces.IDataSourceService.GetCurrentDataItemSchema(Boolean getFromParentRecursively)
   at Telerik.Reporting.Design.DataExplorerControl.<>c__DisplayClass2.<RefreshDataSource>b__0()
septe
Top achievements
Rank 1
 asked on 04 Jan 2022
1 answer
144 views

First - I read this article.

We have a multi-level-test that is using ExecutionExtensions (another Telerik link).

  1. Test A (Parent) has values that are being set using ExecutionExtensions during the OnInitializeDataSource event.  The data table returns multiple values (columns) across multiple rows.
  2. Test B (Child) has the InheritParentDataSource checkbox checked.

ISSUE: Upon execution, although Test A reports that multiple iterations have been run with correct values in the Test Studio UI, we see the runs are actually re-using the same values from ROW #1 only.

CAUSE: The IsDataDriven property of Test A is FALSE. 

RESOLUTION:
Within the designer/Test Studio UI for Test A, we add a BLANK/EMPTY Local Data Table.  That sets the IsDataDriven property to TRUE.  Then at runtime when the ExecutionExtensions create a new Data Table, the tests properly iterate the rows.

The IsDataDriven property is read-only and it's not clear if/how to set during OnInitializeDataSource.
Feels like a bug, please advise.

 

Billy
Top achievements
Rank 1
 updated question on 27 Dec 2021
1 answer
238 views

Hi All,

New to this but just can't work out where I am going wrong with a simple extraction and then using the extracted value in another field.

Extracting a number from 'Transaction Number' element.

'Extract 'TextContent' on 'Transaction Number' into DataBindVariable $(TxnNumber) - DataDriven: [$(TxnNumber)]

Then want to enter this number into another field 'Transaction Number Filter Box'

Enter text '' in 'Transaction Number Filter Box' - DataDriven: [$(TxnNumber)]

I've followed this but still can't seem to get it to work.

Create an Extraction Step | Progress Test Studio (telerik.com)

Help!

Adrian
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 20 Dec 2021
1 answer
144 views
Can we Build and run Test Studio in Jenkins CI deployed (.war) on a  server like tomcat? 
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?