Which task can I add in CI pipeline on Azure DevOps to install Appium driver and Appium Plugin?

84017655 21 Reputation points
2024-02-16T08:07:47.51+00:00

I am using Azure DevOps for a task related to Automation Testing. I need help with resolving these two errors that I am facing: 1- [warning]Failed to read /home/vsts/work/1/s/src/test/resources/features/matas/app/homescreen/InStoreModeScreen.feature. Error : Data at the root level is invalid. Line 1, position 1..User's image

2- Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (Connection refused (Connection refused)I need to understand which task can I add in CI on Azure DevOps to install Appium driver and Appium plugin to resolve Appium related errors as shown below Appium

I used following tasks in CI on Azure DevOps: User's image

Also confirm, whether I can use normal CLI task in CI Pipeline to run following commands to install Appium driver:

  1. npm i --location=global appium
  2. appium
  3. appium driver install xcuitest

What I want to achieve? I am expecting that pipeline automatically performs steps mentioned in all those files that end with .features extension in repository as shown below: Repo

Right now, tests are not being executed even when pipeline runs successfully as shown below: User's image

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 28,951 Reputation points Microsoft Vendor
    2024-02-16T09:51:18.67+00:00

    Hello @84017655,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Azure DevOps is currently not supported in the Microsoft Q&A forums, the supported products are listed over here: https://docs.microsoft.com/en-us/answers/products/

    Please kindly post your question on our Developer Community - Azure DevOps for further help.

    Thanks for your understanding, have a nice day.

    Kind Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments