WebDriver and ChromeDriver cannot be resolved to a type
I know this is a very frequently asked question but i have tried so many fixes to this problem (including: downloading java and eclipse again) and none of the fixes worked.i am asking for very specific...
View ArticleWhat is this Error: at com.google.common.base.Preconditions.checkNotNull
I am a new automation tester, Working on sample test scripts, Need some help from you guys, I have tried to use POM and basic TestNG.I have created 2 packages - pages and testcases.I am getting some...
View ArticleRunning selenium tests using Behat Drupal Extension inside DDEV containers
Problem: Get Behat Drupal Extension based testing working inside of ddev containers. This includes adding a separate selenium container to the existing configuration, being able to run Behat tests, and...
View ArticleTestNG: Iterate through array using the Dataprovider
I'm conducting Automation testing using Selenium Webdriver, this code is for TestNg dataprovider, Summary: I am taking data from Excel sheet to data,it's working fine. When I'm debugging the code, I'm...
View ArticleGoogle Login Issue in Selenium (.NET / C# / MSTest)
I’m currently working with Selenium WebDriver using .NET (C#) and MSTest for automated UI testing.Until recently, I was able to access our service (which requires Google authentication) without any...
View ArticleCommand line server for the IE driver has stopped working error while running...
I'm receiving an error prompt box while executing Selenium Test cases. I'm using IEDriver 2.46 and Selenium 2.46. I have searched few posts in Stack Overflow and there is not a proper answer that I...
View ArticleHow on Selenium to automate facebook/google registration
I am developing a selenium test and I was able to create it for registration by email.However, writing a test for facebook and google login/registration is very tricky.One of the problem that they...
View ArticleHow can we find only the WebElements present on the viewport with using...
I want to automate the task of scrolling through a web page and clicking on the buttons. But, when trying to find web elements with driver.find_elements() getting a list of all web elements which are...
View ArticleExporting figures from Bokeh as SVG or PDF?
Is there a way to export individual Bokeh figures as PDF or SVG files? I feel like I must be overlooking something obvious, but after checking the documentation and browsing the bokeh.objects API, I...
View Articleorg.testng.TestNGException: An error occurred while instantiating class....
I am writing an selenium script using java, TestNG and maven. Before using Page Object Model, everything was working normal.After using POM, I get the following error :org.testng.TestNGException: An...
View ArticleSelenium: WhatsApp Web file upload works in normal Chrome but fails in...
I’m using Selenium with C# ChromeDriver to automate WhatsApp Web.Uploading a PDF works correctly in normal (visible) Chrome:var attachInput =...
View ArticleSelenium - Wait until page is fully loaded
Using Python w Selenium to retrieve a web page generated by Splunk. The web page contains a table/list which takes a long time to load.Upon loading the web page, Splunk provides the web page, except...
View ArticleCreate a batch file to invoke testng.xml to run selenium scripts
I need help to create a .bat file to invoke testng.xml which has all the tests to run.According to this link, I created the .bat file. Here is what I have written in it: java -cp "C:\Program...
View ArticleHow to emulate CTRL + A & CTRL + C in selenium IDE
I can't figure out how to do Ctrl+A to select all the text in a text box and Ctrl+C to copy it. I tried to do it using the following [see image] but it didnt' work.
View ArticleHow to click on an element with aria-hidden="true" using Selenium
I have HTML as below <div class="summary-row"><div class="text-center" id="summary-back"><a href="/Health/Dependents"><svg class="svg-inline--fa fa-chevron-left fa-w-8 font-32"...
View ArticleCounting the number of elements
I need to count the number of elements which in this case the number of products held by each customer. My attempt for solving this is by counting the number of "li" tag, then accessing "ticket-type"....
View ArticleGoogle: Couldn't Sign you in (the browser or app may be insecure) using...
So I have been trying to access my gmail or Google Colab Notebooks through selenium.Instead of authenticating through Email and Password I am starting the chromedriver with an already saved Google...
View ArticleUnable to locate an element with the xpath expression...
OK I cannot figure out this error. We are running an IE test (testng with selenium) (which opens Edge) on a Jenkins machine. I keep getting this error "Unable to locate an element with the xpath...
View Articlehow to call function/method form one class to another class in selenium...
I want to call login and search method from two different class into the main class. I have written the two diff classes for login and search but when I am calling both method in class containg main...
View ArticleTrouble clicking on a button with selenium in a modal
I have the following HTML snippet on the page:<div class="transparent-overlay" id="content-overlay"><form id="personaSubmitForm" action="/personaSelection/redirectToCallerPage"...
View Article"FirefoxDriver cannot be resolved to a type" when running Selenium webdriver
The basic code I am using is as follows:Package TestSelenium;import org.openqa.selenium.WebDriver;public class MyFirstClass { public static void main(String[] args) { WebDriver driver=new...
View ArticleSend without a note button in LinkedIn [closed]
I have a problem where I am not able to click Send without a note in LinkedIn with Selenium
View Article"Can't find profile directory" error while running some tests in a Firefox...
Please, advise me. I'm just learning Selenium WebDriver tools and trying to run some tests in a window of Firefox, but the second test is always failed. How can I avoid this?Gecko driver:...
View ArticleHow to verify/compare 2 values in Selenium?
I have an input file which contains some String values. Lets Say String one.On a web page, I am identifying a web element and getting its value as a String. lets say String two. String one = "abc"...
View ArticleProtractor is not recognized as an internal or external command, operable...
I have protractor installed on windows slave machine. I am trying to run my script using node index.js.If I trigger job from jenkins to run above command it gives error like Protractor is not...
View Article