Build failing after adding a test, eventhough there are no errors in the...
I have a maven module which have a a.b.c package and there is a test AssetUploadTest.java and one more test NavigateToPage.java. I am getting a build error only when i am adding the AssetUploadTest. I...
View ArticleSelenium Click Multiple Times
I would like to click multiple times in the HTML ID.I have this code, that just click 1 time per the time the user defines:What I mean is that the user writes in the input the timeout and that in that...
View ArticleHow to select image in Selenium
I need to download the six images in this link in the zoomed version.https://www.venus.com/viewproduct.aspx?BRANCH=7~63~&ProductDisplayID=71352But if you take a look at the HTML, you will find out...
View ArticleWeb-scrapping (the class name changes)
I am using selenium to download some images for my project!For downloading images, I use the following command lines:# Finding elements of images by class name image_lm =...
View ArticleGet the URL from this output of Selenium in Python
How can I get the URL from this output of Selenium in Python?<div style="z-index: 999; overflow: hidden; background-position: 0px 0px; text-align: center; background-color: rgb(255, 255, 255);...
View ArticleSelenium WebDriver - Unable to drag and drop element in IE11
I am trying to drag and drop an element from side panel to form. Drag and drop code what I wrote is like below.Actions builder = new Actions(driver); builder.dragAndDrop(source,...
View ArticleHow to extract text content between two node
I want to extract the text contained in the red and green rectangles as shown on the screenshot below, N.B : the text is not contained in an opening and closing...
View Articlejava.lang.IncompatibleClassChangeError error while lauching sdkmanager.bat...
I have downloaded sdk-tools-windows-4333796.zip file from official website and extracted in a folder. But I am facing below issue while opening sdkmanager.bat from cmd.Error : Exception in thread...
View ArticleI have been trying to run selenium basic test in intelliJ and I am getting...
Java.lang.IllegalAccessError: tried to access class org.openqa.selenium.os.ExecutableFinder from class org.openqa.selenium.firefox.FirefoxBinaryat...
View ArticleScreenshot Map using Selenium and Google Maps API
I am trying to use Selenium, PhantomJS, and GoogleMaps API to automatically screenshot / save down maps. The url i request is a local html file with javascript to generate the map. When I open the...
View ArticleLooking to automate seller login portal with Python and Selenium , find xPath
I am looking for xPath for the image that I am inserting. Below is the code that I wrote, everything is working except click on Login Button.from selenium import webdriver from...
View ArticleHow to convert Katalon Script in Selenium Java?
As we know Katalon has now become a paid tool so my Katalon scripts need to be converted into Selenium Java script. Katalon scripts are in Groovy, and it's written using Katalon Built in libraries,...
View ArticleHow can i pass parameter in testng.xml?
I have to run a suit which contains 5 classes. each class needs different vm arguments. Key for those argument is same, however value is different for all five.
View ArticleHTML - Load Selenium content after the rest of the page is done loading
A section of my website includes some content that I need to acquire from another website using selenium. But getting that info causes the page to load with 3-4 second delay to account for the web...
View ArticleExecute single selenium test multiple times in parallel
I was wondering if anyone had any advice of an easy way or executing a single selenium test multiple times in parallel.I have 1 test that I would like to execute, it will then spin up 10 chrome...
View ArticleUnable to perform click on kendo Grid
I am trying to click a cell in a kendo grid but not able to achieve. Tried with different options like using Actions, JavaScriptExecutor, etc. Using JS I am able to highlight the particular cell but...
View ArticleUnable to click in a dropdown menu with Selenium
I'm trying to click on a link inside a dropdown menu, but I keep getting a TimeoutException, using XPATH. test = WebDriverWait(driver, 30).until(EC.element_to_be_clickable((By.XPATH,...
View ArticleCan't log into USPS website with sendkeys
I'm writing a C# scraper so I can download my delivery receipts. I'm trying to use findelement and sendkeys/click to login to the usps website https://reg.usps.com/entreg/LoginAction_input . When I...
View ArticleIs there an error in my XPath locator for the provided HTML?
I am currently trying to type a filter into a search bar and then select the option that comes up in a field. My understanding is that by sending the keys to filter the selection I would be able to...
View ArticleUnable to upload file using selenium java
I try to upload a pic on this site but exception comes up. Here is my code.public static void main(String[] args) throws InterruptedException { System.setProperty("webdriver.chrome.driver",...
View Article