Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
2answers
20 views

How to select a checkbox from multiple checkboxes one by one

I want to know how to select single checkbox from multiple checkboxes one by one Sceanrio:- On a web Page, there are multiple entries having checkboxes in front of each entry. For each entry there ...
-1
votes
0answers
20 views

Selenium Environment

I recently had an interview and was asked about whether I have used Selenium only in web applications or also in package applications. I could not find anything about package applications even after I ...
0
votes
1answer
13 views

Extent Reports Is Giving Incorrect Results

I made one test and I purposely put an incorrect assert statement to test whether or not I was getting correct outputs. In the @aftermethod I did if !result.isSuccess() then test.log(LogStatus.FAIL, ...
0
votes
2answers
25 views

I am unable to switch to popup window in c# selenium

I have to create a new record, for that a new popup window opens. so i am unable to switch to that window. I used this code to switch the popup window foreach (string handle in driver.WindowHandles) {...
0
votes
0answers
18 views

Exception in thread “main” java.lang.NoSuchMethodError: org.openqa.selenium.WebDriverException.addInfo(Ljava/lang/String;Ljava/lang/String;)V

Here is my script to book the bus. In the procedure of process i am not able to select the seat of the bus, as it is an CANVAS element. So i am using the "action.tap(element, x, y).perform();". I am ...
1
vote
2answers
35 views

How to write data into excel using selenium?

I am using keyword driven framework to create the script in selenium.Any one please provide me script how to write the data into excel sheet with proper column names. Suppose once the customer is ...
0
votes
4answers
32 views

Im unable to locate the element to enter the text in the txt box in c#

i tried using xpath, Id to find elements. even though im getting the error "unable to locate the element" please can anyone help? HTML Snippet <input type="text" value="" maxlength="256" id="...
-1
votes
0answers
21 views

How to select option after clicking settings button in selenium c#?

I am unable to select options under settings button. I clicked on settings button using findelement(by.id("O365_MainLink_Settings")).click();. This is what I did by doing inspect element. But for to ...
1
vote
3answers
90 views

What are the challenges with automation when using Selenium?

I recently had an interview question what problems did you have while testing in Selenium. Well, I have experience in Selenium, but maybe I was testing a simple application, but I dried up quickly. ...
1
vote
2answers
62 views

unit testing vs automation selenium resume value [on hold]

I started working in automation development with selenium and am told it is a hot field and can earn some high-end coding salaries. We recently hired a new manager who once hired immediately took us ...
0
votes
1answer
32 views

Constructor calling in page object model [on hold]

I had an interview recently in one of MNC company and they asked me how to call constructor in page object model. Can anyone help me on this please..??
0
votes
1answer
32 views

Trying to select a dropdown item that is a random GUID

I'm relatively new to Webdriver, and I am wondering if it is possible to select items on a dropdown that use a guid. Normally, I would use new Select (driver.findElement(By.id("location")))....
0
votes
1answer
26 views

I did findelement using Xpath, the next step i need to is findelement.text(); to get the text. how i can do that

This is the xpath for the text I need to find----- /html/body/div/table/tbody/tr/td[2]/table/tbody/tr[4]/td/table/tbody/tr/td[2]/table/tbody/tr[5]/td/form/table/tbody/tr[2]/td/table/tbody/tr[3]/td[3]/...
0
votes
1answer
20 views

I want to run Selenium IDE recorded tests consistently against several environemnts

Im looking to record automated tests against a web application using Selenium IDE. What I want to do is then run these tests automatically against various envs. Is this possible? From what i can ...
0
votes
2answers
27 views

Selenium: Page logo is replaced, need to verify if the new logo appears

I have a webpage, where there is an option to upload a new website logo. When the new logo is uploaded, it has the same element id that of the previous logo. I have written the automation script ...
3
votes
3answers
44 views

How to validate against texts overlapping each other using selenium?

I am writing automated test cases for a company. One interesting problem is that texts on a webpage overlap each other, is there anyway to validate against this?
0
votes
1answer
24 views

How to log out in facebook using python selenium?

I want to know how to log out in facebook using python selenium. here's my code: from selenium import webdriver from selenium.webdriver.common.keys import Keys import time #from selenium folder ...
1
vote
1answer
24 views

Need to validate a calendar application against invalid dates

I am testing a calendar application, which allows a user to select day, month and year, but the problem is the developers have not implemented any form of date validations, which means every month can ...
1
vote
1answer
17 views

Testing Different User Setting's Effects On a Page

I am using Microsoft Visual Studio and Selenium to test a webpage. This particular website requires a user to login to the web page and based on some settings, some elements will be displayed and some ...
0
votes
5answers
79 views

What are the Alternative tools for Selenium

I am looking for a tool that can help me automating the test cases on website, I am currently using selenium webdriver but It takes a lot of time to write down the test cases using webdriver, also ...
0
votes
1answer
48 views

Selenium - the text entered via sendKeys() should convert to double and double value be used

In my web app, all values on the form save on losing focus from the field. But after I enter a value in one field, it checks if that value entered is within the allowable range. Example: The app will ...
1
vote
2answers
31 views

BrowserMobProxy verifying request

I am using Selenium with Java. I am trying to verify that a specific third party request came in so in order to capture the network traffic I used a proxy named BrowserMobProxy. I wrote the content ...
0
votes
1answer
16 views

Getting IOException Error cannot create directory on Mac with Selenium WebDriver

While running selenium grid tests from my Windows Hub on my Mac Node, I cannot create a directory aka folder on the Mac Node. I think my code is correct. It worked for the Windows Node. I am ...
2
votes
1answer
36 views

Accessing weblogs via Selenium

I am using Selenium via Java. I am trying to test third party tracking and I am wondering if there is a way to access the network logs so that I can verify that a specific request came in? For ...
0
votes
1answer
31 views

java + log4j : How to fix “No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies)”

Working with selenium + maven project in eclipse. I am facing below warnings: log4j:WARN No appenders could be found for logger(org.apache.http.client.protocol.RequestAddCookies). log4j:...
0
votes
0answers
29 views

how to pick a particular date from calendar through selenium webdriver? (not using xpath)

language :angular js &java I don't know how to locate the date component. anyone can help me
0
votes
2answers
39 views

How to configure css or xpath for below code

I need to configure xpath or css for selection under red border i.e a name contains "Patient List"
5
votes
3answers
87 views

Not able to click element using Selenium Webdriver

I am having this screen where i try to hover it after hovering the screen becomes drop down So i am not able to click on the screen using selenium webdriver. <td align="left" style="vertical-...
1
vote
1answer
87 views

What advantages and disadvantages to do the major browsers have when automating web applications

I am having trouble choosing a good browser when automating a web application. Among the browsers I have considered are Firefox, Chrome, Safari, PhantomJS I am particularly looking for comparisons ...
-1
votes
1answer
53 views

How much experience should I put in my CV for selenium [closed]

I have not worked in Selenium but I know selenium. So, just want to know that how should I put this in my CV so that companies can hire me on basis of Selenium.
0
votes
1answer
18 views

Edit a script DOM element before being executed

I'm currently using Selenium WebDrivers for my tests and I'm struggling with an automatic download. The case is: I click on a button, it loads the next page containing a script tag with a click() on a ...
0
votes
1answer
12 views

Is it possible to shut down a Selenium grid node remotely?

I recently ran into an issue where someone registered a new Selenium node with our hub, but the new node was not configured the same as the other nodes. It occurred to me that just anyone could add a ...
1
vote
1answer
49 views

Selenium > new windows & pop-up : What is different between new window and browser alert in selenium?

This is very common scenario when we automate any web application. But I am little confused between new window and pop-up? Please can you add little examples?
0
votes
0answers
6 views

Conversion of geoJason coordinates to mouse coordinates

I am working with maps. I have one link whose end points are in geo-jason coordinates. One is longitude, another one is latitude. Now I want to know that how can convert this longitude and latitude to ...
0
votes
1answer
41 views

What is the most effective method of storing the value in this string?

thanks for reading! :) currently I have a Listbox on the page with an associated record count, scenarios would be as follows: No Records Displaying 1 Record(s) Displaying 1-14 of X Records ...
0
votes
0answers
13 views

