Skip to content

Commit

Permalink
Merge pull request #377 from testsigmahq/dev
Browse files Browse the repository at this point in the history
Migration of OS & Xray, updated Mailbox, added troubleshooting doc for missing elements.
  • Loading branch information
bharathk08 authored Mar 18, 2024
2 parents 11560d6 + a461e5d commit dd23ab3
Show file tree
Hide file tree
Showing 17 changed files with 784 additions and 215 deletions.
6 changes: 6 additions & 0 deletions src/left-nav-title.json
Original file line number Diff line number Diff line change
Expand Up @@ -613,5 +613,11 @@
},
"why-cloud-devices-cannot-access-local-apps":{
"/docs/FAQs/web-apps/why-cloud-devices-cannot-access-local-apps/": "Steps to Test Locally Hosted Apps"
},
"issues-with-ui-Identifiers":{
"/docs/troubleshooting/web-apps/issues-with-ui-Identifiers/": "Issues with UI Identifiers"
},
"test-execution-queued-for-a-long-time":{
"/docs/troubleshooting/web-apps/test-execution-queued-for-a-long-time/": "Test Queued for a Long Time"
}
}
270 changes: 195 additions & 75 deletions src/pages/docs/best-practices/best-practices.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/pages/docs/configuration/generate-wda-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ WebDriverAgent (WDA) plays an important role in automating iOS tests. It bridges
[[info | **NOTE**:]]
| Replace **<DEVICE_UDID>** with the actual **UDID** (Unique Device Identifier) of the iOS device or simulator where you want to run the tests.
5. Create a Zip Archive from the Products Folder
5. Create a Zip Archive from the Products Folder <br>
Locate the **Products** folder within the Xcode derived data directory. The path looks like this: <br>
```
Expand Down
61 changes: 32 additions & 29 deletions src/pages/docs/configuration/ios-settings.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
---
title: "Configure your Local iOS Device"
order: 19.3
page_id: "iOS Settings"
metadesc: "Testsigma allows you to run tests on your Local iOS devices in addition to Testsigma Cloud machines/devices. Learn how to configure your local iOS Devices"
title: "Configuring Local iOS Device with Provisioning Profile"
page_title: "Configure Local iOS Device Provisioning Profile for Testing"
metadesc: "Effortlessly configure your local iOS device with a provisioning profile to start. Follow steps for error-free testing and elevate your mobile app development."
order: 19.5
page_id: "creating-provisioning-profile-for-ios-app-testing"
noindex: false
search_keyword: ""
warning: false
contextual_links:
- type: section
name: "Contents"
- type: link
name: "iOS Native Setting"
url: "#ios-native-setting"
name: "Steps to Create Provisioning Profile"
url: "#steps-to-create-provisioning-profile"
- type: link
name: "Troubleshooting Errors"
url: "#troubleshooting-errors"
Expand All @@ -20,7 +21,7 @@ contextual_links:

---

Testsigma allows you to test local iOS devices and Testsigma Cloud machines/devices. To do this, you need to configure your provisioning profiles on Testsigma. This document provides a step-by-step guide for configuring your provisioning profiles and troubleshooting errors on Testsigma.
Testsigma allows you to seamlessly test your applications on local iOS devices as well as on Testsigma Cloud machines. To achieve this, you need to properly configure your provisioning profiles or WebdriverAgent (WDA) on the Testsigma platform. This guide provides the step-by-step process for configuring your provisioning profiles and troubleshooting any potential errors encountered within Testsigma.

---

Expand All @@ -30,33 +31,35 @@ Before configuring your local iOS devices, ensure you have a valid [Apple Develo

---

## **iOS Native Setting**

You must generate a Certificate Signing Request (CSR) and upload it to the Apple Developer portal to run Testsigma tests on your local iOS device. Here's how to do that:

1. Navigate to **Settings** > **iOS Settings**. ![iOS Setting in Testsigma](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/iosprofile_ts.png)
2. Click **+New Profile** in the top-right corner of the screen, and enter **Profile Name** in the field. ![Enter Profile name](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/generate_csr_dwnld.png)
3. Click **Generate Request** to create a **Certificate Signing Request** (CSR) and click **Download Request** to download the CSR. ![Generate CSR and Download](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/download_csr_ts.png)
4. Go to the [Apple Developer](https://developer.apple.com/account/resources/certificates/) portal and navigate to the **Certificates, Identifiers & Profiles** section. ![Apple Developer Website](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/certificate_apple.png)
5. Click on **+** next to **Certificates** in the **Certificates** section, then select **iOS App Development**. Finally, click on **Continue**. ![Select iOS App Developer](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/newiosapp_continue_apple.png)
6. Click **Continue** after uploading the **CSR file** downloaded from **Testsigma**. ![Upload CSR file](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/uploadcsr_continue_apple.png)
7. Click **Download** in the screen's top-right corner to download the certificate file from the Apple Developer Portal. ![Download Certificate from Apple](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/download_certificate_apple.png)
8. Click **Upload Certificate** next to **Certificate** in **Testsigma** and select the certificate downloaded from the Apple Developer Portal. ![Upload CSR file in Testsigma](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/upload_certificate_ts.png)
9. Create your **Mobile Provisioning Profile** by returning to the **Apple Developer** Portal and the **Certificates, Identifiers & Profiles** > **Profiles** section. ![Select Profiles in Apple Portal](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/select_profiles_apple.png)
10. Click on **+** next to **Profiles** in the **Profiles** section, then select **iOS App Development**. Finally, click on **Continue**. ![Select iOS App Developer and click continue](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/newiosapp_continue_profile_apple.png)
11. Click on the drop-down menu and select a **Wildcard App ID** in **Select an App ID**, then click **Continue** to proceed to the next step. ![Select App ID from Profiles](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/appid_profiles_apple.png)
12. Select a **Certificate** downloaded from the **Apple Developer** Portal, upload it to **Testsigma**, and include it in this provisioning profile. Afterwards, proceed to the next step by clicking on **Continue**. ![select certificate](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/selectcerftificate_profiles_apple.png)
13. Select the **Devices** that you want to include in this provisioning profile. ![select devices](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/selectdevices_profiles_apple.png)
14. Enter the **Provisioning Profile Name** in the field and click **Generate**. ![Generate Provisioning Profile](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/generate_profiles_apple.png)
15. Click **Download** in the screen's top-right corner to download the **Provisioning Profile** from the Apple Developer Portal. ![Download Certificate from Apple](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/download_profiles_apple.png)
16. Click **Upload Certificate** next to **Provisioning Profile** in Testsigma and select the Provisioning Profile downloaded from the Apple Developer Portal. ![Upload Provisioning Profile](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/upload_provisioningprofile_ts.png)
17. Click **Provisioning Profile Details** to view **Provisioned Devices** and **Re-signing Uploads Status**. ![Provisioning Profile Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/provisional_profiles_details_ts.png)
## **Steps to Create Provisioning Profile**

Follow these steps to generate a Certificate Signing Request (CSR) and upload it to the Apple Developer portal to run Testsigma tests on your local iOS device:

1. Navigate to **Settings** > **iOS Settings**.
2. Under the **Provisional Profile** tab, click on **Create New Profile** located in the top-right corner. ![iOS Setting in Testsigma](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/create_new_profile_pro.png)
3. Enter a name for the profile in the provided field.
4. Click **Generate Request** to create a **Certificate Signing Request** (CSR), and then click **Download Request** to save the CSR file. ![Generate CSR and Download](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/download_csr_ts.png)
5. Visit the [Apple Developer](https://developer.apple.com/account/resources/certificates/) portal and go to the **Certificates, Identifiers & Profiles** section. ![Apple Developer Website](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/certificate_apple.png)
6. Click on the **+** next to **Certificates** in the **Certificates** section, select **iOS App Development**. Click **Continue**. ![Select iOS App Developer](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/newiosapp_continue_apple.png)
7. After you upload the **CSR** file downloaded from **Testsigma**, click **Continue**. ![Upload CSR file](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/uploadcsr_continue_apple.png)
8. Click **Download** in the top-right corner to download the certificate file from the Apple Developer Portal. ![Download Certificate from Apple](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/download_certificate_apple.png)
9. In **Testsigma**, click **Upload Certificate** next to **Certificate** and select the downloaded certificate file. ![Upload CSR file in Testsigma](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/upload_prof_pro_ts.png)
10. Go back to the **Apple Developer** Portal and navigate to the **Certificates**, **Identifiers** & **Profiles** > **Profiles** section. ![Select Profiles in Apple Portal](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/select_profiles_apple.png)
11. Click on the **+** next to **Profiles** in the **Profiles** section, select **iOS App Development**. Click **Continue**. ![Select iOS App Developer and click continue](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/newiosapp_continue_profile_apple.png)
12. Click on the drop-down menu and select a **Wildcard App ID** in **Select an App ID**, then click **Continue** to proceed to the next step. ![Select App ID from Profiles](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/appid_profiles_apple.png)
13. Select a **Certificate** downloaded from the **Apple Developer** Portal, upload it to **Testsigma**, and include it in this provisioning profile. Afterwards, proceed to the next step by clicking on **Continue**. ![select certificate](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/selectcerftificate_profiles_apple.png)
14. Select the **Devices** that you want to include in this provisioning profile. ![select devices](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/selectdevices_profiles_apple.png)
15. Enter a name for the **Provisioning Profile** and click **Generate**. ![Generate Provisioning Profile](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/generate_profiles_apple.png)
16. Click **Download** in the top-right corner to download the **Provisioning Profile** from the Apple Developer Portal ![Download Certificate from Apple](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/download_profiles_apple.png)
17. In Testsigma, click **Upload Certificate** next to **Provisioning Profile** and select the downloaded Provisioning Profile file. ![Upload Provisioning Profile](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/upload_profpro_testsigma.png)
18. Finally, you click **Create** to complete the **Provisioning Profile** setup. ![Provisioning Profile Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/create_ios_prof_ts.png)


[[info | NOTE:]]
| 1. You should download the iTunes exe installer from Apple's website for Windows. If you have installed it from Microsoft Store, please uninstall it.
| 2. If you have installed iTunes, ensure that Apple Mobile Device Service runs in Task Manager. If it is not running, open iTunes and check again if the service starts running.

Now that you have set up everything, you can record your iOS tests and run them on your iOS device(s).
You can further manage your certificates by downloading CSR and Provisioned certificates for viewing and checking the validity of the Provisioning Profile certificate. If necessary, you can remove Provisioning Profile certificates by clicking Delete.<br><br>Now that you have set up everything, you can record your iOS tests and run them on your iOS device(s).

---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/configuration/reset-password.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Reset Password"
page_title: "How to reset password in Testsigma Community Edition"
order: 19.4
order: 19.3
page_id: "Reset password"
metadesc: "Learn steps in detail on how to reset username and password in Testsigma Community Edition. Follow these steps to reset username and password."
search_keyword: "Reset password"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/configuration/storage-types.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Storage Types Supported in Testsigma"
page_title: "How to configuration Storage Types in Testsigma Community Edition"
order: 19.5
order: 19.4
page_id: "Storage Types Supported in Testsigma"
metadesc: "Storage allows you to store files on your integrated cloud storage provider. How to configuration Storage Types in Testsigma Community Edition"
search_keyword: "Storage Types"
Expand Down
22 changes: 13 additions & 9 deletions src/pages/docs/desired-capabilities/most-common.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: "Common Desired Capabilities"
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"
page_title: "Streamline Testing Processes with Advanced Capabilities"
metadesc: "Enhance efficiency with common desired capabilities in testing. Optimise workflows, boost collaboration, and ensure quality with cutting-edge testing features."
noindex: false
order: 15.2
page_id: "Common Desired Capabilities"
page_id: "common-desired-capabilities"
search_keyword: ""
warning: false
contextual_links:
Expand All @@ -30,6 +31,9 @@ contextual_links:
- type: link
name: "Android Specific"
url: "#android-specific"
- type: link
name: "iOS Specific"
url: "#ios-specific"
---

---
Expand Down Expand Up @@ -114,15 +118,15 @@ Below are a few of the most commonly used Desired Capabilities in executions usi
|Description|Capability|Data Type|Value|
|---|---|---|---|
|Persist App data in local Android devices across Hybrid Test sessions|noReset|boolean|true|
|Automatically grant required app permissions based on the [Android manifest](https://developer.android.com/guide/topics/manifest/manifest-intro) during installation.|autoGrantPermissions|boolean|true|

---

## **iOS Specific**

|Description|Capability|Data Type|Value|
|---|---|---|---|
|Automatically approve all permission pop-ups, including privacy access requests for location, contacts, and photos.|autoAcceptAlerts|boolean|true|
|Automatically dismiss all permission pop-ups, including privacy access permissions like location, contacts, and photos.|autoDismissAlerts|boolean|true|








---
77 changes: 0 additions & 77 deletions src/pages/docs/integrations/bug-reporting/azuredevops.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ contextual_links:
name: "Prerequisites"
url: "#prerequisites"
- type: link
name: "Integrate Azure DevOps With Testsigma"
url: "#integrate-azure-devops-with-testsigma"
name: "Steps to Integrate Azure DevOps with Testsigma"
url: "#steps-to-integrate-azure-devops-with-testsigma"
- type: link
name: "Creating Work Item on Azure from Testsigma"
url: "#creating-work-item-on-azure-from-testsigma"
Expand Down
Loading

0 comments on commit dd23ab3

Please sign in to comment.