- NLPs
Retrieve Value in Text Element
Capture Dropdown Elements
Unable to Select Radiobutton
Unable to Click Checkbox
Clearing the Session or Cookies
UI Identifier NLP
Drag & Drop NLP
Uploading Files NLP
Use MySQL Addon in NLPs- setup
Server Docker Deployment Errors
Secured Business Application Support
Troubleshooting Restricted Access to Testsigma
Why mobile device not displayed in Testsigma Mobile Test Recorder?
Unable to Create New Test Session
Agent Startup Failure Due to Used Ports
Tests Permanently Queued in Local Executions
Fix Testsigma Agent Registration Failures
Testsigma Agent Cleanup
Need of Apache Tomcat for Testsigma Agent- web apps
URL not accessible
Test Queued for a Long Time
Issues with UI Identifiers
Missing Elements in Recorder
Collecting HAR File
Errors with Browser Session
Page Loading Issues- mobile apps
Failed to Start Mobile Test Recorder
Troubleshooting “Failed to perform action Mobile Test Recorder” error
Why Test Execution State is Queued for a Long Time?
Why Mobile App Keeps Stopping After Successful Launch?
More pre-requisite settings
Why am I not able to start WDA Process on iPhone?
What are the Most Common causes for Click/Tap NLP Failure?
How to Find App Package & Activity in Android?
Cross-environment Compatible ID Locators (Android)
Why Accessibility IDs Over other Locators?
What are Common Android Issues & Proposed Solutions?
How to Find the App Bundle ID for iOS?
Developer Mode (iOS 16 & Above)
How to Handle iOS App Compatibility Issues?
How to Disable Play Protect for SMS Forwarder Installation?
How to Capture Network Logs in an Android Application?
Most Common Issues Caused When Using UI Identifiers
When locating a Web Element using any of its attributes (id, title, name, type, placeholder, class, text e.t.c), we need to make sure that the attribute value is unique. For example, if there are two buttons with the name 'submit' on the same page, we cannot use that attribute. In cases where no other unique Identifiers are present, we will make use of Xpath locators or CSS locators. However, there can be a number of issues when using UI Identifiers for your Test Steps.
Element Not Found

There can be mainly three reasons for the error:
1. Element not present in current page
Cause: The Element is not present on the current page. One of the previous steps might have passed but not run as expected.
Solution: Check the screenshot of the previous steps to know where it failed and correct the Step there. Please feel free to contact Support on chat if you need more help.
2. UI Identifier value is incorrect
Cause: The UI Identifier might be incorrect and therefore Testsigma is not able to find an Element with the given UI Identifier. The above-given image is an example of this error. You can see there is a typo in the UI Identifier (xpath value) in this case.
Solution: Check and correct the UI Identifier value or use Testsigma Recorder. If the element was recorded using Testsigma Recorder, please feel free to contact the Support on chat to report the issue.
3. Element is located in an external frame
Cause: The Element is inside an Internal Frame rather than the Body of the HTML Document.
Solution: You need to switch to the Frame first where the element is located before interacting with the element using Click or Type Statements. You can use any of the following Grammar:
- Switch to the frame UI identifier
- Switch to the frame by index test data
- Switch to the frame with name test data
Duplicate UI Identifiers
In this case, the Test Step might not actually fail. The Test Step will pass and the execution will continue although the correct Element was not selected. This is undesirable.

Cause: As you can see above, we used the xpath //input[@type='password'] and there are two matching Elements as shown in the image for the same xpath. This is a case of duplicate UI Identifiers and even if we need to select the second field, the first Element with the corresponding UI Identifier will always be selected.
Solution: Use a different XPath that is unique for the element.
Hidden or Disabled Elements
Element is either hidden or disabled exception

1. Dynamic Elements not available at runtime Cause: Sometimes, the element might be created dynamically and might not be present in the Web page at that instant. Solution: Wait for the element to be present by adding a wait step.
2. Disabled or hidden Element Cause: The given UI Identifier is hidden or disabled. Elements are sometimes hidden or disabled by the developer if they are not meant to be interacted with.

In the above image, you can see the type='hidden' for these input elements. An element may be hidden also using class names such as 'hide', 'hidden' or attributes(angular directives) such as 'ng-hide'.
Solution: If the element is hidden, the developer doesn't want the user to interact with it. Find another element that can be interacted upon.
Incorrect or Invalid UI Identifiers
The element corresponding to the locator type "id_value" and locator "//*[@id='lgnjs']" is not displayed.

1. Mismatch between UI Identifier type and UI Identifier value
Cause: Check the selected locator type corresponds to locator value. Locator type is 'id' but the given locator value is in 'xpath' format.
Solution: Correct the locator value corresponding to the locator type.
2. Element is not displayed in page
Cause: We can rule out the mismatch of Locator Type and Locator value in the above message.
Solution: Check whether the element is actually displayed in the present page.
Empty UI Identifiers
Empty locator value provided for the locator type "id_value".

Cause: No value provided for the UI Identifier.
Solution: Check the value of the UI Identifier and make sure that ui identifier value is not be empty.
Element not Clickable or Interactable
Element not clickable at point (x,y). Other element would receive the click:

1. Another Element overlapping temporarily Cause: The Element is covered or overlapped by another element temporarily(during a page load).
Solution: Add a wait step for the overlapping element to go away itself. The overlapping element will disappear automatically once the page loads completely.
2. Another Element overlapping until user acts upon it
Cause: The Element is covered or overlapped by another element that needs to be closed/removed (like sticky menus, drop down menus or alerts).
Solution: Add a Step to close/remove the overlapping Element. For Ad or Survey popups, there would be a close button which can be clicked to close the popup.
3. Element out of page view
Cause: The Element is not visible in the current Browser Window view. Check whether the Element is actually visible in the Test Step Screenshot(inside the Browser view port).
Solution: If the Element is not inside the view, add a Test Step to scroll to the Element.
Stale Element Exception
The element corresponding to the locator type "X" and locator "Y" cannot be interacted with since it is no longer appears/exists on the DOM of the page.
1. The element is no longer attached to the DOM
Cause: The element you are trying to interact with might be a dynamically rendered element that detaches/reattaches itself to the DOM/ HTML Source dynamically after the page load is complete. This is the most common cause.
Solution 1: Add a wait step so as to allow time for the element to be added to the DOM using the Wait for test data seconds template.
Solution 2: Add a Page Refresh step so that the element is loaded quickly on next reload.
2. The element has been removed from the DOM
Cause: The element has been deleted entirely.
Solution: Get the UI Identifier for the element once again.