Articles tagged with 'TrialGrid'

User Acceptance Testing Part 1

Back in June 2017 Andrew attended the Medidata Next Basel Hackathon and
put together a proof-of-concept for Automated User Acceptance Testing (UAT). 18 months later we're getting ready to release the first production version of this system.

What took so long? Well, to say we've been busy is something of an understatement. In that time we've built up to more than 100 Diagnostics; advanced editors for Matrices, Data Dictionaries, Unit Dictionaries and Forms; standards and library management features and a whole lot more. In all, we've released more than 150 new features of the software to our pre-release Beta site since June 2017. But we held off on UAT features because we really wanted to do it right.

What is User Acceptance Testing anyway?

But first, what is User Acceptance Testing and what are the challenges to doing it?

The term User Acceptance Testing comes from software projects. Imagine that an organization wants to automate some business process. They get their business domain experts together to create a Specification for what the software should do. This Specification is passed to the developers to build the solution. When it comes back from the developers the organization will perform User Acceptance Testing to ensure that the software meets the Specification.

In the world of Rave study building, User Acceptance Testing may be done by the Sponsor team but it may also be done by a CRO with the evidence of testing being provided to the Sponsor team. Regardless of its roots, User Acceptance Testing in our industry means the process of testing to provide evidence that the study as-built matches the Specification.

Test Scripts

The current gold standard for testing evidence is to have a Test Script which can be manually executed by a user. A typical script for the testing of an Edit Check might look something like this:


Name : Check SCREENING_VISIT_DATE
Version : 1

Step Instruction Expected Result Actual Result Comments User Date Pass / Fail
1 Log into EDC using an Investigator role Login succeeds, user is at Rave User home page
2 Navigate to Site 123 User is at Subject listing for Site 123
3 Create a new Subject with the following data: Date of Birth = 10 JAN 1978 Subject is created with Date of Birth 10 JAN 1978
4 Navigate to Folder Screening, Visit Form and enter the following data: Visit Date = 13 DEC 1968 Visit Date for Screening Folder is 13 DEC 1986.
5 Confirm that Edit Check has fired on Visit Date with text "Visit Date is before subject Date of Birth. Please correct." Edit Check has fired.

The script consists of a set of instructions each with expected results. The user performs each step and documents the actual results, adding their initials and the date/time of the execution along with any comments and whether the step passed or failed. The user may also capture screenshots or the test subject may be maintained in a test environment for the study as evidence that the Check was tested.

Risk-based Approach

Since a phase-III trial might contain more than 1,000 Edit Checks many organizations building studies will take a risk based approach. If an Edit Check comes from a Library it may have been tested once in an example study and then not tested for each new study where that Edit Check is used. Edit Checks considered low risk may not be tested in this way at all.

A risk based approach means that we're balancing a negative outcome (a migration to fix an edit check say) against the cost of a more comprehensive set of tests. If we assume 10 minutes to write and 5 minutes to execute a positive test (the check fires) and a negative test (the check doesn't fire) then 1,000 edit checks is....counts on fingers...250 hours, more than a month of effort. The work doesn't stop there of course - these test scripts would have to be maintained. If the Query Message of an Edit Check is changed then the test script should also be updated to reflect that and if the View or Entry restrictions for a Field are changed then the script should be checked to ensure that the user type executing the test (e.g. Investigator or Data Manager) can still see the query. Even then, the test scripts are going to be executed once because the cost/effort of re-running these scripts because of a change to the study is just too prohibitive.

In summary, we would create a test script for every Edit Check if we could but it is a huge undertaking to:

1) Create the tests
2) Execute the tests
3) Maintain the tests

The TrialGrid Approach

"Doing UAT Right" means taking the work out of each of these steps. It is no good having a solution that executes the tests quickly if it doesn't also reduce the effort of creating the tests. Having fast authoring and execution of tests doesn't help if the resulting tests can't be easily maintained.

We are confident that with the new TrialGrid approach you can reduce the overall effort of creating, running and maintaining scripted test cases by at least a factor of 10. That means that 250 hours for 1000 edit checks would be reduced to 25 hours, at a rate of $100/hr that's a saving a $22,500 saved per study.

Inconceivable? Impossible? Unlikely? Why not join our free webinar on Thursday January 10th to find out more:

