How to stop Jira/Xray from updating my test case name/summary? - robotframework

I am using POST /api/v2/import/execution/robot to import my Robot Framework test results to Jira/Xray. I use robot tags to identify which Xray test executions I want to update. Problem is, that in robot file I want the test case name to be "Example" and in Xray I want the name to be "Real deal". When I POST my test executions to Jira, it automatically updates the tickets summary as follows:
XXX updated the Summary 30 minutes ago
Real deal -> Example.
So the ticket name changed, and I don't want that.
How can I stop this from happening?
Read through the documentation and tried to google, but can't find anything related.

From my understanding, and to clarify, you're using Xray on Jira Cloud.
Currently, the behaviour is non-configurable. For the time being, the only solution would be to change "Example" to "Real deal"; I would avoid having different names in RF side and on Jira side.
Finally, my other recommendation would be to reach out to Xray support team asking for an improvement, so that the team can analyze your need.

Related

How show the run date on the Test Runs Summary widget on JIRA Dashboard

I have added the Test Runs Summary xray widget to my JIRA Dashboard.
The results are shown - but there is no timestamp at all, so you have no idea when the run was executed. Is there any way to show the run time?
The "Test Runs Summary gadget" aggregates test runs, showing thereforece the counts only; it's not a list of Test Runs. Currently, this gadget doesn't provide drill-down/expand capabilities. If this is something that may be useful to you, please reach out Xray support team asking for this improvement. I'm not sure exactly how that would be implemented, but that is a question that the PO has to analyze.
Meanwhile, uou should use the Test Run List gadget instead, and include the "Started on" and "Finished on" field on the gadget configuration.

How to resolve a User for the first time(hasn't met before) on TestServer?

I'm just started to use Pyrogram to develop TG-Clients. for a starter, tried to pilot my scripts on [Test servers] to ensure things are fine. So created two user's account by the client-library itself (test numbers) then tried to run a sample workflow by interactions between those accounts, but seems there's no way to "meet" one with another (which is a precondition to be able to interact).
BTW:
Already tried to add_contact(), create_group(), send_message() to "self" including "target-account" mentioned in the message, but all of those considered as "interactions" and follow the same scheme (target User needed to exist in the .session local file to be able to interact with).
I gonna need a way to resolve User despite having that in the .session file (something like Search User by its id/phone/username)
Any suggestion would be appreciated.
P.S:
For what it worth, the "callback code" from TG-TestServers auth workflow, recently has changed from (Five-Times DC number to Six-Times) that needs to be corrected in the docs https://docs.pyrogram.org/topics/test-servers#test-numbers
Stay Safe All
PEACE V

Power BI - Switch table structure depending on what is selected

I'm trying to understand the workflow and how to think when working with Power BI.
I'm trying to create the visual side of a logging framework using azure application insights and log analytics in the background.
What I got stuck on right now is using a visualization for different table structures.
Scenario:
So lets say I have an integration workflow that is compiled of different components (starts at one endpoint, being processed and sent to destination endpoint), and this workflow is used in parallel depending on the endpoints.
Visualization:
A ----> (integration process) -----> B
C ----> (integration process) -----> D
A <---- (integration process) <----- B
C <---- (integration process) <----- D
In this process I'm logging traces and exceptions for each workflow for example.
And lets say I have extracted the power BI query from log analytics to import the data into Power BI.
Now as you can see above I have an "Send" and "Receive" flow for both sets of endpoints per parallel integration so to speak and I want to be able to pair these per report in Power BI.
Problem:
So then to my problem for now;
Let's say I want to put a doughnut chart with total amount sent AND received messages.
Also when clicking on the different parts of the chart I want to change the containing data and also the structure of the single table in the same report.
What I'm struggling with is using a table to display the content of two workflows that are related to each other in the sense of being a "Sent and received" visualization of the integration, but don't have any hard drawn relations to each other in code.
I was reading something about a switch statement but I thought i'd ask the question here to learn "the way of thinking" when using Power BI.
Hope I made my problem clear by the description above, if I forgot anything please ask and I'll do my best to try to further explain what I'm asking for.
EDIT:
Ok so regarding the feedback i got of the question being to broad, does it help i i would say i want to be able to switch everything in a Table (that is: all columns and values), by a clickable slicer for example.
why i'm trying to achieve is something similar to this, but for a table view:
Youtube Link:
Using SWITCH True Logic In Power BI - DAX Concepts
Do i select the content of a table with a measure-query or do i have to do any other special fix to get this to work?
Hope this clarify the problem i'm working on.
If you are looking to switch between two entirely different tables, I'd recommend using buttons to toggle between different bookmarks which show/hide different visuals.
Check out the documentation for bookmarks and buttons for more detailed information and come back if you get stuck and have more specific questions.

SCORM to xAPI sessions and re-answering Activity + changing Score

I'm coming from a SCORM end and trying to figure out two related issues with how to do update and find the most recent data (ie, looking for best practices).
In SCORM I'd have a set of activities that would all store their answers and scores (easily understandable from the docs etc). The "how" I'm after is specifically related to resuming the set of activities multiple times, and hitting "reset" and submitting a different answer to a single activity after a statement has been sent in.
From what I read with xAPI it states that statements are immutable - so how would I go about this.
My first thought was that I'd make the statement id generated from the activity id and void the old answer when it changes - but that sounds wrong (not least because it reads like you can't re-use the id even with voiding).
So it looks like the Statement id needs to be unique, which would mean that multiple identical Objects would be found - so would I have to look through every attempt and check for the latest one?
I'm currently looking at using xAPIWrapper in the middle.
Moving from SCORM to xAPI requires a change of mindset. SCORM deals with statuses which get updated; xAPI logs events like a journal.
You can think of it like Facebook. You post a photo of your new cat; a month later you post a photo of your cat 1 month older. There's no need to go back and delete the old post. If you want the latest photo of your cat you just go and get the most recent photo tagged "Ryochet's cat". You can also look at older photos to see how your cat developed. xAPI is like that activity stream on Facebook.
So, if somebody scores 10 points on their first attempt, then 20 points on their second attempt, you'd simply send a second set of statements about the 2nd attempt. There's no need to get rid of the statements about the old attempt, that happened and is useful data to see how the learner developed.

