This is a mobile automation framework for testing the "Create Wallet" functionality of the Trust Wallet app.
- Download the latest Android APK from https://trustwallet.com/.
- Install Xcode
- Configure Apple ID in Account preferences
- Install Xcode command line tools
- Command: xcode-select --install
- Install xcpretty [to make Xcode output reasonable]
- Command to install xcpretty: gem install xcpretty
- Install Carthage [dependency manager, required for WebDriverAgent]
- Install Appium-doctor and check Appium setup
- Command to install Appium doctor: npm install -g appium-doctor
- Command to get help: appium-doctor --h
- Command to check setup for iOS: appium-doctor --ios
- Install XCUITest driver (using Appium CLI)
- Command to install driver: appium driver install XCUITest
- Download link: https://github.com/appium/ios-uicatalog
- Command to get simulator name: xcodebuild -showsdks
- Command to get UDID: xcrun simctl list
- Install Appium and ensure it is running with the command:
appium server -p 4723 -a 127.0.0.1 -pa /wd/hub. - Clone this repository
- Run the SampleTests using TestNG.
- Ensure proper configuration of Appium capabilities for iOS testing.
- Ensure that the Trust Wallet APK is placed in the appropriate directory.
- Modify the test scenarios in SampleTest.java as per requirements.