When I ran the code below, i m observing the error as WebDriverException: Message: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource
Code
*** Settings ***
Library AppiumLibrary
*** Variables ***
#Shared
${newCommandTimeout} 120
${eventTimings} true
${printPageSourceOnFindFailure} true
${appium_host} http://172.23.230.134:4723/ #port no to interact server mac
#Android
App Info
${app_Activity} com.logue.ui.activity.SplashActivity #app_activity
${app_Package} com.logue
Mobile and OS details
${platform_Name_Android} Android
${Android_OS} 14 #OS version
${Pixel_4a} R5CT126FWHA #Device Name
${ANDROID_AUTOMATION_NAME} UIAutomator2
*** Keywords ***
Open App Andriod
Open Application ${appium_host}
… appActivity=${app_Activity} appPackage=${app_Package} platformName=${platform_Name_Android} platformVersion=${Android_OS} newCommandTimeout=${newCommandTimeout} noReset=true automationName=${ANDROID_AUTOMATION_NAME}
*** Test Cases ***
Test to open android
Open App Andriod
System information
Appium v2.6.0
- xcuitest@7.24.1 [installed (npm)]
- uiautomator2@3.7.4 [installed (npm)]
- Vscode 1.86.2