Forum Discussion
Alexandr,
I know it is not part of this video but one thing I wanted to ask about is visibility for TestComplete
I have lots of regression testing that I would like my boss and company to have to audit purposes (test X last week)
I need to have visibility on this to show the results, how can this be done ?
Currently, you can export the results in a format on internet explorer can really use (.mht)
The log file can be limited to X amount - space saving
How can I get a system to link back to, and show results a week/month/year from now without exporting ALL the logs or pulling them in Jenkins
- bear in mind that when building tests the is a large percentage of failed/incomplete tests while building the final product
- AGubarev4 years agoSmartBear Alumni (Retired)
Hi, Lee_M
thanks for interesting question.
TestComplete has two kind of results representation: ordinary log (which is more technical and mostly need to understand the cause of test failure) and summary (it contains high-level info about pass/failed scenarios).
If you need to show some high-level report for your boss, I'd recommend to use Summary representation (and it can be exported as JUnit and exported in some test reporting system, or just printed as PDF).
Also the next step can be to put the test set in some test orchestration system: Zephyr, AzureDevOps, or Jenkins (which is free to use).
It can give you merged report, scalability, different kind of representations and historical data.
Here some screenshots from Jenkins:
It stores also the "technical" logs, so, you can always can see them and it can options to clean the storage by scheduler.
Another thing which I like in Summary, that you can add all test cases / scenarios which you discussed with you boss or dev. And automate it one by one, and before non-automated-yet test cases just put Runner.Stop() - all the test cases which are not automated will be in Unexecuted group.
So, you boss can see in report the progress - how many tests already automated and what is in backlog. The technical details is usually not so important for management.
- Lee_M4 years agoCommunity Hero
Alex,
Thank you very much for your answer
Unfortunately, the best fit solution for me, as you mentioned would be the Jenkins server which is currently out of scope for the next couple of months
A summary (high level) report is exactly what I need to generate, and have found more information on this page but is only available with test plans and not single runs
The JUnit style report is a good option but requires another piece of software which is not always the best option (looking for a link type like Jenkins - eg. - for test results click here - which could be done exporting the html files)
(Does SmartBear recommend any reporting apps ?)
when you export the html files, do you know if there is a way to add the test title to the report (with editing it manually)
-----------------Not directly related:
Is there a way we can output the text name automatically - that I can add to, say, the event 'onStopTest'
e.g.
Log.Message("you have just ran: " + test.name)
- AGubarev4 years agoSmartBear Alumni (Retired)
>but is only available with test plans and not single runs
try to use aqTestCase object, maybe it helps
>Does SmartBear recommend any reporting apps
TestComplete has special support of Jenkins, AzureDevOps, Zephyr - these tools are for orchestration, but have their reporting as well.
This tools have their pros and cons. And maybe you need to choose one of it mostly not as reporting tool, but if you have plans to get additional value to your QA processes.
If we talk only about reporting systems, internally, we test how TestComplete works with Allure. And it works 🙂
>when you export the html files, do you know if there is a way to add the test title to the report (with editing it manually)
it depends how do you export the log. If you do it automatically, yes, you can set the name of the file:
TestComplete.exe "C:\My Projects\MySuite.pjs" /run /p:MyProj /exportLog:"C:\TestLogs\Log.html"
>Is there a way we can output the text name automatically - that I can add to, say, the event 'onStopTest'
not sure how you split the code by tests and what do you run, but maybe this helps for you:
function EventControl1_OnLogError(Sender, LogParams) { var strFoo = aqConvert.VarToStr(arguments.callee.caller); Log.Message(strFoo.split(" ")[1].split("(")[0]) }
- cauline4 years agoContributor
There is also another way to present trends with your tests in Jenkin's. We use an extension called 'Plots', that in our case, we use to graph page load times daily/weekly.
Related Content
- 11 months ago
- 10 months ago
- 15 years ago
- 12 years ago