How to record test in android appium?
Asked Answered
R

2

11

I need to record the test in android appium and i should play the recorded script. is there any way to do this? I need to use it like selenium web automation. can i use appium inspector for android testing?

Robison answered 16/6, 2015 at 6:24 Comment(1)
youtube.com/watch?v=2_xHmofGgUEMargheritamargi
E
4

When you record a script with Appium, there isn't a 'playback' function. The inspector is only used to locate and record interactions with app elements. Here's a link to the native android walk-through: Native Android Automation

You need to choose a language, and export the file(see the bottom of the inspector while record mode is engaged). (Pic here)

You can run the saved file from an IDE or the command line.

Edora answered 11/9, 2015 at 1:46 Comment(2)
@Mr. Heuristic can i choose a language supported by protractor framework for an angular JS application?Inductance
the link is dead!Stryker
U
0

Step 1: Launch the appium inspector by clicking the inspector button: enter image description here

Step 2: Set the APK / IPA file path (application file path) as shown below:

enter image description here

Step 3 : Click on Start Session, now you will be navigated to Recorder window:

Click the application UI and perform required action “Selected Element” Tab ie, Tap, SendKeys for entering the text etc.

Selected UI Elements will get exported to Recorder tab after recording the UI Elements of all the elements we can export the Java file.

Ummersen answered 26/4, 2018 at 11:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.