print test case status and failure message in teardown : Automation API

print test case status and failure message in teardown

Class library usage, coding and language questions.

print test case status and failure message in teardown

Postby agiletestware » Tue Dec 06, 2011 1:24 pm

Hello,
How can I print the test case status and failure message/exception (if test failed) in the teardown script ?
Looking to just do something like

console.writeline("status:" + test.status)
if(test.status.failed)
console.write ("message: " + test.failuremessage)

Thanks
agiletestware
 
Posts: 7
Joined: Tue Dec 06, 2011 10:11 am

Re: print test case status and failure message in teardown

Postby Support Team » Tue Dec 06, 2011 5:24 pm

Hi,

At the moment there is no way how you can get the status in the teardown of the test case, but this is a known issue and we will add this functionality in one of our future releases.

Regards,
Markus
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: print test case status and failure message in teardown

Postby swmatisa » Wed Dec 07, 2011 8:46 am

Hello,

Warkaround: I think you can do this with the IReportBuilder Interface and another application that display the messages.

I do something like this to know the number of testcases passes, failed or blocked on my VMs (with a simple UPD connection to tranfer data). see http://www.ranorex.com/forum/ranorex-report-and-test-status-monitoring-t2845.html#p11489

I hope this help
SW
swmatisa
 
Posts: 54
Joined: Fri Aug 05, 2011 8:52 am

Re: print test case status and failure message in teardown

Postby agiletestware » Fri Jan 06, 2012 5:34 pm

Hello Markus,
Do you have a date when this will be available. The last two releases do not have this feature (per the release notes)
http://www.ranorex.com/download/release ... html#c3788

Thanks
agiletestware
 
Posts: 7
Joined: Tue Dec 06, 2011 10:11 am

Re: print test case status and failure message in teardown

Postby Support Team » Mon Jan 09, 2012 5:52 pm

Hi,
agiletestware wrote:Do you have a date when this will be available. The last two releases do not have this feature (per the release notes)

This feature will be available with Ranorex 3.3.

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: print test case status and failure message in teardown

Postby agiletestware » Mon Jan 09, 2012 6:25 pm

What is the tentative release date for 3.3 ?
agiletestware
 
Posts: 7
Joined: Tue Dec 06, 2011 10:11 am

Re: print test case status and failure message in teardown

Postby Support Team » Mon Jan 09, 2012 6:31 pm

Hi,

I cannot tell you an exact date now, but it should be available end of Q1 or at the beginning of Q2.

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: print test case status and failure message in teardown

Postby agiletestware » Mon Apr 09, 2012 11:55 pm

Hello Peter,
Any update on when this will be available ?

Thanks

Ali
agiletestware
 
Posts: 7
Joined: Tue Dec 06, 2011 10:11 am

Re: print test case status and failure message in teardown

Postby Support Team » Tue Apr 10, 2012 11:37 am

Hi,

please be patient, it will be available soon...


Regards,
Tobias
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: print test case status and failure message in teardown

Postby Pavlo » Thu Apr 19, 2012 9:50 am

Hi

I'm also interested in Ranorex v3.3 :wink:

I'm getting more and more tests with status "to be continued when Ranorex 3.3 released because can't verify cell color" (I've already posted my question and got answer here: how-to-get-font-color-for-table-row-cell-t3084.html)

Take your time - don't hurry with release - we need good and bug-less tool for automation :) - but let us know when Ranorex 3.3 is ready and please provide couple of examples how to use new features from it.

-re
Pavlo
Pavlo
 
Posts: 17
Joined: Fri Dec 30, 2011 11:55 am

Re: print test case status and failure message in teardown

Postby Support Team » Fri Apr 20, 2012 12:34 pm

Hi Pavlo,

Pavlo wrote:on't hurry with release - we need good and bug-less tool for automation

As you said we don't want to hurry, because we want to deliver a stable product for our customers. We also have a complete new Plug-In "Android Plug-In" in this version and a lot of other nice features.

To be honest, I think the version will be available at end of May.

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests

cron