https://register.gotowebinar.com/register/2929700804630029324

Or if you can't wait until then. Come back tomorrow for another post on the TrialGrid approach to UAT.

Direct Rave Import

Our goal at TrialGrid is to assure the quality of Medidata Rave Study Builds and accelerate the build process. Working with the TrialGrid system should be as frictionless as possible but the process of getting Rave Drafts into TrialGrid requires the user to download the Draft as an Architect Loader Spreadsheet (ALS) from Rave and then to load this ALS into TrialGrid. This import/export takes only a few minutes but it is a form of friction, slowing the process.

So exactly a year ago we started discussions with our friends at Medidata on how to improve this integration and today we're pleased to announce that TrialGrid now has the ability to import Drafts directly from Rave.

Let's walk through it.

First enter the Rave URL you wish to import from. Rave URL's usually have the form https://{name}.mdsol.com (e.g. https://innovate.mdsol.com). You can enter the full URL or just the {name} part.

Enter URL

You will also need to enter a Rave Username and Password. This must be a Rave User Account not an iMedidata/Cloud Admin account since the solution makes use of Rave Web Services behind the scenes and Rave Web Services uses Rave Accounts only (for now).

Note that we do not store this username and password in the TrialGrid system. They don't get saved in the database and are encrypted in transmission.

With a URL and user credentials we can provide a list of Projects the user has access to in that URL and a list of Drafts in each Project. Select the Draft you wish to import (you can search within the Draft list):

Select Draft

Once selected the import process begins just as if the user had uploaded the Draft themselves:

Draft Import

Imports direct from Rave may take a few seconds or a few minutes depending on the size of the Draft but the user doesn't have to sit and wait for it to happen. These imports take place as background tasks so the TrialGrid user can move on to doing something else while the process runs.

Faster Fingerprinting

It is worth noting that on the TrialGrid side we continue to try to make import as fast as possible. One of the longest parts of the process is the calculation of unique "fingerprints" for each design object in the file. We use these fingerprints to detect changes between draft objects and their definitions in libraries. Included in this release is an improvement to this calculation which improves performance by 25-50%.

What is coming in 2019?

What about exporting Drafts from TrialGrid back to Rave? We're working on it and you can expect to see this feature in early 2019 but at the moment we're hard at work putting the finishing touches to the first release of our Automated User Acceptance Testing (UAT) feature.

Don't miss our Automated UAT unveiling Webinar on January 10 2019. Free registration at

https://register.gotowebinar.com/register/2929700804630029324

See you there!

Searching Rave Studies

If you've ever wanted to quickly search through all your Rave study and library drafts, we now have that feature!

At any point in the TrialGrid application you can enter some terms in the search box and instantly see objects which contain that text. We search all projects and libraries you have access to, and search all of the text in forms and their fields, folders, data and unit dictionaries, edit check and derivations and custom functions.

position

As an example, lets search for objects containing the word "position". Here we see the top 10 matches, a data dictionary which has been used in different libraries and projects:

position

If we want to search within a project we can add the project name to the search terms, and now we see objects within project "B100", the data dictionaries again and also some forms:

position_and_project

We can click on one the search results and go directly to that object. Here's one of the forms - it was displayed in the search results because there's a field on the form with a label "Position of the Subject":

display_object

If you only want to search forms you can filter the results to only show forms (or any other object types):

search_forms

And if you want to go further you can create more complex searches - this one will find forms containing "position" but not "blood":

complex_search

All parts of Edit Checks, including query messages, are searched - here's a search showing edit checks which open a query containing the words "start time":

seach_edit_checks

Similarly you can search the source code of all Custom Functions. Suppose I want to find a custom function which does something with MedDRA codes - here it is:

seach_custom_functions

In all these examples, the search is fast - typically you'll see the results in less than 0.2 seconds.

We also search the TrialGrid tools for team communication and workflow, so if you have information in Project wiki pages you can quickly find them through searching.

So if you've ever wanted to find a custom function, or an edit check, or a form, etc but struggled to remember exactly which project or library its in, now you can track it down quickly and easily!

Medidata Rave is the market leading EDC system. The TrialGrid application is designed to help Study Builders make the most of Medidata Rave by speeding study development, managing library compliance and automating quality checks. If you want to see what TrialGrid can do for your team, Contact us