La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Getting the log Error message in a variable
Hi Aswanth, there is no rc.getLastError message as such, but if you implement a TestRunListener you can read the message from the TestRunEvent in the problemOcurred calls: http://www.qfs.de/qftest/manual/en/tech_testrunlisteners.html#sec_testrunlisteners Best regards, Greg "Seetharaman, Aswanth" <Aswanth_Seetharaman@?.com> writes: > 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 > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > http://www.qfs.de/mailman/listinfo/qftest-list -- Gregor Schmid E: gregor.schmid@?.de T: +49 (0)8171 38648-11 F: +49 (0)8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Karlheinz Kellerer HRB München 140833
|
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.