From 40a2e72b01901e2fe2d5912ffd4a9fcbe5a6bea0 Mon Sep 17 00:00:00 2001
From: Bharath Krishna <118433150+bharathk08@users.noreply.github.com>
Date: Wed, 9 Oct 2024 16:31:57 +0530
Subject: [PATCH] Updated recording single element doc (#520)
---
src/left-nav-title.json | 2 +-
.../web-apps/capture-single-element.md | 51 +++++++++++++++++--
.../create-steps-restapi/mock-apis.md | 23 +++++----
3 files changed, 59 insertions(+), 17 deletions(-)
diff --git a/src/left-nav-title.json b/src/left-nav-title.json
index f194d54e..23f2e049 100644
--- a/src/left-nav-title.json
+++ b/src/left-nav-title.json
@@ -668,7 +668,7 @@
"add-test-cases-for-mobile-web-app": {"/docs/test-cases/manage/add-test-cases-for-mobile-web-app/": "Test Cases (Mobile Web App)" },
"most-common-issues": { "/docs/troubleshooting/salesforce-testing/most-common-issues/": "Most Common Issues" },
"developer-mode-for-ios": {"/docs/troubleshooting/mobile-apps/developer-mode-for-ios/": "Developer Mode (iOS 16 & Above)" },
- "mock-apis": {"/docs/test-cases/create-steps-restapi/mock-apis/": "Mock API Support" },
+ "mock-apis": {"/docs/test-cases/create-steps-restapi/mock-apis/": "Testing API Responses" },
"testsigma-on-prem-architecture": {"/docs/on-premise-setup/pre-installation/testsigma-on-prem-architecture/": "On-Premise System Architecture" },
"prerequisites-and-machine-configurations": {"/docs/on-premise-setup/pre-installation/prerequisites-and-machine-configurations/": "Prerequisites" },
"setup": {"/docs/on-premise-setup/installation-process/setup/": "Installation Steps" },
diff --git a/src/pages/docs/elements/web-apps/capture-single-element.md b/src/pages/docs/elements/web-apps/capture-single-element.md
index 4f610e74..ffa01743 100644
--- a/src/pages/docs/elements/web-apps/capture-single-element.md
+++ b/src/pages/docs/elements/web-apps/capture-single-element.md
@@ -14,6 +14,9 @@ contextual_links:
- type: link
name: "Steps to Capture an Element"
url: "#steps-to-capture-an-element"
+- type: link
+ name: "Steps to Update an Element"
+ url: "#steps-to-update-an-element"
- type: link
name: "Creating an Element While Creating Test Case"
url: "#creating-an-element-while-creating-test-case"
@@ -58,20 +61,58 @@ You can also selectively capture single element of a web application using Tests
5. Click on the hovered element and wait for the element to appear in the recorder.
![Element in Recorder](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/rmecoelm.png)
-[[info | **NOTE**:]]
-| - To update an element, hover over the recorded element and select the edit icon. Change the element details manually and click **Update** to finalize the changes.
-| ![Update Element](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/cseuelm.png)
-| - You can also update the element from the run results by navigating to **Ad-Hoc Runs > Test Step > Element > Edit Element**.
-
6. Once you have captured the necessary element, click on **Stop**.
![Stop](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/rsecosp.png)
7. You'll be redirected to the **Elements** page, where you can see all recorded elements.
+[[info | **NOTE**:]]
+| While recording elements, the recorder will also capture the page image, highlighting the respective element. This provides visual context along with the element details.
+
Here’s a quick GIF demonstrating how to record multiple elements for a web application.
![Record Multiple Element](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/RecordMultipleElements.gif)
+---
+
+
+## **Steps to Update an Element**
+
+1. From the left navigation bar, select **Create Tests > Elements**.
+![Elements](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Update_Elements_Nav.png)
+
+2. From the **Elements list** page. This will open the **Element Details** overlay.
+![Element Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Element_List_Page.png)
+
+3. In the **Element Details** overlay, click **Edit**. This will open the **Update Element** overlay.
+![Update Details Overlay](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Element_Details_Overlay.png)
+
+4. In the **Update Element** overlay, manually update the details you want to change, and click **Update Element**.
+![Update Element Overlay](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Update_Element_Overlay.png)
+
+
+
+
+ 💡 Additional Info:
+ You can update the following fields:
+