Step-by-step guide on how to write your first iOS test in Appium Framework to click on an element in the iOS mobile application.
iOS Demo Application - github.com/appium/ios-uicatalog
Steps:
1. Start a new Appium session in the Inspector by using the below capabilities
{
"platformName": "IOS",
"appium:automationName": "XCUITest",
"appium:app": "/Users/xxx/IdeaProjects/AppiumTest/apps/UIKitCatalog.app"
"appium:deviceName": "iPhone 15 Pro",
}
2. Inspect the element in the mobile application
3. Copy the AccessibilityId locator value
4. Use the element locator in your TestNG method to click on the element
5. Run the Appium test
GitHub Project - github.com/qascript20/appium-...
-----------------------------------------------------------------------------------------------------------------------------------------------
Online Training Courses:
Tricentis Tosca - www.qascript.com/courses/Tric...
Interview Pack:
www.qascript.com/products/64b...
1:1 Technical Support:
topmate.io/bijan_qascript/
Follow us on Instagram for Career Advice & Job Search:
qascript_?i...
Join our Telegram Group:
t.me/+77ZEKyj-3d02ZTll
Follow us on LinkedIn:
/ qascript
Talk to us directly:
t.me/+919167748060
9 июн 2024