Automating c# Selenium tests with XRay Edited

I found this nice tutorial on testing automation: https://www.xpand-addons.com/automated-tests-with-bamboo/


What I would like to do is incorporate our in-house c#/selenium testing framework(page object model) into the XRay testing workflow. Say we deploy and we want to then set a task that will run our c# selenium tests automatically. then when complete, return failed results to the developer via JIRA.

XRay: C#Selenium Example

More detail can be found here: https://community.atlassian.com/t5/Bamboo-questions/C-NET-NUnit-Selenium-Integration-Testing-on-full-AWS-deployment/qaq-p/610802#M15105

 

Can XRay do this? I seen c# selenium test cases in the documentation, but no idea how to implement them, or to run the tests automatically as an instance deploys and get the results.

1 answer

Hi Jeremy,

Xray provides integration with many different automation frameworks, such as Nunit, Junit, Behave, Cucumber, etc. 

In the folowing link you can see an example of a Nunit selenium test and how it will look like whenever you import the results to JIRA. 

The Nunit capabilities and how the integration work can be seen in these two links:

 

Have in mind that Xray is a Test Management tool. That means that your automated tests code has to be coded somewhere else, eventualy commited on Git or other SCVS. Then you run those tests in your CI tool and submit the results back to JIRA / Xray, by either using the REST API or the free plugins for Jenkins, Bamboo or Maven. Whenever you do this, we can automaticaly create the Test issues corresponding to your automated tests, if they have not already been created. This is because we're able to identify the tests uniquely from the results file you submit. Thus, your automated test results are always reported to the same Test issues in JIRA, and if they are linked with some requirements that means you will always see the status being updated in the requirement issues.

 

Note: I would suggest you to reach us using our support channel here: http://jira.xpand-addons.com/servicedesk/customer/portal/2 

It's the best way to give you on-time and prompt support by the team itself.

Regards,

Sergio Freire

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

342 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you