Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
1answer
136 views

Getting NPE on screencapture with an error

I am currently setting up PageObject with PageFactory Automation tests. I currently have a screenCapture.java and I try to call the method within the screenCapture when there's an error. Here is the ...
1
vote
0answers
67 views

Selenium - sendKeys() not inserting value into textbox

I am not able to validate an international number text box in Selenium. I have tried earlier by name, class and other locators but it is not inserting the value into the textbox. Below is the text ...
0
votes
1answer
67 views

Jenkins Selenium Test on Windows 2012 R2 with Chrome driver

we are testing our projects with selenium. Using chrome browser with chromedriver (v2.9.248315). Now we are setting up a CI infrastructure and we want to run our selenium tests automated. We are ...
1
vote
3answers
64 views

What is Object Repository in Automation Testing?

I'm new with Selenium. Can you please explain What is Object Repository in Automation? any example?
1
vote
2answers
562 views

Type mismatch: cannot convert from WebElement to List<WebElement>

Whenever I am trying to use a list element, this error is showing Type mismatch: cannot convert from WebElement to List<WebElement> in appium. Please help! List <WebElement>a=driver....
3
votes
1answer
86 views

What is the procedure to start Safari browser?

I'm new & started working on selenium from last month. I was successfully running script on FF & chrome. but when I started to run same script on Win safari It gives browser initilization ...
1
vote
1answer
48 views

What's the difference between using Python vs. Ruby for Browser Automation testing? [closed]

I want to automate test cases on web browsers and I love the concept of Python's Salad (mix of Lettuce (BDD) and Splinter (browser automation)). But I've heard that Salad might not be the most stable,...
1
vote
1answer
331 views

Facebook updating profile picture using selenium webdriver

Using Selenium WebDriver I'm not able to click on update profile picture in Facebook. The html snippet is: <div class="_156p">Update Profile Picture</div> How do I locate the element?
1
vote
3answers
35 views

Validating ePub File using selenium webdriver [closed]

Is there any way to validate the ePub file using selenium webdriver?
2
votes
2answers
378 views

Web Consistency Testing & Selenium : is there any tool which we can integrate with selenium to perform Web consistency testing

Web Consistency Testing & Selenium : is there any tool which we can integrate with selenium to perform Web consistency testing I can do this using Selenium but its scope is limited using ...
4
votes
2answers
43 views

“Element is not currently visible and so may not be interacted with” when locating element by CssSelector/helptext [closed]

I faced an issue with locating the element. Currently it's impossible to locate it by CssSelector/helptext, but it's located by CssSelector/Id without issues Here's the element <span id="...
1
vote
1answer
2k views

How to select Security Certificate From security Dialog

The problem I would like to solve is as follow: go to a website which is protected by client certificate authentication using browser once the security challenge dialog box is shown, select on the ...
0
votes
1answer
50 views

Why does my capybara element.click not work in Safari?

I am using rspec-capybara for my tests and I am clicking on a button which had been placed there through Javascript (ajax). Clicking on the button works when using WebDrivers for Chrome, Firefox and ...
1
vote
2answers
67 views

Unable to locate element on Win-7 Safari browser using Selenium

I have written Selenium script & it sucessfully executed on FF, chrome & IE. But when I tried it on Safari it gives error while clicking on button. I used Selenium-java-2.52 version jars & ...
0
votes
1answer
52 views

Selenium: any more ideas what to do when everything fails but Sleep?

So... I have no idea why (well, probably Javascript) but here are the different issues with the code below. With a visibility/enabled wait, Selenium executes the Click() but it doesn't do anything ...
0
votes
3answers
2k views

cucumber java.lang.IllegalArgumentException: Not a file or directory:

I'm new to cucumber. I have created a cucumber project but cannot seem to run the project. Every time I do, I get an error: java.lang.IllegalArgumentException: Not a file or directory: Here is how my ...
0
votes
0answers
32 views

Selenium- what is the appropriate waiting method between pages navigation?

I have a problem with the waiting used between pages navigation. I need to navigate to all links in the current URL. and then navigate to each link to check a condition if specific text appears or not....
1
vote
1answer
41 views

