Skip to content

Commit

Permalink
Merge branch 'dev' into chore/typesense
Browse files Browse the repository at this point in the history
  • Loading branch information
PratheepV authored Jun 23, 2023
2 parents 3118e52 + a7db5e1 commit 12e69de
Show file tree
Hide file tree
Showing 45 changed files with 327 additions and 158 deletions.
6 changes: 3 additions & 3 deletions src/pages/docs/desired-capabilities/add-chrome-extension.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Automate Add Chrome Extension Functionality"
metadesc: "How to add Chrome extension to one of your test sessions"
metadesc: "Learn how to add Chrome extension to one of your test sessions in Testsigma Application | Add a Chrome Extension to your Automation Session in 2 simple steps"
noindex: false
order: 15.9
page_id: "Automate Add Chrome Extension Functionality"
Expand All @@ -26,7 +26,7 @@ You can add a Chrome Extension to your Automation Session in 2 simple steps:
2.Specify the Extensions path in the Desired Capabilities.

---
##**Obtaining the CRX file for the extension**
## **Obtaining the CRX file for the extension**

1.If you already have the CRX file, you can skip to the next step.

Expand All @@ -38,7 +38,7 @@ You can add a Chrome Extension to your Automation Session in 2 simple steps:
https://docs.testsigma.com/images/add-chrome-extension/chrome-extension-to-install-testsigma.png)

---
##**Specify the Extensions path in the Desired Capabilities**
## **Specify the Extensions path in the Desired Capabilities**

