HP Sprinter - Improving Quality without Automated Testing

Part 1: Testing Evolution Series

 

Sprinter.jpgHow much would you pay to never write another test case or test step again? Better yet, how about cloning your best manual tester multiple times and pay for only one? I'm not talking about a medical miracle, a new expensive business intelligence product, or an automated testing tool. I'm talking about a tool that most Application Lifecycle Management (ALM) users don't have a clue they already own.

 

I'm talking about the coming of age of exploratory testing as a true solution and not just another concept posted on Wikipedia. Yes, I'm talking about HP Sprinter, the first big step in empowering the manual tester in an environment that struggles with the cost of automated testing on a daily basis.

 

Don't get me wrong. Automation is the key to the future of any type of system or non-system testing, including functional, regression, unit, load, security, etc. However, we still need documented test cases and new functional testing to bridge the gap in today's high-paced, understaffed application testing groups. This is why I have a special place in the testing hall of fame for Sprinter.

 

Sprinter is not just another testing tool, but as the new standard for documenting detailed test cases, cross-platform testing, test execution notation, data injection, and most of all, a solution for speedy defect resolution and eradication.

 

Sprinter2.jpgThe data injection tool within Sprinter is very easy to use and has a highly animated way of entering predefined data into mapped text boxes within a form or web page, literally saving tester hours of tedious data entry.

 

Sprinter documents every action you take within the application and writes the action on the test report (See Fig 1) and automatically take a snapshot of the form or page right after the action was taken. By taking that highly document execution report and converting it into a precise test case within ALM will save your tester time and allow you to use less qualified resources to execute test cases with little or no training on the application under test. In some cases, I have used this method to train people on entering a defect in ALM. By far, this feature alone is a game changer for managers that are trying to distribute the work load across a diverse IT group or reallocate more experience staff for other key projects.

 

The high level of detail that a user can automatically deliver when writing defects from Sprinter with a single click of a button can convey more information to development teaSprinter.gifms then found in about 90% of the defects that I had the honor of reading in my career.

 

Other features that caught my eye you may not be aware of, such as the ability for users to create repeatable macros, which allows testers to bypass steps that have become repetitious and time consuming, or the ability to have Sprinter auto check the attributes of items (i.e. color or size) on web page or forms that maybe overlooked during normal manual testing.

 

Sprinter2.jpgIf you don’t have access to ALM 11.00 I would recommend downloading the Sprinter evaluation version and try it for 15 day or if you have access to ALM 11.00 or higher versions, please feel free to download the full version of Sprinter from either ALM’s internal add-on’s webpage or visit HP’s external ALM Sprinter download website. The only thing I ask is after you try Sprinter please post your feedback on this blog, I would really like you’re comments and recommendations to be heard by Research & Development so they can make the product better. Undoubtedly, I just scratch the surface of the advantages of Sprinter and would like to hear from the Users.  

 

Some Other websites:

 

In this Testing Evolution Series, I will address in detail all the items listed in fig. 2 and give a solution that addresses real-world issues. I'll touch on other tools like HP Unified Functional Testing (which includes QTP…) as well as different testing methodologies, such as exploratory testing.

 For my presentation on HP Sprinter from HP Discover Las Vegas 2012, please click here.

HPblogfooter.jpg

 

Comments
JomyMooken(anon) | ‎06-14-2013 07:47 AM

Hi there,

 

I have been evaluating HP Sprinter today.

We are trying to automate our test cases and we do have coding skills.

 

I have a few questions related to Macro recording and playback:

1. Can we add wait time between two actions performed in a macro?

e.g.: On playback, after login if the application is taking 1 minute to load the first page is there a way to make the playback wait for 1 minute before performing the next operation

 

2. Can we run multiple macros in a single run rather than selecting and clicking each macro and running them individually?

 

  

Thanks in advance.

-Jomy

Michael-Deady ‎06-18-2013 09:21 AM - edited ‎06-18-2013 09:47 AM

