I am not able to traverse to parent window to child window

Below code i was used in Selenium Eclipse, But i get a error shown in this line “String childid = it.next();” I am unable to traverse parent window to child window import java.util.Iterator; …

how to convert findElementByAndroidUIAutomator in Page Factory Format for Appium

I am currently designing Appium Android framework based on page object and page Factory. I have a below line of code which uses “findElementByAndroidUIAutomator”. driver….

How to close all child processes in C#

C# code: ProcessStartInfo processStartInfo = new ProcessStartInfo(); processStartInfo.Verb = “runas”; processStartInfo.FileName = fileNameToExecute; processStartInfo.Arguments = …

Selenium how to get all elements inside a WebElement

I’m trying to get all the elements inside a selenium WebElement, for example:

header

Paragraph

</…

My Chrome version is Version 84.0.4147.105 but available ChromeDriver version is Version 84.0.4147.30 causing an error to launch chrome using Selenium

My chrome version is Version 84.0.4147.105 but available chrome version is Version 84.0.4147.30 its causing an error to launch chrome through selenium what should i do apart from downgrading the …

Error calling method using same data (new data is always generated)

I have the following problem to be solved, could you help me? I have two methods in a class. The first generates a document (calling another class) and stores it in a string. The second one I want to …

selenium webdriver detect UI pop up error messages

I have this react application being tested using selenium webdriver. if my login is wrong, how do i detect the text using selenium webdriver? I am unable to find the code/ figure out how to trap the …

Unable to run Selenium test with Chromedriver on Mac

Whenever I am trying to run my Java-Selenium tests locally on Mac through Chromedriver, its not invoking the browser and is getting this error as below. I am getting back to this code in couple of …

How to right click on a link and open the link in a new tab using Selenium through Java

I am trying to right click on the Forgotten account? link on the Facebook login page using Selenium but it is not working. I am trying to send.Keys() after contextClick() but the key press is …

How do I stop selenium automation if 20% or 1st 20 test cases test methods are failed?

I have 100 test cases, if 20% or first 20 test cases all fail how can I stop the execution ? Already have testng ITestResult where should I break the build? @Test(retryAnalyzer = ReTryFail.class, …