List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Getting the log Error message in a variable


  • Subject: [QF-Test] Getting the log Error message in a variable
  • From: "Seetharaman, Aswanth" <Aswanth_Seetharaman@?.com>
  • Date: Mon, 23 Sep 2013 08:29:58 -0500

Hi,

 

I was writing a listener at the test set level to get the status for each test case and I need to report to my database with that status of each testcase with the failure reasons.

To achieve this, is there a similar method like getLastException() to get the Error message specified in the rc.logError() method.

 

 

For ex :

If I am  logging it like rc.logError(“ This is an Error ”)

I need to get that string “This is an Error” in a variable.

 

How can we achieve this?

 

Regards,

Aswanth Seetharaman,

BMC Sotware,

Pune,

India – 411041

Extn – 020 -39875922

Mob- 8600677222