Appium اسئلة واجوبة المقابلات
سؤال 1. What is Appium?
Appium is an open-source automation tool for testing mobile applications on Android and iOS platforms.
Example:
driver.findElement(By.id("elementId")).click();
سؤال 2. Explain the difference between Appium and Selenium.
Appium is designed to test mobile applications, while Selenium is used for web applications.
سؤال 3. How does Appium server communicate with mobile devices?
Appium uses the WebDriver protocol to communicate with mobile devices over the Appium server.
سؤال 4. What are desired capabilities in Appium?
Desired capabilities are key-value pairs that provide information about the device and test settings to the Appium server.
Example:
{"platformName": "Android", "deviceName": "emulator-5554", "app": "/path/to/app.apk"}
سؤال 5. Explain the difference between Xpath and Accessibility ID in Appium.
Xpath is a location strategy based on the XML path of elements, while Accessibility ID is a unique identifier for elements.
Example:
By.xpath("//android.widget.Button[@text='Login']")
الاكثر فائدة حسب تقييم المستخدمين: