appium I how to read configurations from property file | parameterization in TestNG part-8

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 10

  • @ajitgore2956
    @ajitgore2956 6 หลายเดือนก่อน +1

    Nice concept

  • @LittleShooter
    @LittleShooter 6 หลายเดือนก่อน +1

    Very good video sir..

    • @BhauAutomationLab
      @BhauAutomationLab  6 หลายเดือนก่อน

      Thanks so much for great feedback

  • @priyankamane6706
    @priyankamane6706 2 หลายเดือนก่อน +1

    My url is not working which is I have set in properties file. It showing error. Can you please give me solution

  • @Intraday_Market_Trader
    @Intraday_Market_Trader 4 หลายเดือนก่อน +1

    If I don't pvoide the app location, my scrip gets fail but I can see that you didn't provide the apk location but still it's running

    • @BhauAutomationLab
      @BhauAutomationLab  4 หลายเดือนก่อน

      Bcoz i have set app package name and activity name in desired capabilities.

    • @Intraday_Market_Trader
      @Intraday_Market_Trader 4 หลายเดือนก่อน +1

      @@BhauAutomationLab I have also set appPackage and apActivity in code still If I comment my apk path, my script fail

    • @BhauAutomationLab
      @BhauAutomationLab  4 หลายเดือนก่อน

      @OptionTrader91 Please share your caps details

    • @Intraday_Market_Trader
      @Intraday_Market_Trader 4 หลายเดือนก่อน

      @@BhauAutomationLab//Setting Desire Capabilities for device
      DesiredCapabilities caps = new DesiredCapabilities();
      caps.setCapability("appium:automationName",AndroidAppAutomationName);
      caps.setCapability("udid", "emulator-5554");
      caps.setCapability("appium:deviceName", "sdk_gphone_x86_64");
      caps.setCapability("platformName", "Android");
      caps.setCapability("appium:platformVersion", "13");
      caps.setCapability("appium:app", "C:\\Users\\Rahul Sinha\\eclipse-workspace\\ClearQuoteInspection\\src\\test\
      esources\\ClearQuote Inspections.apk");
      caps.setCapability("appWaitForLaunch", false);
      caps.setCapability("appPackage", AndroidAppPackageName);
      caps.setCapability("appActivtiy", AndroidAppActivtiyName);
      URI url = new URI(AppiumURL);
      driver = new AndroidDriver(url.toURL(),caps);