filmov
tv
Appium Tutorial 11: List of Locators can use in Appium | Locators to find elements in Appium
Показать описание
#appium #mobileautomation
+ List of Locators can use in Appium
+ Locators to find elements in Appium
▬▬▬▬▬▬ In this Video ▶️ ▬▬▬▬▬▬
In Appium, you can locate elements in your app using various strategies such as the element's ID, class name, name, tag name, and various other attributes. These strategies are called "locators" in Appium.
Here is a list of some common locators that you can use in Appium:
ID: You can locate an element by its ID attribute. This is usually a unique identifier for the element within the app.
Class name: You can locate an element by its class name. This is useful if multiple elements have the same class name.
Name: You can locate an element by its name attribute. This is useful if multiple elements have the same name.
Tag name: You can locate an element by its tag name. This is useful if multiple elements have the same tag name.
Xpath: You can use an Xpath expression to locate an element. This is a powerful and flexible method, but it can also be slow and complex to use.
Accessibility ID: You can locate an element by its accessibility ID. This is a unique identifier for the element within the app, and it is used to make the app accessible to users with disabilities.
Android UI Automator: On Android, you can use the Android UI Automator to locate elements using various attributes such as resource-id, class, and content-desc.
iOS Predicate String: On iOS, you can use a predicate string to locate elements using various attributes such as name, label, and value.
▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬
▬▬▬▬▬▬ Connect with us 👋 ▬▬▬▬▬▬
🌟 Please click on LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
+ List of Locators can use in Appium
+ Locators to find elements in Appium
▬▬▬▬▬▬ In this Video ▶️ ▬▬▬▬▬▬
In Appium, you can locate elements in your app using various strategies such as the element's ID, class name, name, tag name, and various other attributes. These strategies are called "locators" in Appium.
Here is a list of some common locators that you can use in Appium:
ID: You can locate an element by its ID attribute. This is usually a unique identifier for the element within the app.
Class name: You can locate an element by its class name. This is useful if multiple elements have the same class name.
Name: You can locate an element by its name attribute. This is useful if multiple elements have the same name.
Tag name: You can locate an element by its tag name. This is useful if multiple elements have the same tag name.
Xpath: You can use an Xpath expression to locate an element. This is a powerful and flexible method, but it can also be slow and complex to use.
Accessibility ID: You can locate an element by its accessibility ID. This is a unique identifier for the element within the app, and it is used to make the app accessible to users with disabilities.
Android UI Automator: On Android, you can use the Android UI Automator to locate elements using various attributes such as resource-id, class, and content-desc.
iOS Predicate String: On iOS, you can use a predicate string to locate elements using various attributes such as name, label, and value.
▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬
▬▬▬▬▬▬ Connect with us 👋 ▬▬▬▬▬▬
🌟 Please click on LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
Комментарии