diff --git a/src/left-nav-title.json b/src/left-nav-title.json index 23f2e049..d3803918 100644 --- a/src/left-nav-title.json +++ b/src/left-nav-title.json @@ -195,7 +195,7 @@ "/docs/test-data/types/mailbox/": "Mail Box" }, "create-data-profiles": { - "/docs/test-data/create-data-profiles/": "Create Test Data [Parameter]" + "/docs/test-data/create-data-profiles/": "Create Test Data Profile" }, "import-data-profiles": { "/docs/test-data/import-data-profiles/": "Import TDP" diff --git a/src/pages/docs/test-data/create-data-profiles.md b/src/pages/docs/test-data/create-data-profiles.md index ff1b74e2..53f9d5da 100644 --- a/src/pages/docs/test-data/create-data-profiles.md +++ b/src/pages/docs/test-data/create-data-profiles.md @@ -1,7 +1,7 @@ --- -title: "Create and Use Test Data Profiles" +title: "Create & Use Test Data Profiles" pagetitle: "Create and Use Test Data Profiles" -metadesc: "This article discusses steps in detail on how to create test data profiles that can be used in a test cases in Testsigma application." +metadesc: "This article discusses steps in detail on how to create test data profiles that can be used in a test cases in Testsigma application" noindex: false order: 5.21 page_id: "Create Test Data Profiles" @@ -28,8 +28,11 @@ contextual_links: name: "Creating Data-Driven Test Cases with Dynamic Data Sets" url: "#creating-data-driven-test-cases-with-dynamic-data-sets" - type: link - name: "Additional Actions Possible on Test Data Set Name" - url: "#additional-actions-possible-on-test-data-set-name" + name: "Additional Actions on Test Data Set Name" + url: "#additional-actions-on-test-data-set-name" +- type: link + name: "Generate Test Data Profile Using Copilot" + url: "#generate-test-data-profile-using-copilot" --- --- @@ -154,4 +157,59 @@ In data-driven testing, you can iterate values from start to end. To iterate fro - **Store**: The test data set name associated with a test data profile can be stored in a variable for later use. The syntax for the Store NLP is **store-iteration-count-test-data-set-name**. -- **If Condition**: The test data set values from a test data profile can be used in an if condition. The screenshot below shows the NLP, which can be added as part of the "String Compare" add-on. Find the add-ons to use [here](https://testsigma.com/addons). \ No newline at end of file +- **If Condition**: The test data set values from a test data profile can be used in an if condition. The screenshot below shows the NLP, which can be added as part of the "String Compare" add-on. Find the add-ons to use [here](https://testsigma.com/addons). + +--- + +## **Generate Test Data Profile Using Copilot** + +With Testsigma Copilot, you can quickly generate a Test Data Profile. This eliminates the need to manually create multiple test data sets and allows you to focus on more critical aspects while testing. This article discusses generating a Test Data Profile using Testsigma Copilot. + + +### **Prerequisites** + +- Ensure you know how to create a test case using copilot in Testsigma. + + + +### **Steps to Generate Test Data Profile Using Copilot** + +1. From the left navigation bar, go to **Create Tests > Test Cases**. + +2. Select the **+ icon** next to the **Scenario** where you want to add the test case. + +3. On the dialog that opens, enter the test case name and click **Create**. + +3. In the **Test Case Details** page, click **Record** to open the **Testsigma Test Recorder** in a new window. + +4. Create test steps by performing actions or use **Copilot** to generate steps automatically. *For more information, see [Creating Test Cases Using Copilot](https://testsigma.com/docs/test-cases/create-test-steps/overview/#ai-test-automation-with-testsigma-copilot-).* +5. When you're done, click **Stop** to end the session. You will be redirected to the **Test Case Details** page. + +6. A confirmation dialog will appear. + + - Select **Convert** to generate a **Test Data Profile** and convert the test case to a data-driven one. + ![Gen AI TDP](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Copilot_TDP_SneakPeak.png) + - Once you are satisfied with the data, click **Create and Replace**. + +[[info | **NOTE**:]] +| - You can click **Add more rows** to generate additional data. +| - You can also provide prompts to customize the data further. For example, we successfully changed the entire dataset to reflect the Indian context with a simple prompt. +| ![Prompt Update](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/GenAI_TDP_Prompt.png) + + + +### **Steps to Generate Test Data Profile from Test Case Settings** + +1. On the **Test Case Details** page, go to **Test Case Settings > Test Data Profile**. + +2. Click the **Test Data Profile** dropdown menu. + +3. Click **Generate TDP with AI**. This will open the **Test Data Generation** dialog. + +4. In the **Test Data Generation** dialog, validate the **Field Names**, then click **Generate**. + +5. Wait for the data to be generated. Once you are satisfied with the data, click **Create and Replace**. + +6. Your test data in the test steps will be replaced with the generated data. + +--- \ No newline at end of file diff --git a/src/pages/docs/troubleshooting/mobile-apps/handling-ios-app-compatibility-issues.md b/src/pages/docs/troubleshooting/mobile-apps/handling-ios-app-compatibility-issues.md new file mode 100644 index 00000000..2654250b --- /dev/null +++ b/src/pages/docs/troubleshooting/mobile-apps/handling-ios-app-compatibility-issues.md @@ -0,0 +1,40 @@ +--- +title: "How to Handle iOS App Compatibility Issues?" +page_title: "Handling iOS App Compatibility Issues in Testsigma" +metadesc: "Testsigma resign your iOS app which results in loss of a few entitlements. This article discusses troubleshooting these compatibility issues" +noindex: false +order: 23.695 +page_id: Handling iOS App Compatibility Issues +warning: false +contextual_links: +- type: section + name: "Contents" +- type: link + name: "Steps to Avoid These Compatibility Issues" + url: "#steps-to-avoid-these-compatibility-issues" +--- + +--- + +When we resign your iOS app using Testsigma's wildcard provisioning profile to install it on our iOS devices, a few entitlements (like Push Notifications & App Groups) may be removed. This can result in compatibility issues if the app relies on these specific entitlements or access groups. This article discusses troubleshooting these compatibility issues. + +--- + +## **Steps to Avoid These Compatibility Issues** + +### **1. Handling Entitlement Issues** + +After resigning your iOS app, most entitlements are cleared except for the following: +- **application-identifier** +- **team-identifier** +- **keychain-access-groups** + +To prevent issues during testing, ensure the app accesses these entitlements programmatically without hardcoded values. For unsupported entitlements, it is advisable to create a build that doesn’t depend on them. + + +### **2. Handling Keychain Access Groups** + +Resigning the app changes the Team ID, which can cause issues if keychain access groups are hardcoded. To avoid this, ensure that the Team ID is retrieved programmatically during runtime instead of relying on fixed values. + + +--- \ No newline at end of file