Appium Interview question — Part 1
Appium is a freely distributed open source mobile application UITesting framework.
1. What is Mobile Application Testing & how it is different from Mobile Testing ?
It is a process by which the application software developed for handheld mobile devices is tested for its functionality, usability, and consistency.
In Mobile Application Testing the testing is focused on application functionality & features while in Mobile Testing testing is focused on native app features like call, SMS, music players, etc.
2. Differentiate between Simulator And Emulator?
- Simulator — In Simulator we configure the environment in such a way that it will replicate the production environment with all the software variables & configuration. e.g. racing game application which simulates the actual racing. In Simulator, we do not replicate the hardware used in actual production environment.
- Emulator — In Emulator we configure the environment in such a way that it will replicate the real-world environment with required software & hardware. Emulators is slower than simulators since it needs to sense the movement of hardware devices, then convert it to digital form, before processing it.
3. what types of mobile app testing can be done ?
- Usability testing
- Security testing
- Performance testing
- Interruption testing
- Interface testing
- Installation tests
- Compatibility testing
- Services testing
- Operational testing
- Localisation Testing
- Low-level resource testing
4. can we run Appium tests without server ?
Yes.
We can run Appium on the same system/host as your tests. In this case, we can use loopback address to connect to Appium.
5. what are pre-requisites required to run Appium tests?
- JDK (Java Development Kit).
- Android SDK Tools.
- Android Studio.
- Eclipse.
- Appium Desktop Client.
- TestNG.
- Selenium Server JAR.
- Webdriver Language Binding Library.
- Appium for Windows
- APK App Info On Google Play
- node.js
6. Explain Appium Architecture ?
- Selenium — acts as a client and send HTTP request (commands) to appium server via JSON wire protocol which contains all the capabilities & configuration set in the code.
- Appium Server — It will then creates a automation session for the client with client desired capabilities and then it(server) sends the serve request to UIAutomator.
- UIAutomator — this is server which then communites with bootstrap.jar which is running in Emulator/actual device to perform actions( client operations)
7. While Appium tests are running, can we use JavaScript to Interact with Application ?
Yes, it is possible to interact with application while we run the appium tests. When the commands run on Appium, the server will send the script to your app wrapped into an anonymous function to be executed.
8. How to find element or xpath is Mobile App ?
Use UIAutomateviewer for Android and Appium Inspector for IOS.
9. What is Design concept of Appium ?
- Appium is an HTTP Server was designed using Node.js and it drives iOS & Android session using Webdriver JSON wire protocol. Therefore, Node.js must be installed on the system before you initialize the Appium Server.
- Appium gives response in HTTP format. It uses mobile test automation frameworks to drive the user interface of the apps & to executes the request.
- Once Appium is installed it will do set up of a server on a machine which will expose the REST API.
- Appium receives connection & command request from the client and it will execute those commands on mobile devices. It can be Android or iOS.
10. What all major criateria you will consider while writing mobile End-to-End Application Test ?
- Application Installation.
2. Launch the application for the First time without network access.
3. Application performance on different device & network.
4. Application response while user login/ wrong credentials.
5. Application Uninstallation.
11. what can be considered are most critical test while writing test in mobile application ?
Data Exchange test as it needs exchanging information hosted by complex objects stored in different parts of your webview-based app e.g. the window object.
Be patient, Part2 will be coming soon and if you don’t want to miss it then hit on follow button.
Keep Reading !! Keep Learning !!!
hit the follow button for more topics on Java, RestAssured, GraphQL, Selenium, JavaScript, JUnit, Jenkins, GitHub Actions, WebUI, SOAP & VBScripts
Also, DM me if you want me to add new topic of your choice urgently.