Telerik Forums
Test Studio Forum
0 answers
923 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
146 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
239 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
147 views
Can we Build and run Test Studio in Jenkins CI deployed (.war) on a  server like tomcat? 
1 answer
413 views
I do not see any posts regarding Specflow integration in the last 5 years, and I wanted a current answer. I am writing an application in Blazor, using Telerik components, with all my test cases written in Gherkin. Selenium integrates with Specflow, and I can call my test cases from Specflow as part of a fully automated regression test each time I build. However, I'd like to use Telerik Test Studio, as offers some advantages, but I still want to drive my testing from Specflow. A post from 7 years ago by Cody from Telerik said only the Telerik testing framework was compatible. Is this still true? My hope is I can use Test Studio to create the test cases, then integrate them with Specflow using a bit of code.  
Elena
Telerik team
 answered on 01 Dec 2021
1 answer
214 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
180 views

I have a test list where there are few tests in it and its set to re-run failed tests. If a test fails it re-runs and passes after re-run but for some reason the entire test list is marked as failed in HTML results.

Is this expected ? is there a way to re- run entire test list ? or just mark the test list as passed after re-runs pass ?

Plamen Mitrev
Telerik team
 answered on 15 Nov 2021
1 answer
150 views

I have Access Database Engine downloaded (32 bit version), still I keep getting an error "There is no data to execute the test with"

whenever I try to execute my test. I am trying to execute my tests locally.

Plamen Mitrev
Telerik team
 answered on 04 Nov 2021
1 answer
137 views

I'm automating a web system in Internet Explorer (the only browser supported). At a given point, I'm supposed to click a button and that should launch a second window. When clicking the button, this security dialog pops up: "Only secure content is displayed." and clicking in "Show all content" should allow the new window to open up.

Since the dialog is not a part of the DOM, I can't record it. Perhaps a coded step would be the solution, but I can't make it work. Any suggestions? Thanks!

Plamen Mitrev
Telerik team
 answered on 26 Oct 2021
1 answer
112 views

Is there a way to publish output/results to a dedicated node which has executive dashboard on it using ArtOfTest.Runner.exe ? We are running tests suing this

"C:\Program Files (x86)\Progress\Test Studio\Bin\ArtOfTest.Runner.exe" ^
  root="%WORKSPACE%\test_studio_project" ^
  list="%WORKSPACE%\test_studio_project\TestLists\%TEST_LIST%.aiilist" junit ^
  out="repos\TestResults" ^
  result="%BUILD_NUMBER%-Results" ^
  xml html junitstep
If someone has tried it and was successful, your help is much appreciated.
Plamen Mitrev
Telerik team
 answered on 26 Oct 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?