Current version appears to only allow single file attachments per edit session. We'd sure appreciate the ability to add multiple files in the open edit session. Especially helpful when recording the support for test results.
Multi-select attachements
Filtering with "Match none of the above" and by "No value"
Sometimes when filtering test suites or test runs I want to filter multi-Select fields by cases that don't match a specific criteria. Currently there's "Match all of the above" and "Match any of the above" but no "Match none of the above".
Similarly, I also occasionally want to filter for cases where a specific Multi-Select field doesn't have a value.
Currently it doesn't seem like either of these are supported. Are there any easy workarounds and if not, can I request this functionality?
Thanks,
Ansar
[API] update_plan_entry throws error
I am using .Net library at https://github.com/gurock/testrail-api/ … master.zip.
API doco -
POST update_plan_entry/:plan_id/:entry_id
{
name: string,
assignedto_id: int,
include_all: bool,
case_ids: array
}
My request -
POST update_plan_entry/13/23
{
include_all: false,
case_ids: [9, 171]
}
All ids are correct and proper for the request.
The response -
{"TestRail API returned HTTP 400 (\"Field :entry_id is not a valid test plan entry.\")"}
[API] Need a way to get the case IDs in an existing run/entry
Although add_run, update_run, add_plan_entry and update_plan_entry all require an array of case IDs if include_all = false, get_run does not return one.
I have a business case to add results to existing plans/entries but I can't determine in advance if the test case for which I'm adding the results exists in the plan/entry.
My only alternative at the moment is to attempt the adding of results in a try/catch block.
Thanks
Martin
Jira integration - Push
Hi,
My goal is: To make push to Jira as short and automated as possible.
What i want to push: Currently, the only parameter i am missing is "steps to reproduce"
Problem: Steps to reproduce needs to be inserted manually in spite of having the data in the "Results"
side note's:
1. Yes i am using the steps_separated
2. Yes, i did configure the costume field in Jira. This is not what i need! as i will still have to maunaly fill in all steps when pushing
Not able to connect to localhost\sqlexpress
I have installed the PHP 5.4.x and the sql server database, also installed Microsoft SQL Server but when I am trying to point the web browser to the new testrail directory on the web server to launch the TestRail Installation Wizard, I am getting the below error and cannot proceed further, please help me on this:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Detailed Error Information
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://lhhydla0283:80/SQLEXPRESS/
Physical Path C:\inetpub\wwwroot\SQLEXPRESS\
Renaming test cases in test suite without renaming previous runs
I'd like to be able to rename a test case in the test suite definition without affecting previous runs of that case in existing test runs.
When I rename a test case in the test suite definition it appears to change the name of that test case in all previous runs of the test suite.
I'm using
TestRail v4.0.3.3270
A specific example is a test suite that we have called "Desktop Explorative testing" which contains a test case "Internet Explorer IE 8". When we click "run test" we add the date into the name, e.g. Desktop Explorative testing 2014-11-20. Some of those previous runs were performed on IE 8 Windows 7, but we're interested in Windows XP. When I tested IE 8 I'd use Windows XP, but another person used Windows 7.
I tried to update the name of the test case
"Internet Explorer IE 8"
to
"Internet Explorer IE 8 (use Windows XP if possible)"
but that changed the name of the test case in all previous runs of the case. I'd like new runs to use the new name and old runs to stay the same.
Is this possible? If so, how do I go about doing it?
[Defect Plugin] Retrieve data from Test Case Result
I am attempting to use the defect plugin with Rally.
I wish to retrieve the value in the 'Version' field the user has specified in TestRail in the test result so that I can send this as the Found In Build value.
I have attempted to modify the script to extract the value from tests and case objects but the version object is not defined.
example:
$test = current($context['tests']);
$testVersion = $test->version;
#Also have tried
$testVersion = $test->case->version;
return $testVersion;
Error returned is: Undefined property: stdClass::$version
Get a report for each Pass/Fail and not just the overall Status?
I haven't fully explored the Reports feature, but nothing stood out to me right away as the answer.
I was wondering if there's a way to create a report that will use all of the individual Results and not just the overall Status of the Case?
More specifically, if there's 3 passes and 2 fails in 1 case, I want to see all that information in the report, not just the Status of the 1 case.
Thanks!
How to know number of Test steps in a testcase
Hello Admin,
I am new to testrail, I have config to have steps in my testcase, so for each test case i can have up to 7 teststeps. How can I know number of steps in each test case without not going into the test case.
Example: I have 50 test case and each test case have mixture of 3 to 8 test steps, How will i know number of test step for all my 50 test case.
Request Feature: Test report on test step Passed/Failed Report.
Many Thanks,
Ola
User role/group from API
Is there any way to get a user's role or group from the API?
Obfuscated log file data
Is there a method to de-obfuscate a log file automatically?
I'm viewing a binary log file format and it's pretty useless when all the strings are obfuscated. It seems I can only export in html format and then I can de-obfuscate it so it makes sense. Would be good if this could be exported to a text file but I must admit the html with images looks good.
I can also configure a text logging option as well and then de-obfuscate that but the ability to have the text automatically de-obfuscate would be great.
Can you default the References field for a Test Suite/Section
I am attempting to relate Jira stories/requirements to test cases written. I have set up the reference field to link the Reference field in TestRail to the Jira story. What I was wondering is there a way to have the Reference field automatically populated to a specific story/requirement id while a user is creating a test suite or section? Or will the test creator have to type in that id every time?:/
Thanks!
Shared test cases across projects
I've used TestRail at my former company (mostly web testing) for years, but I just started at a fairly new mobile startup and I'm helping them port their test cases over to TestRail.
Currently we have two main projects for iOS and Android, using the 'recommended' single Master test suite model. The product (mobile app) is the same, however the projects are obviously not identical... right now we're trying to figure out the best way to manage and/or track common, non-OS specific test cases (such as basic component functionality, regressing bugs on the platform, etc.).
Ideally it'd be cool to be able to pull cases from the same repository (so we don't have to maintain two copies of the same test case), but not sure how well that would work having separate projects. Not to mention, steps might differ slightly across the different UIs. Is there maybe a way to link test cases across projects...?
Guess I'm mostly just curious if anyone else has had similar challenges, either with managing mobile app testing or just sharing very similar (if not identical) test cases, and/or has any suggestions for handling it.
Thanks!! :-)
Add a test run to a test plan
Hi
We faced two needs recently:
- Rerun a test run in a test plan
- Adding a test run to a test plan (happened because the tester created a test run instead of a test plan)
Is that functionality planned to be in the next release ?
Thanks
Stephanie
[UI Script] Make References field required
Hello,
This is a UI script to make the References field on the test case required (requires TestRail 4.0 or later):
name: Make References required
description: Makes the References field of test cases required
author: Gurock Software
version: 1.0
includes: ^cases/(add|edit)
excludes:
js:
$(document).ready(
function() {
$('#refs').prev().append(' <span class="form-required">*</span>')
$('form').submit(
function() {
App.Validation.hideErrors();
if ($.trim($('#refs').val()) == '')
{
$('#content-inner').prepend('<div class="message message-error" style="display: block">Field References is a required field.</div>');
$('#refs').addClass('form-control-error');
return false;
}
}
);
}
);
Regards,
Tobias
Pie Chart report by date
Hi Gurock
Is it possible to generate a report on a summary run by date? We've got a run that's being reused, to keep track of the history of passes / failures each time the run is executed. At the top of the report page (summary runs) it shows a pie chart summary of the most recent run. I'd like to generate a pie chart summary report of a specific run date.
Thanks
Returning the Console window 'All Log Entries' to left alignment
Hi,
Whilst logging proceeds as normal everything looks great but if errors get thrown which aren't caught, or logging entries aren't 'finalized' for some unfortunate reason, the console window soon becomes a mass of white space.
Is there some method besides clearing the whole console window, of setting the left alignment in code so that for each new program session i can align the console window so this is eliminated?
Filtering is not really an ideal solution.
View Preconditions, Steps, and Expected Results as columns on Test Run
I am looking to view the Preconditions, Steps, and Expected Results as columns on the list of Test Cases under the Test Run Screen. I see an option to add columns but these columns are not listed among those available. Is there a way to do this?
[Feature Request] Appending to Conflicting Fields While Bulk Editing
I'm often bulk editing test cases with conflicting values in a certain field. At that point "[various]" appears like in the following screenshot: http://screencast.com/t/dq9nZYCBW. The only possibility offered is to overwrite all of these fields or leave them all as is.
However, I usually don't care what's already there, and want to add new information to all of these cases regardless. My only option here is to figure out which cases have consistent values in this field and edit only those at the same time.
Preferably, I'd like the ability to choose between adding more content after "[various]" and having it appended to all these cases, or deleting the "[various]" and having the existing content replaced for all these cases.