automated.test_manage.config.Platform Maven / Gradle / Ivy
The newest version!
package automated.test_manage.config;
import org.openqa.selenium.WebDriver;
/**
* Created by Ismail on 12/27/2017.
* Thi class contains all related Variables and method for
* generic usage and definition of Platform level
*/
public class Platform {
/*************** Class Variables Section***************/
// Define static WebDriver Object cross Platform
public static WebDriver driver = null;
// Define configuration variables(Parameters from TestNG)
public static String platform = null;// Define Platform Type(Web or Mobile)
public static String browser = "chrome";// Define Browser Type
public static String mobile = "android";// Define Mobile Type
public static String baseUrl = "";// Define baseUrl value
public static String virtualMobile = "";// Define virtualMobile value
// Define Parameters Names Strings
// Define Browser Parameter name
public static final String browserParam = "browser";
// Define Mobile Parameter name
public static final String mobileParam = "mobile";
// Define BaseUrl Parameter name
public static final String baseUrlParam = "baseUrl";
// Define Virtual Mobile Parameter name
public static final String virtualMobileParam = "virtualMobile";
/*************** Class Methods Section ***************/
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy