Skip to content

Commit 7efd081

Browse files
committed
Added a new FAQ to docs
1 parent 289e852 commit 7efd081

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: "How to Update an Excel File in Testsigma Uploads?"
3+
metadesc: "When Excel files are modified during test execution, updates are stored locally. Learn how to upload the updated file back to Testsigma correctly."
4+
order: 24.41
5+
page_id: "how-to-update-an-excel-file-in-testsigma-uploads-?"
6+
warning: false
7+
contextual_links:
8+
- type: section
9+
name: "Contents"
10+
- type: link
11+
name: "Prerequisites"
12+
url: "#prerequisites"
13+
- type: link
14+
name: "Install the Addons"
15+
url: "#install-the-addons"
16+
- type: link
17+
name: "Steps to Resolve the Issue"
18+
url: "#steps-to-resolve-the-issue"
19+
---
20+
21+
---
22+
23+
When you modify an Excel file during a test run, the changes are stored locally on the test machine. To make sure these updates are reflected inside Testsigma, you must upload the modified file back using the appropriate addons. This article discusses the steps required to update and re-upload the Excel file correctly.
24+
25+
---
26+
27+
> ## **Prerequisites**
28+
>
29+
> Before you begin, ensure that you have an excel file that has been uploaded to Testsigma.
30+
31+
---
32+
33+
## **Install the Addons**
34+
35+
1. From the left navigation bar, click **Addons**.
36+
![Addons](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_1.png)
37+
38+
2. Under the **New & Updated Addons** section, search for the **Upload Latest file to Testsigma Uploads** addon and click **Install**.
39+
![Upload Latest File to Testsigma Uploads](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_2.1.png)
40+
41+
3. Under the **New & Updated Addons** section, search for the **ExcelActions_cloud** addon and click **Install**.
42+
![ExcelActions](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_3.png)
43+
44+
---
45+
46+
## **Steps to Resolve the Issue**
47+
48+
1. In you test case, first use the **Wait the data datavalue into the Excelfile excel-path with Cell value rowNo, columnNo, sheet-index and store the path in runtime variable variable-name (supports upload section)** NLP to enter the value that you want to add to the excel file.
49+
![NLP 1](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_4.1.png)
50+
51+
- Enter the value you want to write into the **datavalue** placeholder.![datavalue](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_5.png)
52+
- Click the **excel-path** placeholder and replace it by selecting **Upload** from the **Test Data Types** dropdown.![Upload](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_6.png)
53+
- In the **Uploads** overlay, choose the Excel file you want to update.![Excel file](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_7.png)
54+
- Specify the row number in the **rowNo** placeholder. ![rowNo](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_8.png)
55+
- Specify the column number in the **columnNo** placeholder. ![columnNo](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_9.png)
56+
- Specify the sheet number in the **sheet-index** placeholder. ![sheet-index](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_10.png)
57+
- Enter a variable name in the **variable-name** placeholder. ![Variable Name](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_11.png)
58+
- Click **Create Step**. ![Create Step](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_12.png)
59+
60+
2. Secondly, use the **Upload file with path on testigma uploads with projectid, applicationid, uploadname, url with API key api_key** NLP to push the updated file back to your project.
61+
![NLP 2](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_13.png)
62+
63+
- Click the **absolutepath** placeholder and replace it by selecting **Runtime** from the **Test Data Types** dropdown.![Runtime](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_14.png)
64+
- In the **Runtime Variable** overlay, select the runtime variable you created in the previous step. ![select the runtime variable](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_15.png)
65+
- Click the **projectid** placeholder and enter your project id. ![projectid](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_16.png)
66+
[[info | **NOTE**:]]
67+
| To get **project id** and **application id** use the following steps:
68+
| 1. Before you begin, open the inspect panel and refresh the page. Now, right-click on the application name and select **Inspect**.![Inspect](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_17.png)
69+
| 2. Go to the **Network** tab and refresh the page. ![Network](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_18.png)
70+
| 3. Click applications query. ![applications query](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_19.png)
71+
| 4. Here you can find your **projectId** and **applicationId** under the **Preview** tab. ![Preview](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_20.png)
72+
- Click the **applicationid** placeholder and enter your application id. ![applicationid](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_21.png)
73+
- Click the **uploadname** placeholder and enter your excel file’s name. ![uploadname](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_22.png)
74+
[[info | **NOTE**:]]
75+
| To get **uploadname** and **upload id**, go to **Uploads** and hover over the excel file you want to update. ![Uploads](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_26.png)
76+
- Enter the URL - **https://app.testsigma.com/api/v1/uploads/** and append the upload id from the upload page URL. ![URL](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_23.png)
77+
- Enter the api key in the **testdata** placeholder. ![api](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_24.png)
78+
[[info | **NOTE**:]]
79+
| Please refer to the [documentation on generating api keys](https://testsigma.com/docs/configuration/api-keys/).
80+
- Click **Create Step**. ![Create Step](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/uploads_25.png)
81+
82+
---

0 commit comments

Comments
 (0)