/**
  * Takeresult.
  *
  * @param result the result
  */
 @AfterMethod
 public void takeresult(ITestResult result) {
   test.takeScreenshotOfFailure(result);
 }
 /**
  * Tear down class.
  *
  * @throws Exception the exception
  */
 @AfterClass
 public void tearDownClass() throws Exception {
   test.closeBrowserSession();
 }
 /** Sets the up class. */
 @BeforeClass
 public void setUpClass() {
   test = new TestSessionInitiator(System.getProperty("datafile", "MTX_smoke_qaf_testData.yml"));
   test.launchApplication();
 }