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.
I have a project with load test. The test has many user profiles and I need to add more in some cases. When they become too much, I can not save my changes in Test Studio.
The .tstest file is about 40-50 MB when I have this issue.
I was able to add a custom dynamic target and bind it to a data source. When I do the same for another custom dynamic target with the same Field Name and save the changes, the data binding breaks.
Both dynamic targets are changed to the first target with the lower destination step.
The selection from a KendoAngularList dropdown is defaulting to the recorded selection, when the step is data driven.
The temporary workaround is to convert the step to code from the context menu, after it is all configured.
Visual Studio behaves differently when using the PresentationCore.dll and on scaling different than 100% - here is some additional information about the Microsoft DPIHelper class.
Using this one somehow interferes with how Test Studio and the Testing Framework handles the different display scaling settings and causes some actions to be performed on wrong element.
One of my element has the following find logic:
XPath is exactly //td/input[@title[contains(., 'End Date (Month Day Year)')]]
When I ran my script I got the error below:
Exception thrown executing coded step: 'Enter Leave Request To Date in 'LeaveRequestToDateText''.
'//td/input[@title[contains(. 'End Date (Month Day Year)')]]' has an invalid token.
I notice that the find logic expression displayed in the error message has a missing comma. Do you know why?
When used in code Wait.For() certain element's attribute state, does not respect the timeout set to wait.
Additional details shared internally.