id | title | sidebar_label | description | keywords | url | site_name | slug | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
appium-inspector |
Appium Inspector Integration on LambdaTest |
Appium Inspector |
This documentation will help you integrate Appium Inspector with LambdaTest to interact with LambdaTest's Real Devices. With LambdaTest mobile testing cloud, you can test your mobile applications on wide range of real Android and iOS devices. |
|
LambdaTest |
appium-inspector-integration/ |
import CodeBlock from '@theme/CodeBlock'; import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify({ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.lambdatest.com" },{ "@type": "ListItem", "position": 2, "name": "Support", "item": "https://www.lambdatest.com/support/docs/" },{ "@type": "ListItem", "position": 3, "name": "Appium Inspector Integration on LambdaTest", "item": "https://www.lambdatest.com/support/docs/appium-inspector-integration/" }] }) }} ></script>This post will help you in integrating Appium Inspector to interact with LambdaTest's Real Devices.
A GUI inspector for mobile apps and more, powered by a (separately installed) Appium server. Appium Inspector is an Appium client (like WebdriverIO, Appium's Java client, Appium's Python client, etc) with a User Interface. We can use the interface for specifying Appium Server Version, Setting Capabilities. Once the Appium Server is up & running with the App, we can interact with elements and run other Appium Commands.
By the end of this topic, you will be able to:
- Upload your Application to LambdaTest Server & Receive the Unique App URL.
- Run the Test using the Unique App URL.
:::tip
Please download the latest verison of Appium Inspector - 🔗 Official Appium Inspector.
:::
Upload your iOS application (.ipa file) or android application (.apk file) to the LambdaTest servers using our REST API. You need to provide your Username and AccessKey in the format Username:AccessKey
in the cURL command for authentication. Make sure to add the path of the appFile in the cURL request. Here is an example cURL request to upload your app using our REST API:
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
Using App File:
Using App URL:
:::tip
- If you do not have any .apk or .ipa file, you can run your sample tests on LambdaTest by using our sample 🔗 Android app or sample 🔗 iOS app.
- Response of above cURL will be a JSON object containing the
App URL
of the format - lt://APP123456789123456789 and will be used in the next step.
:::
Start the Appium Inspector & Select LambdaTest from the list of Cloud Test Providers.
Enter in your UserName & Access Key. You may find the credentials available on LambdaTest Dashboard
Configure LambdaTest capabilities in the desired capabilities tab on Appium inspector. Use the unique app URL obtained in Step 1 to set the app capability Value.For more details, please refer to our guide on Desired Capabilities in Appium.
Alternatively, we can also go to our capabilities generator and generate the Capability Representation using GUI.
<img loading="lazy" src={require('../assets/images/appium-inspector/appium_inspector2.webp').default} alt="cmd" width="768" height="373" className="doc_img"/>
Once this is complete, you can now run the test by clicking on start session. Once you start the session, a video recording along with detailed information and logs of the test run will be available on the LambdaTest Dashboard.
<img loading="lazy" src={require('../assets/images/appium-inspector/appium_inspector1.webp').default} alt="cmd" width="768" height="373" className="doc_img"/>
After you have added your credentials from Step 2 of Starting an Appium Session, click on Attach to Session.
<img loading="lazy" src={require('../assets/images/appium-inspector/appium_inspector3.webp').default} alt="cmd" width="768" height="373" className="doc_img"/>
Start an App Automation that you'd like to attach to.
Click on the refresh button and choose a session to attach to.
<img loading="lazy" src={require('../assets/images/appium-inspector/appium_inspector4.webp').default} alt="cmd" width="768" height="373" className="doc_img"/>
Once you have selected a session, click on Attach to Session.
<img loading="lazy" src={require('../assets/images/appium-inspector/appium_inspector5.webp').default} alt="cmd" width="768" height="373" className="doc_img"/>
We have now successfully attached to the session and can see & perform operations as well.
<img loading="lazy" src={require('../assets/images/appium-inspector/appium_inspector6.webp').default} alt="cmd" width="768" height="373" className="doc_img"/>
Got any questions?
Please reach out at our <span className="doc__lt" onClick={() => window.openLTChatWidget()}>24x7 Chat Support or you could also mail us at support@lambdatest.com.