0

I am working with azure devops, and using Java selenium to runs test scripts, I couldn't find a way to post my results in the test plan whether it fails or passed with screenshots. I already have a report generated with screenshots in the pipeline, but I want it to be updated in the test plan in each relevant manual test case.

I searched and found some workarounds, first is to migrate the project and use visual basic C# as it already can be integrated with azure devops but this will be impossible to do in this project, Or connect my script using APIs to update the results, this seems to be more logical solution but don't know how to start.

2 Answers 2

0

Selenium testing is automated testing, it doesn't make sense to upload the Selenium test results to manual test cases.

To run test as part of a test plan in Azure DevOps we can Associate automated tests with test cases. But Java Selenium is not supported here. See What types of tests are supported?. So, if you want to associate Selenium automated tests with test cases in test plan, you can try to migrate the project and use visual basic C# as you already mentioned.

BTW, there's already a suggestion ticket raised to request the feature to support Java Selenium here, you can vote to make it happen in the future.

If you still just want to update a manual test result with an attachment, then you can try to call the following REST APIs to update your manual test result:

More information please reference the following docs and blogs:

Sign up to request clarification or add additional context in comments.

1 Comment

@AhmedAlaaEwis May I know any update? Is the answer helpful?
0

First way

There are 2 REST APIs which you can call to update results in Azure Dev Ops via java or python or any language

  1. Get Test Points
  2. Update Test points

Here is a detailed video on explaining the 2 APIs

From the official documentation

Second way

There is another way using a utility called as Syncer. Which also does the above thing. its explained in detail

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.