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!
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.
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.
We have a large PDF (60+ pages) and try to verify certain content on specific pages. During the recording process some elements are captured with TagName and TextContent and others with TagIndex. In this scenario TagIndex is not reliably, because the document is large and the elements change dynamicaly.
One solution is to update the element's find logic manually on all elements that use TagIndex, but this is very time consuming.
Another option is to use coded step to find the target element by TextContent and verify it.
We are trying to record mobile web tests, but after visiting the first page the device gets disconnected.
A loading screen appears in the DOM explorer, but after a while it stops without recording the second page.
The switching between pages is with normal anchors on the website.
This happens on certain pages with large DOM size.
The SimulateRealTyping option is missing for my RadSearchBox text entered step. At the same time I have the option to change the typing speed, which seems like a bug.
There is also missing ScrollToVisibleType for this action.
The issue here is that when I create a bug in Jira Cloud or TFS and attach the results, I get different contend in the attached files. If I run a test manually from the project tab (quick execution), click on the step failure details for a failed step, and submit a bug I get the detailed log files in the attachment. If I run the test from a test list (either locally or remotely) the log files only contain a single line. This affects both ExecutionLog.txt and FailedStepLog.txt. I don't see why they should be different. It is very hard to troubleshoot and issue without the full log.
Hello,
I would like to report what is probably a bug within the Telerik Test Studio.
I have imported / data bound a CSV file to a data driven test case. There is one field in one record that is not being picked up by your software. It is very bizarre. I though I had encountered something like this before but was not able to reproduce. Now, I have found it again. The column in question contains both American zip codes and Canadian postal codes. The all numeric zip codes are being picked up but the alpha-numeric postal code is not.
I have included a copy of the CSV file and a couple of screenshots from the software (one in Excel and the other from the "Bind test to a data source" screen) of the file in question.
When I used...
MessageBox.Show(Data["landlordMailOopPostalCode"].ToString());
...in a coded step I see absolutely nothing in the dialog screen.
If you wish to see my project please let me know.
Thank you.
The step failure details shows the option to add an element to the repository. This option actually does not work and it does not generate any log.