Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

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 ...
0
votes
2answers
13 views

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

What are the testing types that can be supported by Selenium? is selenium can be used for UI testing? textual testing?
1
vote
6answers
49 views

How to verify image using selenium WebDriver?

WebDriver does not provide direct any function to image verification, but we can verify images by taking two screen shots of whole web page using “TakesScreenshot” webdriver function, one at script ...
0
votes
0answers
6 views

Selenium Web Diver, Firefox. Running parallel scraping. Do I need Selenium Grid?

I have a process, using Selenium Web driver for Firefox, for automatic look up for information on one specific site. Due to the volume of the data being looked up, I will need to run parallel ...
3
votes
1answer
73 views

Can I execute selenium test cases in a real browser with Jenkins Selenium and Maven

I am working on selenium project with Jenkins + Maven + Selenium + TestNG I am following few questions. Can I execute selenium test cases in Jenkins by launching browsers? Currently it gets ...
0
votes
2answers
26 views

How To Handle Dynamic Changing IDs In XPath?

Example : //div[@id='post-body-3647323225296998740']/div[1]/form[1]/input[1] In this XPath id "3647323225296998740" Is changing every time when reloading the page. How to handle this situation?
0
votes
0answers
19 views

I wrote one program using selenium web driver to print Excel cells. I am compiling it but gets terminated [on hold]

I wrote one program using selenium web driver to print Excel cells. I am compiling it but gets terminated below is code package SeleWeb; import java.io.*; import org.apache.poi.xssf.usermodel.*; ...
0
votes
2answers
17 views

How to identify element with knowledge of partial text for any tag (eg. div,span etc.) contains?

My source goes like this: <div name="something" id="something"....>IPS125</div> the number after IPS always changes. So I need to give the identification attribute as partial text ...
3
votes
2answers
28 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
35 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 ...
0
votes
1answer
44 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
19 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
1answer
520 views

Jenkins fails to start Chrome

I am working on Jenkins to run my scripts but I am facing the following issue: Running TestSuite Starting ChromeDriver 2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b) on port 7652 Only ...
0
votes
1answer
17 views

Using boolean to select gender on a form

I am creating a test suite using appium/selenium java and it was suggested that I use a boolean to select the gender on a registration form. The page objects on the gender page are male, female, and ...
0
votes
1answer
21 views

Random Selenium WebDriver Tests inconsistently Fail and Pass on IE browser

Does anyone have any suggestions on how I can improve this situation? I have one suite of tests that I use for all three Firefox, Chrome, and IE browsers. The results I get for the browsers differs - ...
0
votes
1answer
397 views

Selenium 2.40 driver select tag issue

Following code works for selecting the last item from dropdown using Selenium 2.28 driver on Firefox and IE. Not working with Selenium Web Driver 2.40. I can see the dropdown opening but it is not ...
1
vote
0answers
21 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 ...
3
votes
2answers
77 views

What are the advanced tools/technologies used in Automation testing? [closed]

This is the very interesting question asked to me in 2nd technical round of interview. I have told him about advanced automation tools like- Selenium, Appium, Selendroid. Is there any other advanced ...
0
votes
2answers
32 views

Not able to find the element for following code? [on hold]

I have below given HTML code, I am using the Selenium Webdriver <button class="btn btn-primary" style="margin-right: px;" data-ng-click="memberLogin();" type="button">Login</button>
0
votes
2answers
31 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
86 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?
1
vote
0answers
373 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
2answers
251 views

using Selenium IDE how can i verify text exist within a table

Using selenium ide I am looking for a way to locate and or verify a value in a table. There are more columns in the table, but I am only concerned with the first 4. Also the number of rows varies as ...
2
votes
1answer
90 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
40 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 ...
1
vote
1answer
48 views

Problem with drop-down menu

I'm new to Selenium Webdriver and I have a problem with a dropdown menu. I compiled my code but sometimes it returns the error: org.openqa.selenium.NoSuchElementException: Unable to find element ...
1
vote
1answer
40 views

Automation Java - Android - How to get items from a ListView?

I'm trying to get the items from a ListView so I can compare them with of expected results. The thing is that I can't figure out how to get those Elements. I'm also the developer of the App, so I'm ...
3
votes
2answers
42 views

Tomcat Server when used amongst Selenium Grid setup

We are using a different style of Automation framework in our project (as per client request) wherein we have designed a JSP page and this page contains links and buttons through which each ...
1
vote
1answer
94 views

Expecting a popup upon closing the browser

I am expecting a pop-up upon closing the browser. For example, when you are shopping and you have items in cart and in the middle of the checkout process, you wanted to close the tab/browser, at that ...
0
votes
2answers
656 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 ...
2
votes
1answer
58 views

Selenium couldn't do anything while browser is loading long ajax response

I have to perform some tests to web application with interesting interface. I faced with the following issue: there is a process with progress bar and while process is not finished, selenium couldn't ...
0
votes
1answer
65 views

How to Code this SSL Certificate Dialog, with Selenium IEdriver “request for permission to use a key” IE 8 9 11

Can anyone help me with sample code please. I have to login with SSL client certificate to authenticate in IE, this UI only works in IE. I have this Autoit Script but the popup is not being read by ...
2
votes
4answers
180 views

How best to test file download links using Selenium

On a website I am testing we have various links that download PDF files to the users computer. Our selenium suite runs nightly on bamboo, if we were to download the various files overnight it ...
0
votes
0answers
14 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
11 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
336 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
23 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
0answers
36 views

Selenium: any more ideas 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
69 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 ...
1
vote
2answers
45 views

webdriver.support.select - Select doesn't interact with the element

Hello, I have the following select: <div class="col-xs-12 col-md-6"> <label class="ph_label pointer city"> <span class="l citylbl">City</span> <select class="cities ...
1
vote
2answers
53 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"); ...
1
vote
2answers
2k views

Selenium Web Driver Drop Down List Testing With Div tag in java

I am new to automated testing with Selenium Web Driver I am not able to work out how to test drop down lists without using the select command. I tried using xpath, select by id, class name, css ...
0
votes
2answers
220 views

How can I avoid conflicts running Selenium tests in parallel, when they must exercise an underlying REST API?

I have a web application which needs to be tested in multiple browsers in multiple environments (i.e. Chrome, Firefox, and Internet Explorer in both Windows and Linux* (*with the obvious exception of ...
0
votes
2answers
349 views

Selenium Webdriver - finding element on IE 11

I'm trying to assert a 'name' on my page, to assure the right name is displayed: public static OpenQA.Selenium.By Name = (By.CssSelector("p")); Assert.AreEqual("Name", ...
1
vote
2answers
255 views

Testing Download Dialog Box with Selenium

I want to test (using selenium webdriver) if clicking a button causes the right file download dialog to appear. For the automated part of the test I don't have to download the actual file, checking ...
0
votes
2answers
46 views

Fluent Wait not working as expected

I observed fluent wait not identifying an element even though page is loaded completely and element is visible on the screen. For an example, I have an application with say page A and page B. On ...
4
votes
0answers
55 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
56 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): ...
0
votes
1answer
43 views

Test Scenario for cookies in selenium webdriver

I want to work with cookies in my project, I don't know what will be the Test Scenario and Test Cases for it. Please help.