Multiple test case execution: I want to wait for page load in selenium in java

I need help for selenium to wait for entire page load, when executing the test cases. Wait time is to be defined in milliseconds for each step. It will be good if we have better way of doing it (...
0
votes
4answers
58 views

What are the testing types that can be supported by Selenium? [closed]

What are the testing types that can be supported by Selenium? Can Selenium be used for UI testing? Textual testing?
12
votes
9answers
13k views

Whether to choose Selenium over Watir or Lightweight Test Automation when testing web applications created using C Sharp?

I am currently researching testing frameworks to test C Sharp developed web applications. I have been leaning more towards the use of Selenium over Watir or Lightweight Test Automation but hesitant ...
4
votes
2answers
77 views

Writing Automated tests that don't need Cucumber?

So i've been using Cucumber w/Capybara and Poltergeist to write automated tests for awhile now. It works pretty well and I enjoy it and it mostly makes sense (still learning it of course). However Im ...
0
votes
2answers
56 views

Unable to Select options from dropdown field?

I'm using Selenium-webdriver with Java from the MavenProject. Version 2.53.0. This is the HTML of the dropdown field: <div class="col-lg-7 col-md-7"> <select id="...
0
votes
1answer
63 views

The state of the checkbox, which was set in Robot Framework is not stored

I'm new to Robot Framework and Selenium. I can not set a checkbox. There are several settings, which is controlled by the checkbox. I see that it was set by Robot, but the result is not stored. The ...
1
vote
1answer
26 views

Can Css Selector be used to write customized path using tag name traversing?

I wrote a xpath for the following using tag name traversing This is the xpath I wrote - .//form[@class = 'form-horizontal']/div[3]/div/input and it works fine but when I tried to write this in ...
1
vote
0answers
53 views

Selenium with Microsoft Edge driver never finishes initialising

I'm using the C# bindings for Selenium and trying to get a simple automated test in Microsoft Edge working. class Program { static void Main(string[] args) { EdgeOptions options = new ...
1
vote
2answers
102 views

Are there any issues with Selenium v2.53 and Firefox v45.0.1?

I have a couple of tests, which I run them on windows and I have a successful run. But when I move to UBUNTU server with Xvfb, I faced problem with tests, some of them failed!! both cases I used: ...
0
votes
3answers
107 views

Handling browser level authentication using Selenium in Internet Explorer

When I open the application,it prompts for a username and password. How can I handle this scenario using Selenium java in INTERNET EXPLORER?
2
votes
0answers
382 views

Selenium Webdriver and OpenLayers

I would like to check that the locations asset on map (openLayer) are the same with some asset in a row. What is the best way to do this? I'm using the TestNG framework.
0
votes
0answers
2k views

Why can't my Selenium Grid VM node get parameters from/register to the hub?

I tried to set up a Selenium Grid node on a virtual machine. I am using VirtualBox for the VM and Jenkins (with VirtualBox plugin) to set up the grid. When I try to register the node, I get the ...
2
votes
1answer
113 views

Facing a problem while switching frames with Selenium

I have a problem with switching frames in Selenium. I'm using Firefox Webdriver. In the first step I'm switching to Masterpass_frame then I click on a button to force the frame to reload. Then I ...
1
vote
0answers
48 views

How to Allow Firefox Offline Storage using Selenium

I am in the process of creating some BDD tests using Java, Cucumber & Selenium. The problem I am having is the website I am attempting to test has been specifically designed to work with firefox ...
0
votes
2answers
882 views

Select SSL certificates using Selenium web Driver

I'm using Selenium Web Driver on Windows 7. I need to test a web application and I've to use a SSL certificate to enter. I don't know how to select the right certificate to use my application. I'm ...
0
votes
0answers
25 views

Potential of Xamarin Test Cloud as a replacement to Protractor/Selenium?

I am looking into Xamarin Test Cloud for a C# based all-solution UI testing framework for all of our applications. I haven't really seen the feasibility or discussions on what the advantages of each ...
0
votes
0answers
23 views

Can we test SAP CRM using Xebium (Fitnesse Selenium)?

We're trying to use Xebium (Fitnesse Selenium) to test a SAP CRM application. This is a Webgui interface. Can someone tell me if it is possible to use Xebium to test SAP CRM? We record a scenario in ...
0
votes
1answer
348 views

How do I setup and learn the use of Selendroid for Android testing

I am a manual tester with knowledge in selenium webdriver but as I see that selendriod came in for mobile app testing. My question is What would be the best place from where anyone can learn ...
2
votes
0answers
40 views

Element not clickable after login page reload with pagefactory

I am trying to create a simple Selenium script to login to a page directly proceeded by logging out from the page. I am using Selenium with C# and PageFactory to reach the elements on the webpage. I ...
0
votes
3answers
91 views

Unable to click on html link using Selenium WebDriver

I have an requirement of clicking on a link . I am using click() method to click on link by providing the locators and etc.., after click no action was taken place. When I see the html code anchor tag ...
2
votes
2answers
93 views

How to take multiple ScreenShot in Selenium WebDriver by using Java? [closed]

public void screenShot() throws IOException, InterruptedException { File scr=((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE); File dest= new File("filPath/1.png"); ...
4
votes
0answers
69 views

How to Run tests in parallel with Spinach BDD framework?

Currently in our company we use Spinach as a BDD framework and test runner for our automated acceptance tests. We also use Selenium as a browser driver, Capybara as an additional layer on top of it ...
5
votes
1answer
92 views

How to Run e2e tests on multiple browsers in series?

I am running e2e tests using Protractor on a VM through azure. I want to run tests on multiple browsers, which Protractor allows me to do by adding a list like this (from the protractor.config file): ...
1
vote
2answers
461 views

C# Selenium Webdriver “The path is not of a legal form.” [closed]

Running firefox portable (which I know used to work) is now producing an error "The path is not of a legal form." when trying to load profile. var binary = new FirefoxBinary(@"C:\FirefoxPortable\...
3
votes
0answers
53 views

How to retrieve httponly cookies with IE selenium driver?

By my research so far, IE selenium webdriver (for IE10 or 11) is not able to retrieve httponly cookies. So code like this can return a full set of cookies including those set to httponly if I am ...
2
votes
3answers
164 views

How to do the web application testing by capturing JSON request and response using selenium webdriver? [closed]

I wanted to test Salesforce Lightning application by capturing JSON request and response with Selenium WebDriver or any? Is there any way to do it, if so how?
1
vote
0answers
23 views

Not able to select proper time slot in calendar using xpath

I am using union to xpath and created one for day and time. Now, I am able to catch this path but when I used to click on that element using xpath, it's not getting proper time slot selected. My ...
1
vote
0answers
53 views

Accessing Data from Tables

I want to check if my entered information is inserted into the list in the table of the html page but working with tables is a little bit more difficult than a normal list. Could someone help me? My ...
2
votes
1answer
37 views

Can I shift to SAP Testing [closed]

Currently I am working on manual and automation testing(selenium) and I am interested in SAP testing. If I learn SAP testing, will it be useful after learning SAP testing. If I attend interviews with ...
3
votes
3answers
2k views

Problems with maintenance of Selenium on grid service

We have cluster of 5 nodes with all of them are only Firefox nodes. We have run into so many issues maintaining the grid up and running. Selenium nodes goes out of memory (JAVA heap space issues) ...
3
votes
3answers
7k views

WebDriver Clicking button issue in IE 11

Have a suite of web-drivers tests that run in chrome and IE 10, but will not run in IE 11. The tests fail in IE-11 when clicking a button as the following action (a form popup) does not occur. I ...
1
vote
0answers
16 views

Include python tests in JS projects

Currently I am responsible for test automation and my company develops applications in Node.js. For web applications, I'm using python and selenium-webdriver. Is there any way to integrate the tests (...
1
vote
3answers
1k views

Finding grandparent of an element using xpath in selenium

I want to click the parent of an element if the text within the child matches a certain string. I am using contains to find the text and :xpath,"../../" to find the parent. Here is ruby code: test=@...