Best io.appium code snippet using io.appium.java_client.remote.MobilePlatform
AndroidDriverManager.java
Source:AndroidDriverManager.java
...35import io.appium.java_client.MobileElement;36import io.appium.java_client.android.AndroidDriver;37import io.appium.java_client.remote.AndroidMobileCapabilityType;38import io.appium.java_client.remote.AutomationName;39import io.appium.java_client.remote.MobilePlatform;40import java.io.File;41import java.net.MalformedURLException;42import java.net.URL;43import org.apache.logging.log4j.LogManager;44import org.apache.logging.log4j.Logger;45import org.openqa.selenium.remote.DesiredCapabilities;46public class AndroidDriverManager implements IDriver {47 private static final Logger logger = LogManager.getLogger(AndroidDriverManager.class);48 private AppiumDriver<MobileElement> driver;49 @Override50 public AppiumDriver<MobileElement> createInstance(String udid, String platformVersion) {51 try {52 Configuration configuration = ConfigurationManager.getConfiguration();53 DesiredCapabilities capabilities = new DesiredCapabilities();54 capabilities.setCapability(UDID, udid);55 capabilities.setCapability(PLATFORM_VERSION, platformVersion);56 capabilities.setCapability(DEVICE_NAME, "Android Emulator");57 capabilities.setCapability(PLATFORM_NAME, MobilePlatform.ANDROID);58 capabilities.setCapability(AUTOMATION_NAME, AutomationName.ANDROID_UIAUTOMATOR2);59 if (Boolean.TRUE.equals(configuration.installApp())) {60 capabilities.setCapability(APP, new File(configuration.androidAppPath()).getAbsolutePath());61 } else {62 capabilities63 .setCapability(AndroidMobileCapabilityType.APP_PACKAGE, configuration.androidAppPackage());64 capabilities65 .setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, configuration.androidAppActivity());66 }67 driver = new AndroidDriver<>(new URL(gridUrl()), capabilities);68 } catch (MalformedURLException e) {69 logger.error("Failed to initiate the tests for the Android device", e);70 }71 return driver;...
Base.java
Source:Base.java
2import io.appium.java_client.AppiumDriver;3import io.appium.java_client.android.AndroidDriver;4import io.appium.java_client.ios.IOSDriver;5import io.appium.java_client.remote.MobileCapabilityType;6import io.appium.java_client.remote.MobilePlatform;7import org.openqa.selenium.By;8import org.openqa.selenium.remote.DesiredCapabilities;9import org.testng.annotations.AfterMethod;10import org.testng.annotations.BeforeMethod;11import org.testng.annotations.Parameters;12import java.io.File;13import java.net.MalformedURLException;14import java.net.URL;15import java.util.concurrent.TimeUnit;16/**17 * Created by Zahid on 1/31/2017.18 */19public class Base {20 public static AppiumDriver ad = null;21 public String OS = null;22 public String deviceName = null;23 public String version = null;24 public File appDirectory = null;25 public File findApp = null;26 public DesiredCapabilities cap = null;27 @Parameters({"OS", "deviceName"})28 @BeforeMethod29 public void setUp(String OS, String deviceName) throws MalformedURLException {30 if (OS.equalsIgnoreCase("Android")) {31 appDirectory = new File("/Users/icecube/IdeaProjects/Mobile-Automation/Android/src/GrubHubApp");32 findApp = new File(appDirectory, "GrubHub.apk");33 cap = new DesiredCapabilities();34 cap.setCapability(MobileCapabilityType.DEVICE_NAME, deviceName);35 //cap.setCapability("avd", deviceName);36 cap.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);37 cap.setCapability(MobileCapabilityType.PLATFORM_VERSION, version);38 cap.setCapability(MobileCapabilityType.APP, findApp.getAbsolutePath());39 ad = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), cap);40 ad.manage().timeouts().implicitlyWait(25, TimeUnit.SECONDS);41 }else if (OS.contains("ios")){42 appDirectory = new File("/Users/icecube/IdeaProjects/Mobile-Automation/iOS/src/CatalogApp");43 findApp = new File(appDirectory,"UICatalog6.1.app.zip");44 cap = new DesiredCapabilities();45 cap.setCapability(MobileCapabilityType.DEVICE_NAME,deviceName);46 cap.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.IOS);47 cap.setCapability(MobileCapabilityType.PLATFORM_VERSION, version);48 cap.setCapability(MobileCapabilityType.APP, findApp.getAbsolutePath());49 ad = new IOSDriver(new URL("http://127.0.0.1:4723/wd/hub"), cap);50 ad.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);51 }52 }53 @AfterMethod54 public void tearDown(){55 ad.closeApp();56 ad.quit();57 }58 public void clickByXpath(String locator){59 ad.findElement(By.xpath(locator)).click();60 }...
BaseClass.java
Source:BaseClass.java
...5import io.appium.java_client.ios.IOSDriver;6import io.appium.java_client.remote.AndroidMobileCapabilityType;7import io.appium.java_client.remote.IOSMobileCapabilityType;8import io.appium.java_client.remote.MobileCapabilityType;9import io.appium.java_client.remote.MobilePlatform;10import org.openqa.selenium.remote.DesiredCapabilities;11import org.testng.annotations.AfterTest;12import org.testng.annotations.BeforeTest;13import java.net.MalformedURLException;14import java.net.URL;15public class BaseClass {16 AppiumDriver<MobileElement> appiumDriver;17 DesiredCapabilities desiredCapabilities = new DesiredCapabilities();18 Boolean localAndroid = false;19 @BeforeTest20 public void setup() throws InterruptedException, MalformedURLException {21 if (localAndroid) {22 desiredCapabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);23 desiredCapabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "emulator");24 desiredCapabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "12.0");25 desiredCapabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, "com.getir.dev");26 desiredCapabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, "com.getir.core.feature.splash.SplashActivity");27 appiumDriver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), desiredCapabilities);28 Thread.sleep(2000);29 } else {30 desiredCapabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.IOS);31 desiredCapabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iPhone 13");32 desiredCapabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "15.0");33 desiredCapabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, "XCUITest");34 desiredCapabilities.setCapability(IOSMobileCapabilityType.BUNDLE_ID, "com.getir.ios.dev.v2");35 desiredCapabilities.setCapability(IOSMobileCapabilityType.PROCESS_ARGUMENTS, "{\n" +36 " \"args\": [\n" +37 " \"getir-is-running-ui-tests\",\n" +38 " \"-AppleLanguages\",\n" +39 " \"(tr)\",\n" +40 " \"-AppleLocale\",\n" +41 " \"tr_TR\"\n" +42 " ]\n" +43 " }".toString());44 appiumDriver = new IOSDriver(new URL("http://127.0.0.1:4723/wd/hub"), desiredCapabilities);...
DriverFactory.java
Source:DriverFactory.java
2import com.tantaluminnovations.uitests.utilities.LoadProperties;3import io.appium.java_client.AppiumDriver;4import io.appium.java_client.remote.AutomationName;5import io.appium.java_client.remote.MobileCapabilityType;6import io.appium.java_client.remote.MobilePlatform;7import org.openqa.selenium.remote.DesiredCapabilities;8import java.io.File;9import java.net.MalformedURLException;10import java.net.URL;11public class DriverFactory {12 public AppiumDriver createInstance() throws MalformedURLException {13 LoadProperties properties = new LoadProperties();14 String platform = properties.getPropertyValue("config.properties", "platform");15 switch (platform.toLowerCase()) {16 case "android":17 return android();18 case "ios":19 return ios();20 default:21 return android();22 }23 }24 private AppiumDriver android() throws MalformedURLException {25 File app = new File(System.getProperty("user.dir") + "/src/test/resources/app/android/app-debug.apk");26 URL url = new URL("http://localhost:4723/wd/hub");27 DesiredCapabilities capabilities = new DesiredCapabilities();28 capabilities.setCapability(MobileCapabilityType.APP, app);29 capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, AutomationName.ANDROID_UIAUTOMATOR2);30 capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Android Emulator");31 capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);32 capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "7.0");33 return new AppiumDriver(url, capabilities);34 }35 private AppiumDriver ios() throws MalformedURLException {36 File app = new File(System.getProperty("user.dir") + "/src/test/resources/app/ios/Phoenix.app");37 URL url = new URL("http://localhost:4723/wd/hub");38 DesiredCapabilities capabilities = new DesiredCapabilities();39 capabilities.setCapability(MobileCapabilityType.APP, app);40 capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, AutomationName.IOS_XCUI_TEST);41 capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iPhone 8");42 capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.IOS);43 capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "11.0");44 return new AppiumDriver(url, capabilities);45 }46}...
DesiredCapabilities.java
Source:DesiredCapabilities.java
...5import io.appium.java_client.AppiumDriver;6import io.appium.java_client.android.AndroidDriver;7import io.appium.java_client.remote.AndroidMobileCapabilityType;8import io.appium.java_client.remote.MobileCapabilityType;9import io.appium.java_client.remote.MobilePlatform;10import io.appium.java_client.android.AndroidElement;11public class DesiredCapabilities {12 public static AppiumDriver<AndroidElement> androidDriver = null;13 org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities = null;14 /**15 * @Param null16 * @return androidDriver17 * This method is used to set the desired capabilities18 */19 public AppiumDriver<AndroidElement> getDriver(){20 try{21 desiredCapabilities =new org.openqa.selenium.remote.DesiredCapabilities();22 desiredCapabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Pixel API 24");23 desiredCapabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, "com.ebay.mobile");24 desiredCapabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, "com.ebay.mobile.activities.MainActivity");25 desiredCapabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);26 this.androidDriver = new AndroidDriver<AndroidElement>(new URL("http://127.0.0.1:4723/wd/hub"),desiredCapabilities);27 return this.androidDriver;28 }catch (Exception ex){29 System.out.println("Exception in initialising Android Driver" +ex);30 return null;31 }32 }33}...
BaseTest.java
Source:BaseTest.java
...4import io.appium.java_client.MobileElement;5import io.appium.java_client.android.AndroidDriver;6import io.appium.java_client.remote.AndroidMobileCapabilityType;7import io.appium.java_client.remote.MobileCapabilityType;8import io.appium.java_client.remote.MobilePlatform;9import org.openqa.selenium.remote.DesiredCapabilities;10import java.net.MalformedURLException;11import java.net.URL;12public class BaseTest {13 protected static AppiumDriver<MobileElement> appiumDriver;14 DesiredCapabilities capabilities;15 @BeforeScenario16 public void beforeScenario() throws MalformedURLException {17 capabilities = new DesiredCapabilities();18 capabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE,"com.ozdilek.ozdilekteyim");19 capabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY,"com.ozdilek.ozdilekteyim.MainActivity");20 capabilities.setCapability(AndroidMobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);21 capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "emulator-5554");22 //appiumDriver = new AndroidDriver<>(new URL("http://0.0.0.0:4723/wd/hub"), capabilities);23 appiumDriver = new AndroidDriver<>(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);24 }25 @AfterScenario26 public void afterScenario(){27 appiumDriver.quit();28 }29}...
AppiumDriverConfig.java
Source:AppiumDriverConfig.java
1package com.alura.appium;2import io.appium.java_client.AppiumDriver;3import io.appium.java_client.remote.MobileCapabilityType;4import io.appium.java_client.remote.MobilePlatform;5import org.openqa.selenium.remote.DesiredCapabilities;6import java.io.File;7import java.net.MalformedURLException;8import java.net.URL;9public class AppiumDriverConfig {10 public final AppiumDriver driver;11 private static AppiumDriverConfig _instance;12 public static AppiumDriverConfig Instance(){13 if (AppiumDriverConfig._instance == null){14 AppiumDriverConfig._instance = new AppiumDriverConfig();15 }16 return AppiumDriverConfig._instance;17 }18 private AppiumDriverConfig() {19 File apk = new File("C:\\Users\\dcastrob\\intellij-workspace\\AluraAppium\\src\\main\\resources\\alura_esporte.apk");20 DesiredCapabilities configuracoes = new DesiredCapabilities();21 configuracoes.setCapability(MobileCapabilityType.APP, apk.getAbsolutePath());22 configuracoes.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);23 configuracoes.setCapability(MobileCapabilityType.AUTOMATION_NAME, "UiAutomator2");24 URL urlConexao = null;25 try {26 urlConexao = new URL("http://127.0.0.1:4723/wd/hub");27 } catch (MalformedURLException e) {28 e.printStackTrace();29 }30 driver = new AppiumDriver<>(urlConexao,configuracoes);31 }32}...
App.java
Source:App.java
1package com.alura.appium;2import io.appium.java_client.AppiumDriver;3import io.appium.java_client.remote.MobileCapabilityType;4import io.appium.java_client.remote.MobilePlatform;5import org.openqa.selenium.remote.DesiredCapabilities;6import java.io.File;7import java.net.MalformedURLException;8import java.net.URL;9public class App10{11 public static void main( String[] args ) throws MalformedURLException {12 File apk = new File("D:\\Alura\\Cursos\\1820-appium\\projeto-atual\\src\\main\\resources\\alura_esporte.apk");13 DesiredCapabilities configuracoes = new DesiredCapabilities();14 configuracoes.setCapability(MobileCapabilityType.APP, apk.getAbsolutePath());15 configuracoes.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);16 configuracoes.setCapability(MobileCapabilityType.AUTOMATION_NAME, "UiAutomator2");17 URL urlConexao = new URL("http://127.0.0.1:4723/wd/hub");18 AppiumDriver driver = new AppiumDriver<>(urlConexao,configuracoes);19 }20}...
MobilePlatform
Using AI Code Generation
1DesiredCapabilities capabilities = new DesiredCapabilities();2capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);3capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Android Emulator");4capabilities.setCapability(MobileCapabilityType.APP, "path/to/app.apk");5capabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 60);6DesiredCapabilities capabilities = new DesiredCapabilities();7capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);8capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Android Emulator");9capabilities.setCapability(MobileCapabilityType.APP, "path/to/app.apk");10capabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 60);
MobilePlatform
Using AI Code Generation
1import io.appium.java_client.remote.MobilePlatform;2import org.openqa.selenium.remote.DesiredCapabilities;3import java.net.URL;4import io.appium.java_client.android.AndroidDriver;5import io.appium.java_client.AppiumDriver;6import java.net.MalformedURLException;7public class appium {8public static void main(String[] args) throws MalformedURLException {9DesiredCapabilities capabilities = new DesiredCapabilities();10capabilities.setCapability(MobilePlatform.PLATFORM_NAME, "Android");11capabilities.setCapability("deviceName", "Android Emulator");12capabilities.setCapability("appPackage", "com.android.calculator2");13capabilities.setCapability("appActivity", "com.android.calculator2.Calculator");
MobilePlatform
Using AI Code Generation
1cap.setPlatform(MobilePlatform.ANDROID);2cap.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");3cap.setCapability("platformName", "Android");4cap.setCapability(MobileCapabilityType.PLATFORM_VERSION, "6.0.1");5cap.setCapability("platformVersion", "6.0.1");6cap.setCapability(MobileCapabilityType.DEVICE_NAME, "Android Emulator");7cap.setCapability("deviceName", "Android Emulator");8cap.setCapability("appPackage", "com.android.calculator2");9cap.setCapability("appActivity", "com.android.calculator2.Calculator");10cap.setCapability(MobileCapabilityType.APP, "C:\\Users\\sudhakar\\Downloads\\Calculator.apk");11cap.setCapability(MobileCapabilityType.AUTOMATION_NAME, "UiAutomator2");12cap.setCapability("automationName", "UiAutomator2");13cap.setCapability(MobileCapabilityType.APPIUM_VERSION, "1.7.1");
MobilePlatform
Using AI Code Generation
1capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.ANDROID);2capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "6.0.1");3capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Nexus_6_API_23");4capabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, "com.android.calculator2");5capabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, "com.android.calculator2.Calculator");6capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, "uiautomator2");
MobilePlatform
Using AI Code Generation
1MobilePlatform platform = new MobilePlatform();2platform.setPlatformName("Android");3platform.setPlatformVersion("4.4");4platform.setDeviceName("Android Emulator");5platform.setAutomationName("Appium");6DesiredCapabilities capabilities = new DesiredCapabilities();7capabilities.setCapability("platformName", "Android");8capabilities.setCapability("platformVersion", "4.4");9capabilities.setCapability("deviceName", "Android Emulator");10capabilities.setCapability("automationName", "Appium");11MobileCapabilityType capability = new MobileCapabilityType();12capability.setCapability("platformName", "Android");13capability.setCapability("platformVersion", "4.4");14capability.setCapability("deviceName", "Android Emulator");15capability.setCapability("automationName", "Appium");16DesiredCapabilities capabilities = new DesiredCapabilities();17capabilities.setCapability("platformName", "Android");18capabilities.setCapability("platformVersion", "4.4");19capabilities.setCapability("deviceName", "Android Emulator");20capabilities.setCapability("automationName", "Appium");21MobileOptions option = new MobileOptions();22option.setCapability("platformName", "Android");23option.setCapability("platformVersion", "4.4");24option.setCapability("deviceName", "Android Emulator");25option.setCapability("automationName", "Appium");26DesiredCapabilities capabilities = new DesiredCapabilities();27capabilities.setCapability("platformName", "Android");28capabilities.setCapability("platformVersion", "4.4");29capabilities.setCapability("deviceName", "Android Emulator");30capabilities.setCapability("automationName", "Appium");31MobilePlatform platform = new MobilePlatform();32platform.setPlatformName("Android");33platform.setPlatformVersion("4.4");34platform.setDeviceName("Android Emulator");35platform.setAutomationName("Appium");36DesiredCapabilities capabilities = new DesiredCapabilities();37capabilities.setCapability("platformName", "Android");38capabilities.setCapability("platformVersion", "4.4");39capabilities.setCapability("deviceName", "Android Emulator");40capabilities.setCapability("automationName", "Appium");
MobilePlatform
Using AI Code Generation
1MobilePlatform platform = new MobilePlatform();2platform.setPlatformName("Android");3platform.setPlatformVersion("5.0.2");4platform.setDeviceName("Android Emulator");5DesiredCapabilities capabilities = new DesiredCapabilities();6capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, platform.getPlatformName());7capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, platform.getPlatformVersion());8capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, platform.getDeviceName());
MobilePlatform
Using AI Code Generation
1MobilePlatform platform = new MobilePlatform();2platform.ANDROID_PLATFORM;3MobileCapabilityType capability = new MobileCapabilityType();4capability.AUTOMATION_NAME;5AndroidMobileCapabilityType androidCapability = new AndroidMobileCapabilityType();6androidCapability.APP_ACTIVITY;7IOSMobileCapabilityType iOSCapability = new IOSMobileCapabilityType();8iOSCapability.BUNDLE_ID;9AndroidMobileCapabilityType androidCapability = new AndroidMobileCapabilityType();10androidCapability.APP_ACTIVITY;11AndroidMobileCapabilityType androidCapability = new AndroidMobileCapabilityType();12androidCapability.APP_ACTIVITY;13AndroidMobileCapabilityType androidCapability = new AndroidMobileCapabilityType();14androidCapability.APP_ACTIVITY;15AndroidMobileCapabilityType androidCapability = new AndroidMobileCapabilityType();16androidCapability.APP_ACTIVITY;17AndroidMobileCapabilityType androidCapability = new AndroidMobileCapabilityType();
MobilePlatform
Using AI Code Generation
1MobilePlatform platform = new MobilePlatform();2platform.setPlatformName("Android");3platform.setPlatformVersion("4.4.2");4platform.setDeviceName("Android Emulator");5platform.setBrowserName("Browser");6DesiredCapabilities capabilities = new DesiredCapabilities();7capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, platform.getPlatformName());8capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, platform.getPlatformVersion());9capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, platform.getDeviceName());10capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, platform.getBrowserName());
MobilePlatform
Using AI Code Generation
1MobilePlatform platform = MobilePlatform.ANDROID;2DesiredCapabilities capabilities = new DesiredCapabilities();3capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Android Emulator");4capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, platform);5capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "4.4.2");6capabilities.setCapability(MobileCapabilityType.APP, "C:\\Users\\user\\Documents\\NetBeansProjects\\Appium\\build\\intermediates\\apk\\debug\\app-debug.apk");7capabilities.setCapability("appPackage", "com.example.appium");8capabilities.setCapability("appActivity", "com.example.appium.MainActivity");9capabilities.setCapability("appWaitActivity", "com.example.appium.MainActivity");
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!