A test is working fine in TP online. Tried to run generated code in eclipse but failed. Checked the generated code does not include valid strings for APP_PACKAGE, APP_ACTIVITY, and APP_FILE_PATH so generated code cannot start the app at the beginning in eclipse so the test failed. here is the generated code in setting up DesiredCapabilities -
capabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, "YOUR_APP_PACKAGE"); capabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, "YOUR_APP_ACTIVITY"); capabilities.setCapability(MobileCapabilityType.APP, "APP_FILE_PATH");
Pls include valid strings for APP_PACKAGE, APP_ACTIVITY in the generated code to work with opensdk and run the test on the attached android phone.
The generated c# code does not include valid strings for AndroidPackage and AndroidActivity either.
public static string AndroidPackage = "Your AndroidPackage"; public static string AndroidActivity = "Your AndroidActivity";
Talked to the support team and was told to open a ticket with R&D team.