From 2f3146ef9de8ba9a440c75f64197aa8d4285b3c4 Mon Sep 17 00:00:00 2001 From: Bharath Krishna <118433150+bharathk08@users.noreply.github.com> Date: Fri, 1 Mar 2024 17:31:38 +0530 Subject: [PATCH] Updated Phone Number Doc with SMS Forward App (#364) --- .../getting-started/testsigma-sample-apps.md | 3 +- .../docs/test-data/types/phone-number.md | 76 +++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) diff --git a/src/pages/docs/getting-started/testsigma-sample-apps.md b/src/pages/docs/getting-started/testsigma-sample-apps.md index e37badfa..a6f7fbfc 100644 --- a/src/pages/docs/getting-started/testsigma-sample-apps.md +++ b/src/pages/docs/getting-started/testsigma-sample-apps.md @@ -25,9 +25,10 @@ This article provides a few sample applications for users to practice testing in *For more information on how to create test cases, refer to [test cases](https://testsigma.com/docs/test-cases/overview/).* -2. Use the following links for practicing mobile app testing. +2. Use the following apps for practicing mobile app testing. - [Sample IPA Application](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/SimplyTravel.ipa) - [Sample APK Application](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/appdebug.apk) + - [SMS Forwarder Application](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/smsforward.apk) *For more information on uploading mobile apps for testing, refer to [upload android and iOS apps](https://testsigma.com/docs/uploads/upload-apps/).* diff --git a/src/pages/docs/test-data/types/phone-number.md b/src/pages/docs/test-data/types/phone-number.md index ef5a3aff..fee51809 100644 --- a/src/pages/docs/test-data/types/phone-number.md +++ b/src/pages/docs/test-data/types/phone-number.md @@ -18,6 +18,9 @@ contextual_links: - type: link name: "Using Phone Number Type Test Data" url: "#using-phone-number-type-test-data" +- type: link + name: "Set Up and Use Message Forwarding" + url: "#set-up-and-use-message-forwarding" --- --- @@ -63,4 +66,77 @@ We will use the test data generators available in Testsigma to fetch the OTP fro We have successfully created a test case for 2FA authentication. +--- + + +## **Set Up and Use Message Forwarding** + +Providing phone numbers for OTP and login purposes is restricted in certain countries. In this case, you can use Testsigma SMS forwarder app that sends SMS messages to a designated mailbox, and you retrieve the OTPs from the mailbox. This section discusses how to set up the Testsigma SMS forwarder app and perform OTP verifications using this app. + +--- + +## **Prerequisites** + +- You should have Testsigma SMS Forwarder application. + + +--- + +### **Install the App & Setup the Account** + +1. Install the app on a device. + +2. Click on the icon in the top-left corner to access settings. + +3. Sign in to the app. + +4. If you're using Google accounts, select the Gmail API. + + +### **Filter Set-up** + +1. Tap on **Filters** and click the plus icon. + +2. On the **Set up recipients** screen, click the plus icon. + +3. On **Add** overlay, tap on Enter Phone Number. + +4. Enter the **phone number** to which you want to forward messages. + + +[[info | **NOTE**:]] +| Alternatively, you can enter the automation email ID to forward messages to an email address. + +5. Swipe left to access the **Forwarding conditions** screen. Here, set the forwarding rule. You can specify rules for messages from a specific number or messages containing specific text. + +6. Swipe left to access **Change the content** screen. Here, you can add the phone number of the initial sender of the message and specific words of your choice. + +7. Swipe left to access the **More Settings** screen. Here, you can change the filter name and enable options for notifications and results. + +8. On completing all the steps, click **Save**. + +Here's a GIF demonstrating how to install, add phone numbers, and set up filters for message forwarding. +![SMS Forward Setup](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sms.gif) + + +--- + + +## **Use Case for Message Forwarding** + +1. Navigate to the URL + +2. Click on Login or Sign Up + +3. Enter phone number in the phone number input field + +4. Wait for 30 Seconds + +5. Use Data Generator to Fetch OTP + +6. Submit OTP + +Here's a quick GIF demonstrating how to create test case after setting up sms forwarder app. +![SMS Forward Use Case](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/SMSFORWARD2.gif) + --- \ No newline at end of file