Enterprise Architect, customize export of use case scenario steps - uml

when exporting to RTF i get the steps from my use case scenario steps as 1 textline
: 1) some text 2) some other text 3) even other text..
I would like to have this text as a list instead of 1 long sentence with numbers in it. How can i achieve that? I tried to modify the RTF template but is still keeps 1 line in the export.
example
some text
some other text
even other text

I know this isn't exactly what you were after, but with Enterprise Architects Structured Scenarios you can generate internal and external TestCases with the Test description having the format you requested.
When EA generates the test case it will also generate all the test steps for you (and the alternate steps as well), and place them in the Scenario tab in the testing dialog (Alt+3). Keep in mind you will need to have the Use Case selected to show the correct tests.
You can then run the RTF report over these tests and get the correct steps for the report.
I hope this helps

Related

Azure DevOps Test Case Questions

I have a couple of things I have been trying to work out with no success.
I am using Azure DevOps in the cloud not locally.
Is it possible to simply paste screen captures into Test Case Steps.
When running manual test cases the Runner header displays an icon to Show Description, where do I enter this description in the test case, I have tried the Summary Tab Description with no success.
Image of description issue
Andy put me on the right track, I had to extract the process associated with my project then modify the TestCase.xml. I had to change the FieldName from using Microsoft.VSTS.Common.DescriptionHtml to System.Description
Q1: Is it possible to simply paste screen captures into Test Case Steps.
No, copy/paste screen captures is not supported in Test Case Steps, we can only attach the screenshots as attachments.
Q2: Where do I enter this description in the test case, I have tried
the Summary Tab Description with no success.
Yes, you can enter the description in Summary Tab, make sure you have saved the test case after entering the description. Tested on my side and everything works as expected.

Named entity recognition - tagging tools

Does someone have a recommendation of tagging tool for NER types in raw text?
The input for the tool should be a library of text files(.txt simple format) , there should be a convenient UI for selecting words and set the tag/annotation fit to selection, the output should be structural representations of the tags(e.gs tart index , last index, tag in a JSON format)
Founderof LightTag here
We provide a super convenient interface to do span annotations such as named entity recognition, classifications and relationships.
You can work as one labeler or bring in a team and LightTag will disribute work between everyone automatically (no more selecting files and remembering what you labeled already) .
You can upload your own suggestions and let labelers use those, or use LightTags built in model.
Of course you can annotate at the character level and highlight subwords or multi word phrases.
You can try https://github.com/lasigeBioTM/MER (bash)
see the demo at http://labs.fc.ul.pt/mer/
Online tools:
I guess Dataturks' POS tool should work fine for your use case, you can just upload your data and specify the labels. The UI seems convenient enough.
Here is the link:
https://dataturks.com
It's an online tool, so you can work with multiple people to get the tagging done.
The exact output format you are looking for is not supported, but the format can easily be converted to what you are looking for, the output is like: word___LABEL word2___LABEL , so a simple 2-line script can convert it to start and end index.
Offline:
Another tool you can check out is prodigy, it's a downloadable software and does similar things. Just that you might be willing to pay for it upfront.
https://prodi.gy

Zephyr to Test Rail migration - Is it possible?

We are currently looking at Testrail as an alternative to using the Zephyr plugin within JIRA as Testrail looks to give us better test case and reporting management than Zephyr does.
Currently faced with the usual problem when changing tools of how to migrate our existing test cases from one to the other.
I know there are importer tools to get Excel spreadsheet cases into Testrail, so that is ok.
The problem I'm facing is how to get the test scripts out of Zephyr.
Does anyone know of any similar plugins to export test cases/scripts from Zephyr to Excel?
I've tried using the inbuilt export function, but it only seems to export the basic case details, not the individual test steps.
Any help greatly appreciated.
the inbuilt export definitely exports the test steps. I am looking at my own exported test cases with test steps right now in xls and csv formats
However the export has many many columns, the test step part is easy to miss.
In my XLS the test steps are in columns BF, BG, and BH. Of course yours are likely to be different, I am only giving you those column names as an example of how many columns you will have to scroll past.
XLS: For example test case EX-123 with 4 steps there will 4 rows merged together until the test steps col. So the "key", "Summary" columns will be 4 rows merged together..
CSV: The all the info is on the 1'st row.. and then at the test step column each test step has a row.
Just take a test case you know has steps, and start to scroll right through the columns and you'll see the steps .
Having done some further investigation myself, it appears there are multiple ways to extract parts of the tests from Zephyr.
If you use the 'Search' function to locate a test and then choose to Export via the Export button in the test case frame itself then you get a summary of the test information but WITHOUT the test steps.
If you use the 'Search' function to locate a test and then choose to Export via the Export button in the test case frame itself then you get a summary of the test information but WITHOUT the test steps.
If you use the Export button from the top of the window (there should be 'Share', 'Export' and 'Tools' buttons) you get additional options.
Selecting the option for 'Excel (All fields)' will extract full test case information, including all the fields.
A slightly quicker way to extract them is to Search for executed tests and from the 'Executed Tests Summary', select a test via the checkbox next to the test and select 'Export'.
This gives the option to extract the test information, including test steps, as CSV, XLS, HTML, XML or RSS.
As stated above, this is a large file and the test step information not readily apparent. (My steps were started in column CH!)
It is also worth noting that each line within the test step appears in a different cell, so importing to another tool will definitely require a lot of reformatting of the test step information.

