Mirror Android Screen on PC for Appium Test Execution N B 2/12/2018 10:43:00 pm 0 Download the App 'Vysor' Install on PC Connect two devices In cmd type below command adb devices See List of Devices Now... Read more »
How to Setup Appium on Windows N B 2/11/2018 04:13:00 pm 0 Go to Site http://appium.io/ Download Appium for Windows Install Node JS https://nodejs.org/download/release/latest/ Update the APIs ... Read more »
Take Screenshot of particular webelement without Using AShot N B 2/06/2018 05:21:00 pm 2 Below is the Snippet That Can Help in taking Screenshot of the WebElement on the WebPage System.setProperty("webdriver.chrome... Read more »
Take Whole Page Screenshot using AShot N B 2/06/2018 05:21:00 pm 2 Download Maven Dependency <dependency> <groupId>ru.yandex.qatools.ashot</groupId> <arti... Read more »
Take Screenshot of Particular WebElement on Page using Ashot N B 2/06/2018 05:21:00 pm 0 Download Maven Dependency <dependency> <groupId>ru.yandex.qatools.ashot</groupId> <arti... Read more »
Highlight test Execution in Selenium and Also Find Coordinates of Element N B 2/06/2018 05:19:00 pm 0 package com.neeraj.test.neeraj; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.seleniu... Read more »
HAR Analyzer (Catch Network Calls when Automating in Selenium) N B 2/06/2018 05:14:00 pm 2 Download BrowserMob Proxy Add below Dependency <dependency> <groupId>net.lightbody.bmp</groupId> <artifactId... Read more »
Upload Multiple Files using Auto IT in Selenium N B 2/06/2018 05:13:00 pm 0 Below is the AUTO It Script for Mutiple Files $vVariable = """C:\Users\NEERAJ\Desktop\Manage_Plugins.jpg"" ... Read more »
Add Gitignore file to existing repo N B 2/06/2018 05:00:00 pm 0 Take a new checkout of the existing code from Git Add gitignore file for example touch .gitignore Add following /target .idea/ *.... Read more »
Handle Cookies in Selenium WebDriver N B 2/06/2018 04:58:00 pm 0 To Get Cookie Value package mypackage; import org.openqa.selenium.Cookie; import org.openqa.selenium.WebDriver; import org.openqa.sel... Read more »
Encode and Decode a String in Java N B 2/06/2018 04:57:00 pm 0 package practice; import java.io.UnsupportedEncodingException; import javax.xml.bind.DatatypeConverter; public class test { pub... Read more »
Trigger Specific TestNG.xml through Jenkins for Maven Project N B 2/06/2018 04:53:00 pm 2 When we are testing our project. It usually consists of multiple TestNG.xml files To Run a specific Xml File We have to add specific p... Read more »
Pass Multiple data through Data Provider N B 2/06/2018 04:48:00 pm 0 import org.testng.annotations.DataProvider; import org.testng.annotations.Test; public class myclass { @DataProvider(name="my... Read more »
How to Scroll in Appium (Vertically, Horizontal, Scroll By Text) N B 2/06/2018 04:42:00 pm 2 To Scroll Vertically in Appium driver. swipe (100,500,100,100, 3000);// Here start x, start y, end x, end y, time //Revise swipe ... Read more »
Drag and Drop Element in Appium N B 2/06/2018 04:40:00 pm 0 To drag and Drop Element in Appium WebElement ele1 = driver.findElementById("rec_card_image"); WebElement ele2 = driver.find... Read more »
How to Connect Device on Wifi in Appium N B 2/06/2018 04:36:00 pm 0 To Connect Device on Wifi in Appium 1.)Connect Device using USB Cable 2.)In CMD type below command C:\Windows\system32>adb devices L... Read more »