Difference between WebDriver and FirefoxDriver
WebDriver is an interface FirefoxDriver is a class, which inherit RemoteWebDriver class that implements WebDriver interface.
WebDriver is an interface FirefoxDriver is a class, which inherit RemoteWebDriver class that implements WebDriver interface.
An Armstrong number is an n-digit number that is equal to the sum of the nth powers of its digits. e.g – Numbers 1 to 9 (1 digit, so to the power 1) 1^1 = 1, 2^1 = 2, 3^1 = 3 Number 371 (3 digit, so to the power 3) 371 is of 3 digits, so sum…
Fibonacci series numbers – A particular sequence of integers logic – First two numbers are 0 and 1, then next subsequent integer will be sum of the previous 2 numbers let’s see few easy ways to achieve this – public static void main1(String[] args) { int max = 10; int prev = 0; int next =…
Appium is an open-source tool for automating native, mobile web, and hybrid applications on various mobile platforms like iOS and AndroidOS and firefoxOS. APPIUM PHILOSOPHY You shouldn’t have to recompile your app or modify it in any way in order to automate it. You shouldn’t be locked into a specific language or framework to write and…
There are situations where we have more than one instance of processes running, but by using windows task manager we can not end the processes at one shot, we need to end or kill processes one by one, but windows have a specific command which helps us to end or kill multiple processes at one…
Elements like Buttons, textBoxes, Images and Links etc… are clickable, and should be present on screen & enabled to click. Selenium exposes isEnabled() for us to verify if an element is enabled or not [ isEnabled() returns Boolean value, true if the element is enabled, else returns false] So we can verify if the element is…
We will see the usage of “this” keyword one by one with examples – “this” keyword refers to current class instance variables When local variable and parameter variable are of same name, then “this” keyword is used to distinguish in between them. local / parameterised variable hides the instance variable values called as variable hiding.…
“Print 1 to 10 with out using loop” in java is quite a frequently asked interview question for automation testing. simple answer is to use recursive method, where we can call method to increment the number till a particular number is achieved. let’s see the implementation – OutPut: 12345678910
ADB (Android Debug Bridge) is a command line tool that let’s us communicate with an emulator or real device. How to get ADB tool (adb.exe) This is present under [android sdk -> platform-tools] Before sending commands, make sure To install Android SDK and enable USB debugging, Refer step 2 & 3 of Appium setup for windows.…