Open AllysonYuShiong opened 1 week ago
Try to use platform "android" instead of "Android" . (don't use capital A).
also as error mentioned, your config doesn't match with W3C driver capacities. try to add prefix for those configs for appium. for example for appiumVersion use "appium:appiumVersion"
Here is one example:
Appium: {
appiumV2: true,
platform: "android",
path: "/",
app: "D:/a/android.apk",
desiredCapabilities: {
"appium:platformVersion": "10",
"appium:automationName": "UiAutomator2",
"appium:deviceName": "Test",
"appium:appiumVersion": "2.11.2"
},
},
What are you trying to achieve?
To output the correct test case title in the LambdaTest dashboard. When I commented appiumV2: true, I can get the correct title displayed on the LambdaTest dashboard, when I use appiumV2: true, I get duplicate test title on the LambdaTest dashboard. I'm running 2 test cases continually as below. FYI, I have reached out to LambdaTest team and confirm this is not an issue from their side, as their appium version displayed from console is already version 2.X.
Adding
appiumV2: true
into the config file will dismiss the message below.However, it doesn't work well with my config below for LambdaTest
and produce error below: