Applies to Mobile App Automation using Python Appium and Java Appium frameworks for iOS devices |
TABLE OF CONTENTS
3. Integrating algoQA with LambdaTest
3.1 Integrating with LamdaTest
3.2 Configuring Automation Capabilities and Launching your app in the selected device
3.3 Configuring Application Settings file in the algoQA script generated folder
3.4 Triggering the build in LamdaTest
1. Overview
This article provides you the instructions on how to integrate algoQA with LambdaTest for performing mobile test automation for iOS devices. It includes prerequisites, configuring the necessary files, running the tests, and monitoring the results.
2. Prerequisites
- Make sure you have an appropriate licensed version ( (Native App trial version) to perform mobile test automation in the Lambdatest.
- Upon obtaining the license, login with your credentials and navigate to the Dashboard page, click this icon on the top-right corner to view the access key, as shown. Your username will be displayed alongside the registered username. For example, if your registered username is John Davis, it will appear as "John Davis" in place of 'username'.
- Alternatively, you can access the Username and Access key by clicking the key icon available on the left pane and copy the username and access key by clicking the copy icon, as shown:
- You must fetch the APP ID details
To access LambdaTestAppKey in LamdaTest, click the settings icon next to the uploaded apk file after navigating to the App testing screen, as shown:
Settings window appears where you can find the LamdaTestAppKey, as shown: - You can find the device name and Platform version in the App Testing screenshot. This is the name of the chosen device in the LambdaTest where the scripts will be executed. For more details, refer to step 5 screenshot in the next section.
3. Integrating algoQA with LambdaTest
- Navigate to App Testing from the left panel.
- Click iOS icon.
- Click Upload button to upload your respective APK file >select the required device brand and device.
- Click Start button to start the build.
- You can launch your app in selected device where you can perform your testing. In this case, Louise Philippe App is considered.
3.3 Configuring Application Settings file in the algoQA script generated folder
Perform the following:
- Navigate to algoQA Platform by entering https://algoshack.com/ and Sign in with appropriate credentials.
- In the Main Canvas, click Generate Script button. Follow the onscreen instructions to generate the scripts.
- After generating the Python Appium scripts, navigate to the script downloaded folder to open Application Settings File. For example, you can find Applications.XML file in an algoQA script generated folder for mobile automation available at
C:/Users/apple/Downloads/AlgoAFScript_202412190928871000/features/temp -f pretty "/Users/apple/Downloads/AlgoAFScript_202412190928871000/features"
In the Applications Settings file, update the following as shown in the example table:
Field Description deviceName iphone 14 automationName XCUITest PlatformName iOS PlatformVersion 16 Username Parimala.bc Access key HyDKmA3cf32RImwztkupVWUrZJFLFLWWyMRghDrUvNPSJXKymm LamdatestAppKey lt://APP1016040971727694151489425 Testing Environment Lambda AutomationType IOSApp Navigate back to pom.xml directory and open 'Terminal' in the same directory.
- Run the following command to execute the Python Appium script:
behave -f allure_behave.formatter:AllureFormatter -o /Users/apple/Downloads/AlgoAFScript_202412190928871000/features/temp -f pretty "/Users/apple/Downloads/AlgoAFScript_202412190928871000/features"
If you choose to execute Java Appium scripts, run 'mvn test' command.
3.4 Triggering the build in LamdaTest
Perform the following:
- Navigate to App Automation from the left pane by selecting Automation, as shown:
- Repeat the steps 5 and 6 from the previous section if the build is not triggered.
- When the build is triggered, system captures the live recording of the steps.
- You can perform the following while live recording the steps in LamdaTest:
You can view your Networks Logs, App Logs, and Device Logs.
- You can also view XPaths for a particular UI element/control after selecting the UI Inspector feature.
- With the device controls, you can change the keyboard language, the device orientation, put device to sleep mode, increase and decrease volume.
- For more information on the preceding topics, refer to the topic in LamdaTest - Realtime Native Mobile App Testing.
Note: If you don't have an existing .ipa file for iOS devices, then you can use the sample file from the LamdaTest here. Ensure to create the test scenario from the same app uploaded.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article