- Elements (Objects)
- Web Applications
Record Single Element
Record Multiple Elements
Create Elements
Supported Locator Types
Formulating Elements
Shadow DOM Elements
Verifying elements in Chrome DevTools
Handling iframe Elements?
Create Image Based Elements
Dynamic Locators using Parameter
Dynamic Locators using Runtime
Using Environment Test Data for Dynamic Locators
Locating Dynamic Elements in Date Widget
Freeze & Inspect Dynamic Elements (WebPage)
Locating Dynamic Elements in Tables
Import/Export Elements
Locator Precedence (Web Apps)
Verify Elements from Test Recorder
Handling iframe Elements?
While writing test cases for web applications that involve iframes, it is important to understand them clearly. In this article, we will discuss how to handle iframe elements that are captured using the recorder.
Prerequisites
Before you begin, ensure that you have referred to:
Best Practices While Using iframe Elements in Test Cases
- When you capture iframe elements using Testsigma recorder, there is no need to use the NLP switch to the frame since the recorder automatically captures the iframe details. The test case will work without using the NLP.

- If we use the NLP switch to the frame, we should edit all the iframe elements and uncheck the option present inside nested content to make the test case work.

NOTE:
If you enable the Present inside nested content option while already inside an iframe, it will result in test failure since it starts searching for nested iframes.