improved
Fasten Your Seatbelts! Optimized Process for Web Test Recordings
4 days ago by Alon Men
TL;DR
If you have large and/complex applications and tests, this one is a game changer! We've optimized our web test recording process by implementing selective and conditional DOM cloning that avoids unnecessary duplicates, and handles DOM changes efficiently, resulting in faster performance for complex applications.
How it works
With the latest update, we have refined our approach to DOM cloning during web test recordings. The key changes are as follows:
- Conditional Cloning: The system now only clones the DOM if the cursor moves over an element containing specific tags (generated by Testim), and there is no existing clone. If the element does not contain this tag, no clone is created.
- Avoiding Redundant Clones: If a clone of the DOM already exists and there are no mutations (changes) to the DOM, the system will not create a new one.
- Handling DOM Mutations: In the event of changes to the DOM, the current clone will be deleted, and a new clone will be created based on the updated conditions.
These improvements ensure that the DOM is not cloned unnecessarily, leading to a much faster and more efficient recording process. This enhancement is expected to significantly benefit our customers, especially those working with complex and heavy DOMs.