I have started appium server programmatically (using appium service builder)
now I need appium inspector to inspect elements.
Is there any way to start inspector programmatically or I need to remove my code and use the appium desktop application for server session and inspect elements.
Thanks in advance
If the device is attached to the same host as that of appium server, use uiautomatorviewer under Android SDK to inspect the elements in Android.
For iOS, it is recommended to use Appium Desktop version itself.
Appium inspector is separated from appium server build. You will get separate installation file for appium inspector. You can start it independent of the appium server. Try with the latest version.
Related
Is it possible to automate iOS native application with amCharts elements using Appium or Perfecto ? [Sample amChart]
Perfecto is just mobile device cloud provider, where you can use Appium: so does not affect the possibility.
It may be tricky to parse amCharts for Appium just as it may be tricky to do so for XCUITest (that Appium use for iOS interactions). Since its Objective C wrapper chances are pretty good, but still you will be able to get only numbers and element position in best case.
I suggest to install appium-desktop, start session with your app and make screen snapshot. If appium won't parse it, you may try do it directly in XCode with XCUITest and maybe you need to add some attributes for parsing via Appium
I have created a project that uses Amazon Appstream SDK for .net. I am able to access the streaming application on Windows desktop chrome browser. However, when I try same on Android mobile (latest chrome version) the appstream does not connect to the app.
It displays the following error:
The version of chrome/browser is same (the latest one) both on desktop and android mobile.
Please guide.
Try "request desktop site" in the sidebar.
Unfortunately, it doesn't seem to support zooming however.
I wrote project using vb.net with devexpress forms , my question is there way to view my applicatin in browser like java applet or oracle forms.
I don't think it is possible to run an executable file built for windows could run in a browser independently. JAVA is platform independent that's why we are able to run JAVA apps in browser, even we cannot run android apps directly into browser, we have to have complete android emulator device to run android apps. In the same way, we cannot run executable files directly into browser, because they are generated with respect to underline hardware platform
I have Appium 1.4.13
IOSDriver<MobileElement> driver = new IOSDriver<MobileElement>(appiumUrl, desiredCapabilities);
How do I get current window (UIAWindow)? How do I get all elements on that window?
hi Artem appium tool only automates the app not android functionalities so you cant retrieve like home, settings window just like selenium does browser automation not the windows system (for that we use external tools like AutoIt and Sikuli), To retrieve app handles we use getcontextHandles() method to know we are in native app or Web view... hope this helps
I am new in Automating the apps for testing Android and i like to advance to this level... I have researched for Appium and Calabash... but knowing the difference pretty complicated.. There are my questions:
1: For Calabash, do we need the source code, i mean can i have APK and give test cases and so on? or do I NEED the source code even if im using the elements from app?
2: I heard i can use the Appium with cucumber, and same question do i need source code for that?
I have researched about it and all i get is for Apple apps... but nothing much for android...
You don't need source code. All you need is apk file, packageName and ActivityName to launch the app.
In Appium framework, all you need is app file (for android it will be simply .apk file).
Source code will be never needed, all elements from UI that you would like to interact with, can be simply get from Appium Inspector.
For both calabash and Appium you don't need to source code. you can automate application using apk file.
Yes you can use Appium with cucumber.
To find object locators of application use calabash console and Android UI Viewer, Appium GUI.