UnsupportedCommandException: Method has not yet been implemented error with...
I am writing automated test cases for a hybrid Android app using Appium.I am using below line of code to set the cursor on a drop-down/pop-up:Set<String> stringSet =...
View ArticleWhat does Backtrace: Ordinal0 [0x00723AB3+2505395] in stack trace error means...
I'm relatively new to coding and kinda unfamiliar with stacktrace errors.I have been given this error, but im not sure which part of my code do i fix? Did the error comeup because of a...
View ArticleFailed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla...
I am using FireFox 18 with Selenium 2.29.0.While running test exception occurs Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7056; process output...
View ArticleError: Could not start a new session in Selenium
I seem to be getting the following error in my Eclipse when running my testcase via my Step Definition in my Automation Framework: org.openqa.selenium.SessionNotCreatedException: Could not start a new...
View ArticleCheck Selected Product and product which is added to cart are same or not
I have searched for a mobile product which is of type " Asus Zenfone 5 " in flipkart.com website, search display many products. I selected first product and added it to cart.Below is my code: @Test...
View Articlecan HasAuthentication from selenium cause any network related changes
Recently I'm working in a project where my particular staging website has windows security popup before the login page. So i have handled it using HasAuthentication block then i got the...
View ArticleSelenium adding items from a Web element list to a string array list
I'm doing some automated testing and I'm trying to save some items from a web element list to a string array, there should be some parsing involved but I'm not sure how, see code snippet belowpublic...
View ArticleIs there a reliable way to detect if a click had a real effect when app...
I'm building a Selenium based runner where non-technical users compose their own tests. Since the tests may target different web applications, I can't really rely on app specific assertions after a...
View ArticleMaven error "Archetype catalog is empty" while creating Maven project for...
I couldn't able to add maven artifact "ru.stqa.selenium" in eclipse.I downloaded the catalog file from : "https://github.com/barancev/webdriver-testng-archetype"Steps I followed is Eclipse->...
View ArticleExtracting data from a dynamic website using selenium
I am trying to extract the name of the participants and the number of modules completed in a CSV file from this website -...
View ArticleFailed to connect Couldn't register this node: Error sending the registration...
Selenium hub is up and running on Windows desktop, set up Windows VM to be node. Node won't register to hub. Step 1:Entered command in Windows Desktop: java -jar selenium-server-standalone-3.14.0.jar...
View ArticleSelenium Webdriver Java: How to click on a particular cell in table using row...
I have written a code to verify if a given text is present in that row or not but how do i click in a particular cell? Please help me.Below is the code i have written for verifying the text.package...
View ArticleHow to read xml file in selenium driver
I would like to read this xml with Selenium<?xml version="1.0" encoding="utf-8"?> <client name="eLife"> <site>qa.elife.dev.cms30.kriyadocs.com/welcome</site>; <xpath>...
View ArticleSelenium getting error
This is my selenium test script.import org.openqa.selenium.WebDriver;import org.openqa.selenium.firefox.FirefoxDriver;import org.openqa.selenium.ie.InternetExplorerDriver;public class Adminlogin {...
View ArticleHow to upload file/ handle window using Selenium web driver
I'm trying to automate a scenario in which I have to upload document but I couldn't handle the File Upload window once I click the 'Choose File' button on my web application. I'm using C# language and...
View ArticleWebdriver : How to switch to a specific window?
I came across many solutions for switching between windows, one of them is:Set<String> allWindows = driver.getWindowHandles();for(String currentWindow : allWindows){...
View ArticleSelenium WebDriver new tab and Navigate
Based on this post, I managed to open a new tab, but when I try to navigate in the new tab, the navigation occurs in the old tab.I saw that I should use this:driver.switchTo().window(windowName);but...
View ArticleSelenium clicking a link where the href is javascript:void[0];
I'm trying to see if when a link is clicked a report is generated on the page using Selenium WebDriver with Java.What happens is there are a bunch of links on a page, most of them when clicked go to...
View ArticleHow to write automation tests for elements/processes that are frequently used...
Take this website for example: https://automationintesting.online/The calendar select element is needed for multiple user flows and also appears on multiple pages. I would think it would be best to...
View ArticleGetting Node Module Error (Cannot find module)
I am learning the Automated tests by using selenium web driver + Javascript and node.js.Everything is working fine when I ran that script.js from the Visual Studio code terminal(by using node...
View ArticleI got Initialization error in Cucumber with maven and selenium
Test Runnerimport org.junit.runner.RunWith;import cucumber.api.CucumberOptions;import...
View ArticleSearch an element in all pages in Selenium WebDriver (Pagination)
I need to search for particular text in a table on all the pages. Say i have got to search for text (e.g : "xxx") and this text is present at 5th row of table on 3rd page.I have tried with some code...
View ArticleIs there any way to bypass MFA Authentication for Selenium Test Cases ? apart...
Using Selenium when we are opening one URL and enters email id and click on submit button then the URL redirects to Microsoft login where it ask for MFA code from authenticator app. When using Selenium...
View ArticleHow to capture http POST requests with browsermob-proxy and selenium
Hello trying to capture the actual POST data in an HTTP POST request using browsermob proxy + selenium test framework. So basically i'm running an automated test using selenium and I want to capture...
View ArticleHow to locate search links in google in Selenium for testing
I am trying to search Google for Selenium, then run down the list of links by clicking each one, printing the page title, then navigating back.List<WebElement> linkElements = driver.findElements(...
View ArticleAccess token in Selenium
is there some way to pass access token to Selenium tests, so that I dont have to use login page (I can not do that, because of the company policy).I get the access token based on client id and client...
View ArticleSelenium .GetAttribute("value") for Input is returning empty
I have a web app using AngularJs. I am testing it using specflow and Selenium. I had it working just fine till the other day I saw it failing on getting the values. element.SendKeys(value) is working...
View Article