Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

1
vote
3answers
71 views

Options for headless browsers for .net?

I am looking at speeding up my automation using a headless browser. I tried converting my tests to use PhantomJS but test stability took a big hit. Some pop ups don't seem to render correctly, tests ...
-4
votes
3answers
2k views

Outlook Mail testing

I want to know how to use outlook to test mails (the mail has a link that needs to be clicked to approve or deny the request). How do I write this in Selenium Webdriver in c#. I am quite new to ...
0
votes
3answers
4k views

selenium.ElementNotVisibleException: Element is not currently visible

I am working on selenium, while running Java code I tried to access a text box from the web page but selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted ...
0
votes
2answers
90 views

Selenium Drag and Drop with non visible Element

I've got a problem with drag 'n drop with elements in lists which are not visible at loading. When I scroll to the element I can click it or move the mouse over it but I am not able to perform a drag ...
1
vote
2answers
27 views

Existence of an element

I have seen a couple of ways to test if an element exists. One way: private boolean existsElement(String id) { try { driver.findElement(By.id(id)); } catch (NoSuchElementException e) ...
0
votes
1answer
40 views

Retrieving xpath from stored webelement variable

I am using page object model. Here is xpath that I have written for Heading of the page and stored it in the heading webelement variable. @FindBy( xpath = "//div[@class='page-title ...
1
vote
1answer
85 views

Automating Chrome on Windows 8.1 with JavaScript using Selenium's WebDriverJS

I'm automating Chrome on Windows 8.1 with JavaScript using Selenium's WebDriverJS. 1) To get started with WebDriverJS for Node, I downloaded a copy of the ChromeDriver and selenium-server-standalone ...
0
votes
2answers
445 views

Selenium IDE - Selecting an option from Popup Menu

I am new to Selenium IDE and not very good at coding.Trying to record few actions and selenium throws error. I would like to select an option from the Popup Menu. I tried all possible combinations. ...
0
votes
2answers
82 views

Setting TestNG test case result as PASS/FAIL as per my requirement

I have one requirement, I need to read the test data from the excel sheet and after the test case execution I need to write in to excel sheet as PASS/Fail/ Skip. I have used TestNG framework,Below ...
2
votes
2answers
51 views

Using Selenium to test SOLR queries

I have a general question, which pretty much is, How do I test SOLR queries using Selenium? Suppose we have a SOLR query JSON file, which pretty much looks like a huge pile of text containing values ...
1
vote
4answers
3k views

Unable to locate element in a dropdown

ul class="appt-dropdown-menu"> <li id="service-slot-blocker" class="slot-blocker-holder"> <li id="service-05b41399015375913"> <code class="light-blue"></code> <span ...
-2
votes
1answer
48 views

How to specify an existing database for django to use?

I think by default Django will create a new and empty test database to run the test cases. Is it possible to configure Django to use an existing database instead of creating a new one? === EDIT: The ...
0
votes
1answer
52 views

Getting and logging the selenium version used in a groovy project

I'm using Selenium in my Groovy application as a Maven dependency. Now I'm looking for a way to log the used Selenium Version to the console. I tried this: BuildInfo info = new BuildInfo(); def ...
0
votes
3answers
431 views

Selenium - How to get table rows visible in the dialogbox?

In a Selenium Junit test, for a table with 'n' rows in a dialog box of a webpage, I am able to calculate number of rows using Table.size() (Table is a List of elements which finds elements with tag ...
0
votes
2answers
46 views

Selenium - Best practice, mapping an object to HTML form?

I was wondering if anyone uses a design pattern where there is an object (similar to a page object) which has fields for each input in an HTML form. I guess the fields would be nullable and then the ...
1
vote
2answers
51 views

Selenium and it's ability to do integration testing

Previously I have done some work for a client and a conversation went much like this: Client: "I want to test my product, that is web based. What would you recommend?" Me: "Selenium is a ...
0
votes
0answers
33 views

Submit button not working in Selenium webdriver

When I launch ChromeDriver or IEDriver and click the submit button (manually and automatically), it does not send the inputs. It works outside of webdriver though, I can click the submit button and ...
-2
votes
3answers
64 views

How do I get elements from drop down menu in Selenium [closed]

Please suggest to get the elements present in drop down menu using Selenium WebDriver. Thank you..
0
votes
1answer
651 views

Using Selenium Builder with Jenkins

I'm trying out Selenium Builder as an alternative to Selenium IDE and Selenium Webdriver. I've been pointed to a useful tutorial here: http://seleniumbuilder.github.io/se-builder/tools.html ...but ...
0
votes
1answer
2k views

How to run TESTNG failed test cases in jenkins for maven project?

I am new to jenkins and I have configured it on my windows PC. I have to run failed test cases twice before considering that they are failing. I am using TestNG and selenium webdriver for writing test ...
0
votes
3answers
61 views

How to find element with dynamic names in selenium webdriver

My code: <input type="text" placeholder="Label" class="other[] form-control" name="projectsurvey[1438590696705][choosekey][1438590696705][]" value=""> Where name ...
0
votes
0answers
15 views

Where can we see @Test(description=“test description”) in report?

I am unable to see the my test description in report. I use this annotation for it: @Test(description="TestCase Description") Where can I see the above description of my test case in the final ...
0
votes
2answers
172 views

Script when passing values from one HTML page to other in Selenium IDE

How to create Selenium IDE script when passing value [Using hyperlink] from one HTML page to other. In my case the page was automatically closed After passing the value. When i am trying to run ...
2
votes
3answers
76 views

Advanced selenium webdriver tutorial/course [duplicate]

Is there an online advanced/intermediate tutorial on Selenium Webdriver. Preferably using Java. I've searched a lot but could not find such a course/tutorial. Almost 99% are very basic, and I would ...
0
votes
1answer
178 views

integration of Selenium Java testNG framework with .net framework

I have designed a framework in java using selenium by testNG framework. My question is can we integrate the entire framework with C# .net framework (Another framework for same application using .net ...
0
votes
2answers
587 views

How to set browser locale with chromedriver (Python)

I am trying to set my browser locale by doing the following options = webdriver.ChromeOptions() options.add_argument('--lang=es') driver = webdriver.Chrome(executable_path=driver_location, ...
1
vote
1answer
26 views

Installing ddt on Ubuntu with Python 3

I am working on a Ubuntu system which has both Python 2.7 and Python 3.4 installed. I was trying to install the ddt library for creating data driven test cases. However when I try installing using ...
3
votes
7answers
2k views

Visual Regression Testing

For testing the visual appearance of a website the use of tools like selenium (functional surface test) are not sufficient because it doesn´t check the visual appearance and/or the CSS-Code directly. ...
-3
votes
2answers
136 views
5
votes
3answers
634 views

Controlling database state in Selenium UI Testing

We have a big test suite with around 300+ tests. Now a days we are manually restoring database and creating few Data Objects and hard coding some data to feed into the tests. However, there are a lot ...
0
votes
1answer
45 views

Clicking on java script generated dynamic elements using Remote Web Driver in selenium

I have one web page, all the elements on that page are generated by java script code. I want to click on one of the button on that page, I was able to do this using the chrome driver,FF Driver but ...
14
votes
3answers
33k views

A way to match on text using CSS locators

So I use xpath locators and slowly converting to CSS. I haven't found a way to do an exact match based on text. For example converting //a[text()='Log Out']. I know you can do css=a:contains('Log ...
1
vote
2answers
270 views

Blurred screenshots with Selenium Webdriver

Please refer to the link to see what kind if screenshots I get - http://goo.gl/uDIyf3 instead of http://goo.gl/BQy1hI . Not sure what could be wrong here as the same code has been working for me on ...
0
votes
1answer
226 views

Python selenium - how can I loop a function to make 100 Copy accounts using different emails

How can I loop a different string into the email field, or a variable without actually having to make a list that consist of 100 different emails. For example is there a way i can send money@qa.test ...
12
votes
11answers
21k views

Load Testing, Selenium Vs Jmeter Vs other tools

I have been using Selenium/Webdriver for functional testing in a grid setup. We are in the process of transitioning to a Solr based search service. I already have Solrmeter for load testing the ...
1
vote
3answers
45 views

Testing automation - identify a button using contains

I need to make a test to login on 5 different sites. The issue is that some of them have a login button, and the others display directly the login form, to fill the username and password. The only ...
2
votes
7answers
185 views

Website with complex functionalities?

I'm tired of test automation because I don't feel challenged anymore. 99% of all automation I work with is straight forward, with click and type and no heavy logic. Any tips on websites with very ...
0
votes
3answers
35 views

Page Factory @FindBy

I am currently learning page object model (POM) and I am trying to access a specific web element using @FindBy but I am not sure how to correctly write the syntax for my element into @FindBy? What I ...
0
votes
1answer
104 views

Not able to execute 700 Test Cases on Firefox and Chrome

I created page object model framework using Selenium Web Driver,TestNG and ANT. Problem: Single Test case is executed successfully but while executing them together some test cases fail. Reason: ...
0
votes
1answer
65 views

Finding Element on a webapplication built using frames

I am using Java with Selenium Webdriver. I am currently writing a script to verify a contact has been added to a contact list from a form. The workflow is: The menu of our application uses Angular js ...
0
votes
1answer
1k views

How to handle sub child windows(more than 3) using Selenium Web Driver with Java

I am using Selenium Webdriver with Java, and I need help handling sub child windows. I have to handle four child windows. Main window- Child window- Grand child - (to reach 5 child windows) I ...
2
votes
2answers
137 views

How to find real world Selenium projects

Where can I find sample or real Selenium projects. All the material I can find on github and on internet are basic, and never intermediate or advanced. How does a real Selenium project look in real ...
0
votes
2answers
65 views

Selenium IDE - Captured screen shot comparision

I have two images - one is a screenshot of my application; the other is a reference image. How can I compare the two of them to determine if they are the same?
0
votes
1answer
942 views

How to wait for ajax calls using a selenium command

I'm using the selenium ide to create test cases. Will the "AndWait" commands wait for an ajax operation to complete? Is there a specific command that can help with this? I prefer to use the selenium ...
0
votes
3answers
93 views

PageObject. Should I initialize all pages at start or not?

Java + Webdriver + PageObject. I have a question about pages organization. At this moment I have class which contains all pages in the project. At start all pages are initializing, and it looks like ...
0
votes
4answers
67 views

How can I automate a test scenario of account expiry or account at different time transition?

I have an application where trial credentials expires after a week and if user tries to login after that, they see only few things enabled.This is one of the example. Similarly, verifying expiry of ...
0
votes
0answers
20 views

Search Dom for multiple elements using explicitwait

Hi I'm using selenium webdriver and when I click to a certain website I want the webdriver to return a list of elements with similar classes, in this case a list of elements that, once clicked/toggled ...
1
vote
2answers
6k views

Webdriver : How to switch to a specific window?

I came across many solutions for switching between windows, one of them is: Set<String> allWindows = driver.getWindowHandles(); for(String currentWindow : allWindows){ ...
3
votes
1answer
5k views

Flex Test Automation Tools Questions

Below tools I figured out for Flex Testing FlexMonkium - Selenium IDE Addon FlexMonkey - http://www.gorillalogic.com/flexmonkey FlexPilot - https://github.com/mde/flex-pilot/wiki FlexUISelenium - ...
2
votes
1answer
139 views

Selenium webdriver with python - cannot find dynamic content

I'm new to Selenium and have searched for a solution for this, but cannot find one. I am trying to drill down into a nav containing a collapsable directory tree. The folder nodes' content starts as ...