com.testvagrant.monitor.entities.SmartBOT Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of optimusmonitor Show documentation
Show all versions of optimusmonitor Show documentation
The Java Client provides access to Optimus cloud for all java based projects.
The newest version!
/*
* Copyright (c) 2017. TestVagrant Technologies
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package com.testvagrant.monitor.entities;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.service.local.AppiumDriverLocalService;
import org.openqa.selenium.remote.DesiredCapabilities;
public class SmartBOT {
private String belongsTo;
private DesiredCapabilities capabilities;
private String deviceUdid;
private AppiumDriverLocalService appiumService;
private AppiumDriver driver;
private String runsOn;
private String appPackageName;
private String deviceId;
private String testName;
private TestCase testCase;
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getAppPackageName() {
return appPackageName;
}
public void setAppPackageName(String appPackageName) {
this.appPackageName = appPackageName;
}
public String getRunsOn() {
return runsOn;
}
public void setRunsOn(String runsOn) {
this.runsOn = runsOn;
}
public AppiumDriverLocalService getAppiumService() {
return appiumService;
}
public void setAppiumService(AppiumDriverLocalService appiumService) {
this.appiumService = appiumService;
}
public String getDeviceUdid() {
return deviceUdid;
}
public void setDeviceUdid(String deviceUdid) {
this.deviceUdid = deviceUdid;
}
public String getBelongsTo() {
return belongsTo;
}
public void setBelongsTo(String belongsTo) {
this.belongsTo = belongsTo;
}
public DesiredCapabilities getCapabilities() {
return capabilities;
}
public void setCapabilities(DesiredCapabilities capabilities) {
this.capabilities = capabilities;
}
public AppiumDriver getDriver() {
return driver;
}
public void setDriver(AppiumDriver driver) {
this.driver = driver;
}
public boolean isAnAndroidEmulator() {
return (deviceUdid.startsWith("emulator") || deviceUdid.contains("vbox"));
}
public TestCase getTestCase() {
return testCase;
}
public void setTestCase(TestCase testCase) {
this.testCase = testCase;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy