If I understand your question correctly, you are asking whether TestComplete must execute UI interactions in a strict sequential (top-to-bottom) order, or whether it is supported to jump between different sections of a webpage (top, bottom, center, and back again) during a single test run without causing execution issues.
TestComplete does not require to follow the visual or recording order of the page. Steps execute strictly in the order they appear in the test, regardless of where the target objects are located on the page. However, when interacting with web elements that are outside the current viewport, it's wise to explicitly scroll the page to make the element visible on screen before performing any action.
To avoid unstable behavior or unexpected test errors:
- Always add a Scroll Page or Scroll to Object step before interacting with fields that are not currently visible.
- Do not rely on the initial recording order to handle scrolling automatically.
Important note for dynamic or lazy-loaded pages:
If your application loads elements only when the page is scrolled, you should:
- Scroll all the way down (or until the required section is loaded),
- Then explicitly scroll to the specific field before interacting with it.
Without these steps, TestComplete may fail to find the object, interact with the wrong element, which can appear as “confused” test behavior.
🤖 AI-assisted response
👍 Found it helpful? Click Like
✅ Issue resolved? Click Mark as Solution