Support for VS Community Edition
When generating chained find expressions Test Studio always uses the id tribute for the parent element and it doesn't take into account the actual order of attributes.
Then, if you completely remove the id from the find logic list settings, the generated find expression uses only TagIndex for the target element and no chained find expression.
Generating this type of expressions need to be revised.
Example shared internally!
Building the find expressions for elements in HTML during recording respects the Identification Logic: http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/project-settings/identification-logic.aspx That isn't the case when Test Studio builds chained expressions though (e.g. it cannot find an Id or Name to build direct expression thus locates a unique parent element to include in the find logic. http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/knowledge-base/project-configuration/usingchainedfindexpressions.aspx In this case TS respects the Id or Name only and not the rest of the attributes (including custom ones). It will be nice if the chained find expressions building algorithm is extended to respect the preset identification logic as well.
Download dialog which is triggered from a new tab fails to be handled when running a test in Edge and Chrome extensionless mode.
Such download dialog is usually triggered with a link similar to this:
<a href="100MB.zip" target="_blank">Link to donwload</a>
The download dialog looks like this:
Although the actual image files are with good resolution and are smooth, when displayed in the Failure Details Images tab they are blurry.
It will be great to display the images better.
public static DesktopFind WaitForDesktopAppWindow(DesktopApplication desktopApp, string strWindowsName)
{
return desktopApp.WaitForWindow(strWindowsName, delay, 60000).Find; //with a delay of 700
}
fails if COMException is thrown.
Expected is to handle that exception and wait for the set timeout.
Version 2023.3.1115.
Test list logging option is not saving log in specified location from test list settings.
Steps to reproduce:
Expected: The references are added with relative path starting under the project root.
Actual: The project root is included in the relative path.
Test Studio supports adding a single custom base test class in the project. If one more base test class is defined and listed in a test code-behind file, the coded steps will be listed as empty and will not show the option to choose any of the methods in the test class.The steps will be still executed, but no changes can be applied within Test Studio (only in VS).
because I want many test sharing the same OnAfterTestCompleted(), instead of adding it to each test, I created new class:
using....
namespace test_studio_tests
{
public class CustomWebAiiTest : BaseWebAiiTest
{
public override void OnAfterTestCompleted(TestResult result)
{
// some code to be executed
}
}
}
and then all the tests to inherit from this new class
public class TestClass : CustomWebAiiTest
instead of Base one as they did so far. in TS project keep compiling, but then all the tests have extra icon and coded steps are not recognized anymore. in the meantime in VS2022 with TS plugin, all is recognized and keep working without any issue.
When sorting tests from the test list result panel, the same sorting is applied to the steps in every test from the test list when drilled down.
In a project which is not connected to a Scheduling service create a scheduled test list run recurring for the "1st Monday of each Month" with no end dates. This automatically switches to the Results tab but it freezes and you can only exit Test Studio.
Error in log is as follows:
[12/13 14:02:00,Telerik.TestStudio.exe(12028:34),Error] App.LogUnhandledException() : EXCEPTION! (see below)When i try to select "Today" and we are using Blazor - TelerikDatePicker it works correct localy, but if i try to run the list remotely it fails and the following failure information is given:
ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!
InError set by the client. Client Error:
Evaluation failed: TypeError: Cannot read properties of undefined (reading 'attributes')
at eval (eval at <anonymous> (:1:35), <anonymous>:1:79)
at eval (<anonymous>)
at __puppeteer_evaluation_script__:1:35
at __puppeteer_evaluation_script__:1:210
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'TelerikBlazor._instances['8e58978c-274d-4d10-8306-e5524fa8536d'].popupElement.attributes['data-id'].value',ClientId:'2E756E6DAEB47916B352F6434B5307BA',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'Evaluation failed: TypeError: Cannot read properties of undefined (reading 'attributes')
at eval (eval at <anonymous> (:1:35), <anonymous>:1:79)
at eval (<anonymous>)
at __puppeteer_evaluation_script__:1:35
at __puppeteer_evaluation_script__:1:210')
InnerException: none.
I have the same problem if i insted trying to type a date in the input field, works localy and fails remotly.
The failure is this time described as follows:
ArtOfTest.Common.Design.Exceptions.ExecutionException: Value cannot be null.Fails to run testlist remotly with Blazor TelerikDatePicker.
Using the calender and select "Today" gives following failure:
ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!
InError set by the client. Client Error:
Evaluation failed: TypeError: Cannot read properties of undefined (reading 'attributes')
at eval (eval at <anonymous> (:1:35), <anonymous>:1:79)
at eval (<anonymous>)
at __puppeteer_evaluation_script__:1:35
at __puppeteer_evaluation_script__:1:210
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'TelerikBlazor._instances['8e58978c-274d-4d10-8306-e5524fa8536d'].popupElement.attributes['data-id'].value',ClientId:'2E756E6DAEB47916B352F6434B5307BA',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'Evaluation failed: TypeError: Cannot read properties of undefined (reading 'attributes')
at eval (eval at <anonymous> (:1:35), <anonymous>:1:79)
at eval (<anonymous>)
at __puppeteer_evaluation_script__:1:35
at __puppeteer_evaluation_script__:1:210')
InnerException: none.
Using the input field and typing a date, gives the following failure
ArtOfTest.Common.Design.Exceptions.ExecutionException: Value cannot be null.
Parameter name: input
The cases works if they a executed localy.
Hello Progress Support,
I wonder if we can have "Bind data" applied on the "String Length" in "Generate random string" step?
Thank you for your help.
Regards,
Lisa
Hello,
Currently when I create a Git repo and connect Test Studio it creates default branch called "master".
Would it be possible to make it consistent with good practice and Git standard and rename it to "main" in the next version of Test Studio?
Can this be added as feature request please.
Thank you,
Max
When you execute a test list in CI environment with the ArtOfTest.Runner.exe, there is no option to publish the results to the storage server (if you have setup a storage server).
It will be great to have this option, so we can view the results in the Executive Dashboard.