Get Coordinates of link that is in canvas

I am doing automation in selenium with RobotFramework in Java.I want to get x,y coordinates of links that are drawn in canvas. I tried to find a solution online but I just got to know that some java ...
0
votes
2answers
29 views

Exception in thread “main” java.lang.NoClassDefFoundError:

I a getting this error , I have already added all the the libraries and dependencies jar file. I dont understand where is the problem ? Error shows like this : Exception in thread "main" java.lang....
0
votes
0answers
46 views

Getting Unknown error While Using latest Verison of Selenium With Microsoft Edge Browser

My Code to launch Browser: System.setProperty("webdriver.edge.driver", "C:\\selenium-drivers\\MicrosoftWebDriver.exe"); DesiredCapabilities capabilities = new DesiredCapabilities("...
0
votes
1answer
50 views

Tools for Data Driven and Keyword driven tests in selenium with python?

I am new to selenium and python, I was watching some videos on data driven and keyword driven tests, the instructor was using TestNG with selenium and I was wondering are there any tools similar to ...
0
votes
1answer
19 views

can we create a software application for the full script of selenium coding we have done? [closed]

If we have created some selenium code for web application testing. After completion of the script coding, can we create a java application or something like that?
0
votes
1answer
46 views

Switch case and dropdown in selenium

I am writing code to get state value from the drop-down and depending upon the state calculating the tax rate. I am using switch case statement to define the tax rate for each state. I want to use ...
1
vote
1answer
55 views

Selenium 2 Webdriver: Persistent cookie browser restart

I test a OAuth 2 Login page. It allows me to remember my login. This is done with a persistant cookie. Now I want to test if this cookie remains present after a browser restart which is its intent: .....
0
votes
1answer
31 views

Plugin of Maven - Automated test

I need to run automated test on Bamboo (Atlassian) but i don't know what plugin of maven use. The automated test are with Selenium and Java.
0
votes
0answers
33 views

Selenium EventFiringWebDriver in page object model and refactored

I'm struggling with this one, how to implement EventFiringWebDriver (e_driver) without having a lot of repetitive code. As I'm understanding it, in order to capture finding elements and acting on ...
-1
votes
1answer
59 views

Selenium Testing

I have resetVal() function in javascript as given below. I am unable to figure out how to write selenium test case for reset values. <script> function resetVal(){ document.getElementById("...
2
votes
1answer
23 views

Got an error while build or clean mavan project-Could not initialize class org.apache.maven.index.ArtifactInfo

Hi All when I am try to build or clean the mavan project I got below error can any help me ? Errors occurred during the build. Errors running builder 'Maven Project Builder' on project 'POM-...
0
votes
2answers
75 views

Are other classes able to access the webdriver instance when extending test base class? Getting NullPointerException Error

I am getting this error when running the below selenium scripts using TestNG with Selenium Grid. I'm extending the testbase class to access the WebDriver, but I'm not sure if each class is getting the ...
1
vote
3answers
96 views

Unable to locate element throwing a org.openqa.selenium.NoSuchElementException in TestNG

Am unable to click on element after executing a First test second test showing a org.openqa.selenium.NoSuchElementException . My code Here: public class snapooh { WebDriver driver; @BeforeTest ...
0
votes
2answers
58 views

Selenium is not recognizing xpath

When I attempt to search for the following element by xPath, Selenium does not find the the element. Not sure what I'm missing here. driver.FindElement(By.XPath("//input[@type='text']")).SendKeys("...
1
vote
1answer
27 views

SetPageLoad Timeout not working for Selenium web driver

In my webdriver test, I have the below. Despite the SetPageLoadTimeout, the script is still executing the next line before allowing the page to load. driver.FindElement(By.LinkText("MySurvey"))....