Category "selenium"

Actions Selenium Java mouse action drag and drop not working when cursor type changes after clickandhold

Actions Selenium Java mouse action drag and drop not working when cursor type changes after clickandhold Use case: Mouse cursor type: Pointer Move to source ele

How to store List of Elements which are present in multiple Page?

There is a button called "Responses" total number of button is 100 which are store in 2 different webpages, from 1st page to 2nd page navigation button called "

safardriver closes automatically before driver.close() is called in @Aftermethod

I'm running below test scripts in safari browser version 5.1.7 on windows 7. After running @test method I'm calling driver.quit() in @aftermethod. But safari b

How to Uplod a File using Selenium Webdriver using pycharm

enter image description hereWhen I am uploading a file in pycharm I'm getting the below error here is my code line for uploading the file upload_file = WebDrive

Extent Reports won't provide the report for me

I'm trying to provide a report for a simple QA Method but the code wont generate any report for me, please help! namespace CasinoClubTests { [TestFixture]

How to create tests for kana (katakana/hiragana) using selenoid?

We want to write e2e tests for the Katakana method using Selenoid. But how we can realize it? There is should be exactly Latin input that converts into Katakana

Unable to launch the zalenium dashboard

currently I am working on Linux elgalu/selenium and dosel/zalenium images are successfully pulled but while running the images by using below command # Ru

Create Selenium Webdriver once and use in Cucumber's all steps

I've experience in Back-End automation testing, but I'm new to Front-End. I've created BDD format tests for a website and now I want to automate it. I decided t

How to specify print location for PDF printing with Selenium

Whatever I do, the files keep getting printed into my Downloads (Windows default) folder, rather than specified folder. I did my research and apparently the sav

How to get Selenium C# control names for reporting

I'm wanting to report a line every time my selenium based automation framework clicks on a control. My object repository is storing individual controls like thi

How does XUnit RetryFact attribute works?

I have Selenium tests which are run by XUnit. I write tests on c#. Some of the tests are not stable (especially those which uses mouse actions). I found the Ret

sendKeys() does not pass the character "@"

I am using selenium 3.6.0. and I run some basic test (login to the Stackoverflow page). But, when I am sending email, character "@" is not passed. Instead of it

sendKeys() does not pass the character "@"

I am using selenium 3.6.0. and I run some basic test (login to the Stackoverflow page). But, when I am sending email, character "@" is not passed. Instead of it

How to automate graphs using Selenium, Java

I inject data into a web application and it generates a graph and a pie chart. I'd like to test the result on the graph is coherent with the given data through

Selenium WebDriverException: DevToolsActivePort file doesn't exist (Chromium browser)

I've seen the DevToolsActivePort error come up in a couple of StackOverflow posts, but not of the fixes for those have worked for me. I'm using a Chromium brows

xpath to find pseudo-element ::after in side a div element with out any content

I am trying to write xpath to find a checkbox selected or not, this checkbox is being changed using css ::after element. Below are two elements I have //d

Get node IP address for a single session id in selenium4 grid

We are moving from selenium 3 grid to selenium 4 grid(with hub & node setup). We need to be able to fetch IP address of node on which the current session is

Would it be the right approach to close and open a new WebDriver session between negative tests in Selenium?

I close my driver and reopen it between each negative test, for example - in my negative login test - if the test failed it means the login succeeded, then I cl

Python Selenium Wait for user to click a button

Context: My script launch to a website using selenium webdriver The user fills in some stuff on the website The user will click a button which will popup a con

Java: Unable to locate status button

I am working on a feature file in Selenium and I am having issues trying to read the status button. If the status symbol is set to "Invited," it is supposed to