Adding messages to log file - RFT

Most of the RFT (Rational Functional Tester) users in the initial stages will get question in mind when they see the auto-generated log after executing their Functional script ... i.e
How to add more information/messages to log ? How to change logs ?
Its so simple. RFT provides the following functions to customize your final log file after executing the functional script.
We know that the logs can maintained in different ways in RFT say TestManager Log, HTML Log, or Text Log etc. What eve the kinda log we are using we can add our general messages or test status results say PASS / FAIL to the log file.
RFT provides the following functions to add more messages
Function name - Usage Example
logInfo - logInfo("Login button is clicked. - PASS");
logTestResult - Ex : 1
logTestResult("Text buffer comparison",TextField_text.equals(urloginName));
Ex : 2
logTestResult("Text buffer comparison", true);

logError - logError("Exception e = "+e.toString());
logWarning - logWarning("Your warning message goes here.");

0 comments to "Adding messages to log file - RFT"

Post a Comment

Who ever writes Inappropriate/Vulgar comments to context, generally want to be anonymous …So I hope U r not the one like that?
For lazy logs u can at least use Name/URL option which don’t even require any sign-in, good thing is that it can accept your lovely nick name also and URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")
వీలయితే నాల్గు పోస్టులు ...కుదురితే ఒక కామెంటూ ...


Enter your email address:

Buffs ...


hits counter
View My StatsCheck Google Page Rank

Add to Google Reader or Homepage

Bookmark and Share


Powered by WidgetsForFree