The short answer is not at this time; but I've looked into it little farther and located the XML file for the macros are typically located "<drive>:\Users\<username>\AppData\Local\Temp\Sprinter\Settings\Applications\" in the XML file you will find your macros. The macro is stored in XML file call Marco which after further study does a checkpoint or compare after each of key data points during the execution of the macro as shown below. Sorry to say that I don't have list HP Sprinter APIs as this would greatly help in deciphering the proper function call needed to insert a wait times. I’m sorry, I do not have a complete picture for you as far as adding wait time to HP Sprinters macros; however I have contacted some folks in R&D and hope to find out more.

 

This comment  comes with a bold warning if you corrupt or damage the macro.XML file you will more than likely end up rerecording all your macros.

 

I would like to get some feed back from R&D if possible

 

To answer part two of your question : Typically the macros are designed to run a single page or function for the user and from what I understand was not really designed to replace the user , unless using HP sprinter in a situation such as mirroring and even then you’re only running a few steps across all platforms. Again from what I understand (which isn’t much) macros are designed to speed up manual testing adding a little more accuracy to repeatability but for the foreseeable future will  require user interaction. That said I am not always privy to the HP sprinter roadmap but I do know that all of the functionality your currently requesting can be found in HP’s unified functional testing tool which combined with HP sprinter can greatly enhance both attended and unattended functional testing which really boils down to a return on investment. if you haven't used UFT I would highly  recommend downloading the demo version   or I can put you in touch with people that could show you the integration between HP sprinter and UFT for creating and executing scripts .

 

SAMPLE:  </KeyValuePair> -<KeyValuePair> <Key>url without form data</Key> -<Value objectID="89"> <Flag>PROP_READWRITE, PROP_NOT_COMPARE</Flag> <CompareType>CT_Default</CompareType> <PropType>8</PropType> <Value type="System.String, mscorlib">http://www.bing.com</Value> </Value> </KeyValuePair> -<KeyValuePair> <Key>url</Key> -<Value objectID="90"> <Flag>PROP_READWRITE, PROP_RUNTIME, PROP_OPTIONAL</Flag> <CompareType>CT_Default</CompareType> <PropType>8</PropType> <Value type="System.String, mscorlib">http://www.bing.com</Value> </Value> </KeyValuePair> -<KeyValuePair> <Key>title</Key> -<Value objectID="91"> <Flag>PROP_READWRITE, PROP_RUNTIME, PROP_OPTIONAL</Flag> <CompareType>CT_Default</CompareType> <PropType>8</PropType> <Value type="System.String, mscorlib">Bing</Value> </Value> </KeyValuePair> -<KeyValuePair> <Key>testobjname</Key> -<Value objectID="92"> <Flag>PROP_NOT_PERSIST, PROP_READ</Flag> <CompareType>CT_Default</CompareType> <PropType>8</PropType> <Value type="System.String, mscorlib">[ Bing ]</Value> </Value> </KeyValuePair> -<KeyValuePair> <Key>testobjgentype</Key> -<Value objectID="93"> <Flag>PROP_NOT_PERSIST, PROP_READ</Flag> <CompareType>CT_Default</CompareType> <PropType>8</PropType> <Value type="System.String, mscorlib">Web page</Value> </Value> </KeyValuePair>  

Paulo Henrique(anon) | ‎02-24-2014 06:26 AM

Hello,
I'm having a problem with the sprinter, whenever I connect a project and will perform with the Power Mode enabled, displays a message, the Sprinter Agent Not Responding.
When this error occurs closing the sprinter, I close all processes and open again, sometimes it works sometimes standard error perciste.
could someone help?

Leave a Comment

We encourage you to share your comments on this post. Comments are moderated and will be reviewed
and posted as promptly as possible during regular business hours

To ensure your comment is published, be sure to follow the Community Guidelines.

Be sure to enter a unique name. You can't reuse a name that's already in use.
Be sure to enter a unique email address. You can't reuse an email address that's already in use.
Type the characters you see in the picture above.Type the words you hear.
Search
Showing results for 
Search instead for 
Do you mean 
About the Author
Michael Deady is a Pr. Consultant & Solution Architect for HP Professional Service and HP's ALM Evangelist for IT Experts Community. He spec...
Featured


Follow Us
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.