Xpages: is it possible to allow user to select multiple values and display dynamic result depends on user’s selection in Domino Designer 9.0.1?

I would like to ask is it possible to allow user to select multiple values and display dynamic result depends on user’s selection in Domino Designer 9.0.1?
We are required to develop a web application using xpages.
Here is is the background of web application:
Each member has a current group
Each group are required to join some specific activities
Member can choose future group and check the activity is joined or not join
That means use member in current group’s latest activity status (joined or not join) to compare the future group (find which activity is joined or not join)
The sample pictures about the application will be like the following
For user's selection: the user can choose multiple members with related current group and the user can choose the future group for each member for the comparison.
After click the Submit button, the result shows to the user
Here is the question: is it possible to do this in Domino Designer 9.0.1?
The reason we ask is we haven't find similar sample on the internet yet and we don't know whether it is possible to do in the Domino Designer 9.0.1.
Grateful if someone can provide advice on this issue please. Thank you very much.
Update:
We apologize for our misleading question. We are absolutely not asking someone to write code for us.
We are not able to upgrade to Domino 9 at the moment and we are currently writing some code using 8.5.2.
However we have a concern that if we write a lot of complex code in the application, it will be a trouble for our colleagues to do the maintenance for program.
Also assume we write a lot of complex code in the application and the program works, what about if the user has new requirements base on the current function for the program? We believe the code will be much complex and hard for someone who handle this task to understand the logic of the program.
Thus, for the future development and the program maintenance. Is the latest version more flexible to develop and maintain or just not much difference to accomplish.
Sorry for the inconvenience we have made.
Thank you for your time.
Update 2
For the coding of the program, we have the following experiment.
Option Public
Option Declare
Sub Initialize
Print |Content-Type:application/text/html|
Print "<tr><td>Result<br></td></tr>"
Print "<br>"
Print "<br>"
Print "<table border = 1><tr><th>Member</th><th>Test 001</th><th>Test 002</th><th>Test 003</th></tr></table>"
Print "<table border = 1><tr><th>Activity</th><th>Joined</th><th>Joined</th><th>Joined</th></tr>"
Print "<tr><td>Activity 1</td><td>No</td><td>Yes</td><td>No</td></tr>"
Print"<tr><td>Activity 2</td><td>No</td><td>Yes</td><td>No</td></tr>"
Print "<tr><td>Activity 3</td><td>Yes</td><td>No</td><td>No</td></tr>"
Print "<tr><td>Activity 4</td><td>No</td><td>No</td><td>Yes</td></tr>"
Print "<tr><td>Activity 5</td><td>Yes</td><td>No</td><td>No</td></tr>"
Print "<tr><td>Activity 6</td><td>No</td><td>No</td><td>Yes</td></tr></table>"
End Sub
Those code just hard code only, it will open in html format.
Due to the data will change depends on user's selection, we cannot guarantee the size of the table and hard to define data to locate in which cell.
We are currently studying how to make those code dynamically, make it more flexible.
Thank you.
The tool you need in XPages are custom objects either in JavaScript or Java (that's way less scary than it sounds) and one repeat control for the rows. If the number of columns are dynamic too, then you need 2 repeat controls.
The layout reminds me a lot of the table walker example (I wrote) as part of IBM's original XPages 8.5.0 training exercises. You need to check them out.
In particular look at Exercise 23. The data source, multi value fields might not fit your case, but the dynamic table does.
Good luck and let us know how it goes.

How to get the text from a control type : client using coded UI

I have a Windows Application, which has a control type: Client and
class name =WindowsForms10.WIndows.8.app.0.3ce0bb8_r11_ad1
It is like a sub title bar. It has a text which displays the number of records in the table below. I want to extract that number of records. How ever when I spy using UIMap-CodedUI Test Builder, it highlight the entire title bar and does not only highlight the number of records. Is there any way I can handle this.
I want to extract 495 from the title bar. How can I do that?
Thank you all for your reply.
I could figure out an answer.
1) 495 is not shown as a UI control.
2) I found a work around , I can calculate the rows in the table below using UISyncDataGridTable.Rows.Count
and it serves my purpose.
You could use AutoHotkey. This or this function should be able to complete the task you want. The installer also comes with windows spy, which might help you pinpoint the control class you want to extract the string from.

Resources