I'm using X-Ray.
I would like to apply a label (TC) to my stories when I create a Test Case for the story.
I would then like to remove the TC label and add a label of TE when I create a test execution against the test case.
I asked a few weeks ago about the first part of this, got an answer and have been using it but I don't know how to change the rule to now do what I want.
Hi @Alex ,
the easiest way would be to add the execution as a sub-execution of the story. In this case you could create the automation rule similar to the previous one:
Just an additional (kinda organizational) input:
for increasing awareness of your topic and as this refers to xray as well as automation: add those tags (xray, automation) to your question ;)
Please let me know if this helps.
Best
Stefan
Hi @Alex ,
Could you send a screenshot of the audit log output?
Did you create a test execution or sub test execution?
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My tests went OK. I tested like follows:
(see screenshots)
given
when
then
audit log output
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, I've just recently started working with x-ray so I might be using it incorrectly.
What I do is.
I don't know where to find the audit log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK. I see. There is not really a "correct or incorrect" ;) If it fits the process of the company/team and does what it should it´s correct :)
Sooo....here comes my (personal) suggestion that turned out as good practice several times in the past:
audit log
if you are in your automation rule screen there is "audit log" in the left upper corner (right below the rule details). If clicked the view on the right side will show audit details (different activations of the rule). By clicking on "show more" in of the activations even more details are shown (eg. what was processed within the rule) --> see screenshot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome. Let´s give it a shot.
In case this works for you please consider to accept the answer in order to have this case marked as solved ;)
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've followed the steps suggested above for creating test executions from a test case but the automation doesn't seem to be triggering and assigning the label.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you create the sub test execution out of the story (as described in my previous) or out of the testcase (you just wrote from test case)?
THEN: changing back to the Story A, section "Test Coverage"
click execute & choose "with sub test execution"
Could you please show a screenshot of your automation rule? And if possible of how and where you created which test execution (everything that would help analyzing)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I know what I did wrong, I think I selected `with Test Execution` and not `with Sub-Test Execution`
Although for some reason when I selected sub-test execution two were made.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this behaviour reproducable? Did you try this again and it happens all the time? if so please document step by step.
Could you please also provide screenshot from your automation rule?
Best
Stefab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've just tried it another three times and each time two sub-test executions were created.
Steps I performed:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oooooff.....haven‘t ever experienced that one :o that sounds strange.
I know it‘s already been a long way but would i be possible to send a screenshot of the task issue you are testing as well as the test case?
btw:
does at least the automation works as expected? =)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The automation works.
616 is the task and 773 is the test.
The images are quite large, I'm not sure if they will work well on here. I may need to upload them somewhere else and post a link to them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can´t really explain this behaviour. 1 thing i could suggest is to open the 2 test executions, open the history (at the very bottom) and take a look if the creator is the same in both issues or if there has been triggered any "hidden" automation.
In case the behaviour keeps as it is I recommend to contact xray support team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As (i guess) your initial question was answered would you please consider to accept the answer in order to mark this case as solved and make it easier for other users in need of help to find soltuions?
Thanks in advance.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stefan Salzl just to make you (and anyone else reading this I guess) that the x-ray devs are aware of this issue and are working to fix it.
Not sure why it's not happening for you though?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Holy crap!!! I´m so sorry.....it DOES happen on my site too. I just wasn´t aware of it :o :o
Thanks for letting me know. Really much appreciate this.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.