summaryrefslogtreecommitdiff
path: root/src/test/java/com/mavlushechka/a1qa/framework/BaseTest.java
blob: c4240d5a59d75890710921dca0c976d68c45a150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.mavlushechka.a1qa.framework;

import aquality.selenium.browser.AqualityServices;
import com.mavlushechka.a1qa.framework.utils.JsonParser;
import com.mavlushechka.a1qa.framework.utils.LoggerUtils;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeSuite;

public class BaseTest {

    @BeforeSuite
    public void setUp() {
        LoggerUtils.initialize();
        AqualityServices.getBrowser().goTo(JsonParser.parseData("config", "browser.url"));
    }

    @AfterTest
    public void tearDown() {
        AqualityServices.getBrowser().quit();
    }

}