Add an Execution Configuration in Testsigma and add the following Desired Capability:

Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/desired-capabilities/app-resigning.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Enable app resigning in iOS"
page_title: "Enable app resigning"
metadesc: "How to enable app resigning in iOS"
metadesc: "Learn how to set a desired capability to re-sign the app with the uploaded provisioning profile to install your app on the device during test execution"
noindex: false
order: 15.94
page_id: "How to enable app resigning"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Bypass unsafe download prompt in Chrome"
metadesc: "How to bypass the unsafe download warning prompt while downloading a file in your test using Testsigma"
metadesc: "Learn how to bypass the unsafe download warning prompt by setting a desired capability while downloading a file in your test using Testsigma application"
noindex: false
order: 15.5
page_id: "Bypass unsafe download prompt in Chrome"
Expand All @@ -25,7 +25,7 @@ However, there is a workaround for this issue and that is to enable the Safe Bro
You should already know how to add Desired Capabilities to your Tests. See [Desired Capabilities - Overview.](https://testsigma.com/docs/desired-capabilities/overview/)

---
##**Adding the Capability**
## **Adding the Capability**

|Name|Data Type|Value|
|---|---|---|
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Using custom User Profile in Chrome for Tests"
page_title: "Using custom User Profile in Chrome for Tests in Testsigma"
metadesc: "How to start the Chrome Browser with a custom User Profile in Test Session using Testsigma"
metadesc: "Custom user profiles help you emulate settings such as pre-installed extensions. Learn how to start the Chrome Browser with a custom User Profile in Test Session using Testsigma"
noindex: false
order: 15.7
page_id: "Using custom User Profile in Chrome for Tests"
Expand All @@ -24,7 +24,7 @@ To do the same, create a new profile, customize it as per your requirements by i
You should already know how to add Desired Capabilities to your Tests. See [Desired Capabilities - Overview](https://testsigma.com/docs/desired-capabilities/overview/)

---
##**Steps for using Custom User Profile in Testsigma**
## **Steps for using Custom User Profile in Testsigma**

1. Finding your current Profile path
2. Making changes in the Profile folder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Emulate Mobile devices with Chrome Browser"
metadesc: "How to emulate mobile devices using the Google Chrome Web Browser for Mobile Websites"
metadesc: "With Chrome Browser you emulate mobile device screen resolutions. Learn how to emulate mobile devices using the Google Chrome Web Browser for Mobile Websites"
noindex: false
order: 15.8
page_id: "Emulate Mobile devices with Chrome Browser"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ However, there are times when the reason for failure is not enough to fix the fa
To learn how to add Desired Capabilities, see [Desired Capabilities - Overview](https://testsigma.com/docs/desired-capabilities/overview/)

---
##**Enable Browser Console - Extended Debugging**
## **Enable Browser Console - Extended Debugging**

Pass the below given desired capabilities in case of respective Test Lab Type

Expand All @@ -39,7 +39,7 @@ Pass the below given desired capabilities in case of respective Test Lab Type
| The above desired capabilities are valid for Adhoc Runs and Test Plan Runs.

---
##**View Browser Logs**
## **View Browser Logs**

Once the desired Capabilities are added, you can execute it. The Test Result will show up as shown below:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Geolocation emulation for Localization Testing"
metadesc: "How to use Desired Capabilities to set the Geographical Location for running tests in Mobile Web."
metadesc: "Learn how to use Desired Capabilities to set the Geographical Location for running tests in Mobile Web in Testsigma Application"
noindex: false
order: 15.4
page_id: "Geolocation emulation for Localization Testing"
Expand Down
35 changes: 25 additions & 10 deletions src/pages/docs/desired-capabilities/incognito-mode.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
---
title: "Run Browser in Incognito/Private mode"
page_title: "Incognito Mode"
metadesc: "How to run tests in Incognito/Private mode"
page_title: "Incognito/Private Mode Browser Testing - Testsigma"
metadesc: "Execute browser tests in incognito/private mode with Testsigma for secure and confidential testing environments, safeguarding your web application's privacy."
noindex: false
order: 15.99
page_id: "IC/PM"
page_id: "run-browser-incognito-tests"
search_keyword: ""
warning: false
contextual_links:
- type: section
name: "Contents"
- type: link
name: "Desired Capabilities for Incognito or Private Browser"
url: "#desired-capabilities-for-incognito-or-private-browser"
- type: link
name: "Add Desired capabilities in Ad-hoc Run Screen"
url: "#add-desired-capabilities-in-ad-hoc-run-screen"
Expand All @@ -23,20 +26,28 @@ Desired Capabilities are a set of properties used for customizing the Test Envir

Desired capabilities have now been added to the browser's Incognito/Private tab to launch the new browser or not save details and run every time a new test case in browsers.

[[info | NOTE:]]
| - You should know how to [Create Ad-hoc Runs](https://testsigma.com/docs/runs/adhoc-runs/), [Create Test Cases](https://testsigma.com/docs/test-cases/manage/add-edit-delete/#creating-a-test-case), and [Create Test Plans](https://testsigma.com/docs/test-management/test-plans/overview/).<br>
| - Desired Capabilities for Incognito/Private Tab Browsers Support **Google Chrome**, **Mozilla Firefox**, and **Microsoft Edge**.
---

### **Prerequisites**

Before using the Incognito/Private Mode Browser Testing feature, you should understand the concepts of [Create Ad-hoc Runs](https://testsigma.com/docs/runs/adhoc-runs/), [Create Test Cases](https://testsigma.com/docs/test-cases/manage/add-edit-delete/#creating-a-test-case), and [Create Test Plans](https://testsigma.com/docs/test-management/test-plans/overview/). in Testsigma.

---

## **Desired Capabilities for Incognito or Private Browser**

|Capability - Key|Data Type|Value|Function|
|---|---|---|---|
|testsigma.privateBrowsing|Boolean|True|The selected browser will be launched in **incognito** or **private mode**|
|testsigma.privateBrowsing|Boolean|False|The selected browser will be launched in **Normal mode**|
|No Capability|Boolean|False|The selected browser will be launched in **Normal mode**|

[[info | NOTE:]]
| Desired Capabilities for Incognito/Private Tab Browsers Support **Google Chrome**, **Mozilla Firefox**, and **Microsoft Edge**.

---
## **Add Desired capabilities in Ad-hoc Run Screen**

![gif for test case](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/dc_ad_hoc_run.gif)
## **Add Desired capabilities in Ad-hoc Run Screen**

1. Navigate to **Test Development** > **Test Cases**. Create a new project or open an existing project.
![Choose Project](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/testcase_dc.png)
Expand All @@ -52,9 +63,11 @@ Desired capabilities have now been added to the browser's Incognito/Private tab

5. Test steps will be executed in the Incognito/Private tab.

## **Add Desired capabilities in Test Plan**
Here is a quick GIF demonstrating the above workflow: ![gif for test case](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/dc_ad_hoc_run.gif)

![Test Plan Gif](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/dcd_ad_testplan.gif)
---

## **Add Desired capabilities in Test Plan**

1. Navigate to **Select project** > **Test Development** > **Test plan**.
![Choose Test plan](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/testplan_dc.png)
Expand All @@ -73,4 +86,6 @@ Desired capabilities have now been added to the browser's Incognito/Private tab

6. To update the test plan, click **Next** > **Update**.

Here is a quick GIF demonstrating the above workflow: ![Test Plan Gif](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/dcd_ad_testplan.gif)

---
2 changes: 1 addition & 1 deletion src/pages/docs/desired-capabilities/most-common.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Common Desired Capabilities"
metadesc: "Commonly used Desired Capabilities and explainer articles"
metadesc: "Learn about most commonly used Desired Capabilities for Chrome, Mozilla Firefox, Microsoft Edge, Execution Timeouts Specific and Environment Customizations in Testsigma Labs in Testsigma"
noindex: false
order: 15.2
page_id: "Common Desired Capabilities"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/desired-capabilities/network-throttling.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Network throttling"
metadesc: "How to enable and use Network Throttling feature in Testsigma"
metadesc: "Network throttling is an intentional slowing down of internet speed. Learn how to enable and use Network Throttling feature in Testsigma"
noindex: false
order: 15.91
page_id: "Network Throttling"
Expand Down
12 changes: 6 additions & 6 deletions src/pages/docs/desired-capabilities/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Desired Capabilities - Overview"
metadesc: "What are desired capabilities and how to add them to your test execution in Testsigma"
metadesc: "Desired Capabilities are used for customizing the Test Environment. Learn about desired capabilities in detail and how to add them to your test execution in Testsigma"
noindex: false
order: 15.1
page_id: "Desired Capabilities - Overview"
Expand Down Expand Up @@ -35,7 +35,7 @@ Desired Capabilities are added while selecting the Test Environment in Testsigma
In this document, we will cover how to use these capabilities in Ad Hoc Run, Quick Run, and Normal Execution. To do this, you should already know how to [Create Ad Hoc Runs](https://testsigma.com/docs/runs/adhoc-runs/) and [Create Test Plans.](https://testsigma.com/docs/test-management/test-plans/overview/)

---
##**Adding Desired Capabilities in Adhoc Run**
## **Adding Desired Capabilities in Adhoc Run**
**Navigation: Test Development > Test Cases**

Selecting a Test Case from the Test Cases page will take us to the Test Case details page. Click on the Run button on the top right corner to open the Ad-hoc Run overlay page.
Expand All @@ -47,7 +47,7 @@ Click on the Desired Capabilities link to reveal the Desired Capabilities field
Enter one or more desired capabilities set as mentioned in the below section - ‘Desired Capabilities Format’

---
##**Adding Desired Capabilities in Test Plan**
## **Adding Desired Capabilities in Test Plan**
**Navigation: Test Development > Test plan**

Clicking on the Create Test Plan Button on the Test Plans page opens the Create Test Plan page. Enter the details and move onto the next page by clicking on the Next button.
Expand All @@ -59,7 +59,7 @@ On the second page - ‘Test Machines and Suite Selection’, click on the Desir
Enter one or more desired capabilities set as mentioned in the below section - ‘Desired Capabilities Format’

---
##**Desired Capabilities Format**
## **Desired Capabilities Format**

Desired Capabilities are entered as ‘key-value’ pairs. Enter the details for Desired Capabilities as specified below:
- **Name:** Enter the name of the capability.
Expand All @@ -75,14 +75,14 @@ For example, we can allow invalid certificates for a webpage using the ‘accept
|acceptInsecureCerts|boolean|True|

---
##**Removing Desired Capabilities from Test Environment**
## **Removing Desired Capabilities from Test Environment**

While editing a Test Plan or Ad-hoc Run Configuration, click on the delete button(trash icon) towards the right of the desired capability row to remove the corresponding row of desired capability.

![Create Test Plan Remove Desired Capability](https://docs.testsigma.com/images/desired-capabilities/create-testplan-remove-desired-caps.png)

---
##**Available Capabilities**
## **Available Capabilities**

Here are some links to some of the available Desired Capabilities:

Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/desired-capabilities/screen-shot-capture.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Enable capturing screenshots for Android and iOS"
page_title: "Enable capturing screenshots for Android and iOS"
metadesc: "How to enable capturing screenshots for Android and iOS"
metadesc: "While testing application in Testsigma, it is important to enable capturing screenshots. Learn how to enable capturing screenshots for Android and iOS"
noindex: false
order: 15.95
page_id: "How to enable Screen shot capture for Android and iOS"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/desired-capabilities/set-geo-location.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Set Geolocation for Tests in Chrome and Firefox"
page_title: "Set Geolocation for your Tests"
metadesc: "How to set the location of your Test Machine by using desired capabilities in Testsigma"
metadesc: "Learn how to set the location of your Test Environment where tests are run by using a pair of desired capabilities in Testsigma Application."
noindex: false
order: 15.6
page_id: "Set Geolocation for Tests in Chrome and Firefox"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/desired-capabilities/webviews.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Configure Android WebViews"
page_title: "webviews"
metadesc: "How to configure Android WebViews"
metadesc: "To inspect WebView elements in Testsigma, WebView debugging must be enabled within your application. Learn how to configure Android WebViews."
noindex: false
order: 15.98
page_id: "webviews"
Expand Down
12 changes: 3 additions & 9 deletions src/pages/docs/elements/android-apps/capture-single-element.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Create One Element at a Time (Using Mobile Inspector) for an Android Project"
metadesc: " How to create one element at a time using the Testsigma mobile inspector for an android project in Testsigma."
metadesc: "Learn how to create one element at a time using the Testsigma mobile inspector for an android project in Testsigma application."
noindex: false
order: 6.33
page_id: "Create One Element at a Time (Using Mobile Inspector) for an Android Project"
Expand Down Expand Up @@ -28,20 +28,14 @@ In an Android project in Testsigma, you can selectively capture elements one at
<br>

---
##**Pre-requisites**
## **Pre-requisites**
1. You should have an android project in Testsigma. See [creating a project](https://testsigma.com/docs/projects/overview/).
2. Your android applications’ apk should be uploaded in Testsigma so that the mobile test recorder can record elements from it. See [uploading apps to Testsigma](https://testsigma.com/docs/uploads/upload-apps/).

<br>

**Navigation**

**Test development > Elements**

<br>

---
##**How to create one element at a time using the Testsigma mobile test recorder for an android project in Testsigma**
## **How to create one element at a time using the Testsigma mobile test recorder for an android project in Testsigma**

1. On the ‘All Elements’ page, click on the ‘Create’ button on the top right corner of the page:

Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/elements/android-apps/create-manually.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Create Elements [Manually]"
metadesc: "How to create elements manually for an android project in Testsigma."
metadesc: "Element path plays an important role in dynamic websites. Learn how to create elements manually for a android apps in Testsigma."
noindex: false
order: 6.34
page_id: "Create Elements [Manually]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Different ways to create Elements in an Android Project"
metadesc: "Various ways to create elements for an android project in Testsigma."
metadesc: "Elements refer to the different objects in your android application. Learn about various ways to create elements for an android project in Testsigma."
noindex: false
order: 6.36
page_id: "Different ways to create Elements in an Android Project"
Expand Down
8 changes: 4 additions & 4 deletions src/pages/docs/elements/android-apps/overview.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
title: "Overview of Elements for an Android Project"
metadesc: "What are elements in an Android project in Testsigma."
metadesc: "What are elements in an Android project in Testsigma. Also learn how these elements can be captured in 2 different ways in Testsigma"
noindex: false
order: 6.31
page_id: "Overview of Elements for an Android Project"
warning: false
---

---
n element in an Android project in Testsigma refers to an object that forms a part of the UI of the application and can be located or identified. Testsigma stores all elements corresponding to a project at one place under **‘Test Development > Elements’**.
Element in an Android project in Testsigma refers to an object that forms a part of the UI of the application and can be located or identified.

These elements can be captured in 2 different ways in Testsigma:

1. Manual creation: Here, you manually give the details of the element to create them. See [creating elements manually](https://testsigma.com/docs/elements/android-apps/create-manually/).
2. Via mobile test recorder: Here, you access your application’s UI via the mobile test recorder and inspect the elements that you want to capture. See [capturing elements using Mobile test recorder](https://testsigma.com/docs/elements/android-apps/capture-single-element/).
1. **Manual creation:** Here, you manually give the details of the element to create them. See [creating elements manually](https://testsigma.com/docs/elements/android-apps/create-manually/).
2. **Via mobile test recorder:** Here, you access your application’s UI via the mobile test recorder and inspect the elements that you want to capture. See [capturing elements using Mobile test recorder](https://testsigma.com/docs/elements/android-apps/capture-single-element/).


Testsigma supports 5 locator types to identify these elements for your automated tests:
Expand Down
14 changes: 4 additions & 10 deletions src/pages/docs/elements/android-apps/record-multiple-elements.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Record Multiple Elements for an Android Application"
metadesc: "How to record multiple elements for an android project in Testsigma."
metadesc: "Elements path play an important role in Automation Testsing. Learn how to record multiple elements for a Mobile Web Application project in Testsigma."
noindex: false
order: 6.32
page_id: "Record Multiple Elements for an Android Application"
Expand All @@ -23,26 +23,20 @@ contextual_links:
---

---
##**Introduction**
## **Introduction**
When automating test cases for an android application, you can capture multiple elements from the application in one go. This article covers how to do that.

<br>

---
##**Pre-requisites**
## **Pre-requisites**
1. You should have an android project in Testsigma. See [creating a project](https://testsigma.com/docs/projects/overview/).
2. Your android applications’ apk should be uploaded in Testsigma so that the mobile test recorder can record elements from it. See [uploading apps to Testsigma](https://testsigma.com/docs/uploads/upload-apps/).

<br>

**Navigation**

**Test Development > Elements**

<br>

---
##**How to record multiple elements for an android project in Testsigma**
## **How to record multiple elements for an android project in Testsigma**
1. On the ‘All Elements’ page, click on the ‘Record’ button on the top right corner of the page:

![record-button-under-record-multiple-elements-for-an-android-project-in-Testsigma](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/elements/android-apps/record-multiple-elements/record-button-under-record-multiple-elements-for-an-android-project-in-Testsigma.png)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Supported Locator Types in an Android Project"
metadesc: "Supported locator types for creating elements for an android application in Testsigma."
metadesc: "Supported locator types for creating elements for an android application in Testsigma. Learn five ways to uniquely identify or locate elements in your automated tests."
noindex: false
order: 6.35
page_id: "Supported Locator Types in an Android Project"
Expand Down
Loading

0 comments on commit 12e69de

Please sign in to comment.