get request parameter from url in HP loadrunner

I am using HP loadrunner for my automatic tests.
Every time, when i run my application, it creates some transfer and also generates id in URL.
How can i get the id from URL?
Thanks in advance!
The web_reg_save_param function in LoadRunner is used for this. The following line will save the current page URL to the parameter (URL).
web_reg_save_param("URL", "LB/ic=Location: ", "RB=\r\n", "Search=Headers", LAST);
If you know what the ID is that your looking for, ie. http://www.example.com/?id=298374293847 you can adjust the call accordingly.
web_reg_save_param("URL", "LB/ic=Location: http://www.example.com/?id=", "RB=\r\n", "Search=Headers", LAST);
Hope this helps.
Recording with Siebel 8.1 on Loadrunner 11 having issues,posted a question on HP and got the same comment. But usually we can try the below mentioned option
You can record in Siebel-Web or web (http/html) and playback as
either too (if you want to record in Siebel-Web and play back in
regular web, just copy the contents of the script to a regular web
script and save).
Try a proxy mode recording in LR.
Changing registry and disables NTLM.
Turn off all autocorrelation rules
Turn on record as URL mode (as an alternate use web_custom_requests())
Use a sniffer to capture the traffic and then build a script by hand.(Best Option)
Change settings on the Siebel server side as well (Enable Automation=True, EnableWebClientAutomation = TRUE)
If you are recording your scripts using Web http/html you can use automatic correlation. For automatic correlation go to Design Studio
If you are unable to find the value there,then you must correlate manually using web_reg_save_param by giving the left and right boundaries.
This is going to sound belligerent, condescending and downright offensive. It is not to be meant as a reflection on you, but upon your management who has placed you in this position.
The topic of Correlation is one covered extensively in the class for LoadRunner web script development. It is the topic of a full 1/3 of the class and an additional appendix. All told some four different techniques for collecting dynamic data are covered, presented or documented as a part of the class materials. This capability, the handling of dynamic data, is a foundation tool skill.
Vardges, your management has placed you in a tough spot. Personally I would bolt for greener fields, for any management which is willing to do this to a line-of-business employee is also willing to toss that same person under the bus to salvage their own hide or a client relationship. Blaming you for something that management is unwilling to address is not a question of "if?" when training and mentoring does not occur, but only "when?" will the blame be placed on you.
James Pulley
Moderator: YahooGroups Advanced-LoadRunner, YahooGroups LoadRunner, SQAForums LoadRunner, LinkedIn LoadRunner, GoogleGroups lr-loadrunner

Resources