In this window, you should see the app’s visual and could inspect elements in it. Wait for some time, another window would popup. (For Android, you need to start your emulator before this, appium won’t automatically start Android emulator like it does for iOS.) (For Android, it’s basically the same, unless you first activity is not MainActivity so you need to set “appActivity” pointed to the right one.) Input all capabilities you want to use in “Desired Capabilities”, such as:Īpp text /Users/$your_name/Documents/UIKitCatalog.appĪbove shows the basic capabilities you must pass to appium to run the app. apk in “/Users/$your_name/AndroidStudioProjects/TextSwitcher/Application/build/outputs/apk” to your test folder for future use.ĭownload the appium GUI through their website app to your test folder for future use.ĭownload the “TextSwitcher” from “Import an Android code sample” in Android Studio welcome screen.ġ) Change the “minSdkVersion” from 7 to 9 in “adle (Module:Application)” and build the app.Ģ) Right click the root of project structure and select “Reveal in Finder”, and copy the app with extension as. (You need to see there are all green.)ĭownload the iOS UIKit Catalog source code from UIKitCatalog.ġ) Unzip it and open the project in the Swift folder.Ģ) Build it in XCode by selecting the OS version you would like to test.ģ) Expand the “Products” folder in the project structure, and select the app generated.Ĥ) Right click it and select “Show in Finder”, and copy the app with extension as. Run appium-doctor in Terminal to see if everything works fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |