-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hi Team,
Recently, I had a query from one client for Quantum Reportium and I think this is an important feature that needs to be added in our framework.
When we use any of the assertion methods of QAF like:
getLfgHomeImage().assertPresent("LFG Homepage is displayed");
getLfgHomeImage().verifypresent("LFG Homepage is displayed");
Then there should be entries in the reportium using this line of code:
QuantumReportiumListener.getReportiumClient().reportiumAssert("Home page was displayed", true);
If this can be implemented in QAF jar in
protected void report(String op, boolean outcome, Object... args) { getReporter().addMessage(WebDriverCommandLogger.getMsgForElementOp(op, outcome, args), (outcome ? MessageTypes.Pass : MessageTypes.Fail)); }
in QAFExtendedWebElement class. A condition could be added for Reportium client. because this method is getting called in all the assert or verification methods.
Thanks,
Kulin