Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
0answers
35 views

Upload file in Selenium using AutoIt? [duplicate]

I'm trying to upload a file using Selenium on Windows 7 using AutoIt following this tutorial http://www.toolsqa.com/selenium-webdriver/autoit-selenium-webdriver/. The web page I'm using is this one ...
0
votes
1answer
34 views

Solution for Test Automation for web gis/mapping application?

I have to find a solution for test automation for webbased GIS/mapping application that is using OpenLayers 2.x or Leaflet as JavaScript libraries. I'm oriented on evaluate Selenium WebDriver (or ...
0
votes
1answer
33 views

Why would StringUtils return the incorrect # of matches of a substring?

I am using StringUtils from the apache commons library to check the # of matches of a substring within the source code of an html page. I have converted the page source using the webdriver command: ...
3
votes
1answer
110 views

The HTTP request to the remote WebDriver server timed out after 60 seconds

I am running selenium tests in C# and every now and then I get this error while initiating or running my tests: The HTTP request to the remote WebDriver server for http://localhost:7055/xxxxx timed ...
0
votes
1answer
37 views

Get browser's current position using selenium webdriver

I would like to know if there's any way to know the absolute position of the browser's visible canvas. Ex: if I'm at a webpage and I scroll down 200px, I would like to know I'm on the coordinate ...
10
votes
10answers
10k views

What is a good website to hack around using Selenium?

I want to learn Selenium, but I don't know what to code. Sure, I can throw Google some queries, I can fill out some forms, press buttons, find divs and links, etc. But I think this stuff is pretty ...
1
vote
1answer
47 views

Can I email the testNG reports directly through selenium?

I want to send the testNG reports directly through mail to the stakeholders once its complete execution. What is the best possible way for it?
2
votes
5answers
162 views

What are the steps I should take to learn Selenium on the side?

I am currently working a full-time job in QA that does not utilize Selenium. However, I am interested in learning about how to use it and wanted to know what steps I should take to gain knowledge of ...
0
votes
2answers
81 views

Selenium Testing in Android Devices without USB connection

How can I do my selenium testing by opening the browser in android device from my PC, without connecting through USB?
4
votes
5answers
891 views

What kind of test cases can we not automate in selenium webdriver - java [closed]

I want to know what kind of test cases we cannot automate using selenium webdriver. I do not want to use any 3rd party tool (Autoit, etc..).
6
votes
7answers
5k views

How can I reduce the execution speed in webdriver so that I can view properly what is happening on browser?

I want to reduce the speed for execution of script so that I can view the execution properly on browser. I want do this in webdriver.
1
vote
1answer
43 views

Is it possible to access the css class using webdriver

I want to get the background image url which is defined in a css class . Is it possible to do by using selenium webdriver Example : Sample Text with Logo Now I want to achevie the logo url but that ...
1
vote
1answer
49 views

click() method is not working

I have a link which is having the href attribute as javascript:void(0), but it is having the onclick function. In the onclick function dev is use to log the number of hits to be database through ajax ...
0
votes
2answers
39 views

Verifying URL while ignoring part of its string

I have a URL I am attempting to verify through my test, basically I click on the image of a product and it takes me to the item description page. At the end URL string for this items description page, ...
1
vote
5answers
9k views

Using Selenium (C#) how do I select an item from a drop-down list

I'm using the Selenium IDE to record my initial tests and then export them to c# and then use the webdriver. Some things that I do from the IDE don't export. I am trying to select a State from a ...
0
votes
0answers
59 views

Selenium C# Why does Telerik Rad date picker clear its date text in the date picker text box when running tests?

using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using ...
1
vote
1answer
84 views

How to get a grid row count with Selenium in C#?

Hello I am currently trying to figure out how to get the count of how many rows are displaying in an HTML Grid on a page. From researching several stack exchanges some people reference GetXPathCount ...
6
votes
2answers
272 views

Why does selenium fail every so often when running more complex tests because it can't find an element on the page?

private IWebDriver driver; private ChildSearchPage currentChild; private IWebElement divMeetingsTab { get { return driver.FindElement(By.Id("Content_InfantTab1_divMeetings")); } } private IWebElement ...
0
votes
1answer
24 views

Cannot find element with <i> tag in selenium C#

I have an element onscreen that I am attempting to click, my test runner is telling me that SyntaxError: The expression is not a legal expression. I am trying to access an ' i ' tag on a button. ...
0
votes
0answers
28 views

Handling Ajax onclick function in selenium to render the page

I have a scenario like, I need to click on the link (anchor tag) href attribute for that tag is href="javascript:void(0)", but onclick is firing an ajax request then appending the result to some URL. ...
0
votes
0answers
30 views

Unable to get testng report one by one; Both reports are coming simultanously

I have two testng.xml files. I did entry for these two testng.xml files in pom.xml like this: <suiteXmlFiles> ...
0
votes
1answer
52 views

Page was loading very slowly when compared to manual process

I am working on one of the php web site, the home page consists of a background image and on the top of the image there is a button. Now my problem is whenever I am doing automation for this web ...
1
vote
2answers
166 views

Selenium webdriver: detecting element color

In registration form address field if it is empty application, message shows in red color. How can I capture this?
0
votes
2answers
761 views

Counting the number of browser windows opened by Selenium

Is there a way to get a list of opened browser windows using Selenium? I want to use this to count the number of open browsers within a test.
1
vote
2answers
97 views

Should Automated Test rely on each other or be kept seperate?

Currently, I am in charge of developing a blackbox automated testing framework using C# and Selenium web driver and using this framework to automate our current manual regression suite. The system ...
2
votes
2answers
158 views

Error: cannot find symbol in XSLT + TestNG Report

When I followed this link LINK to generate XSLT Report Using testng and to send email reports getting error message (Ex: package org.openqa.seleni um does not exist, etc...0). Please suggest me. ...
2
votes
2answers
3k views

How do I work with dropdowns in Selenium Webdriver?

This is a canonical question, intended to provide a comprehensive answer to many related questions I understand the basics of working with Selenium Webdriver; I can navigate to pages, click buttons, ...
3
votes
4answers
123 views

Selenium with multiple languages gives any additional features

I am new to Automation Testing. By googling about Selenium I gained a some knowledge on Selenium. But I have small doubt i.e., Selenium will support the multiple languages like Javascript with ...
6
votes
4answers
4k views

Do you verify presence of text in your automated tests?

While automating multi locale application I had to stop using - assertTrue(selenium.isTextPresent("success text message")); where success text message would change for each locale. to - ...
0
votes
3answers
3k 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 ...
1
vote
3answers
1k views

Connecting Appium to Selenium Grid

I'm having trouble connecting Appium to our local Grid. When I try to connect I don't get any errors, but I do not see Appium in the Grid console. Here's my node config file. { "capabilities": ...
3
votes
4answers
557 views

Page Object Design: Is there a Python equivalent to Ruby gems “site_prism” or “page_object”?

I'd like to know if there is a framework in Python which supports a clean way to define the Page Object Elements on a Page Object. The site_prism gem does it like so: class Home < SitePrism::Page ...
0
votes
2answers
533 views

How to run Selenium WebDriver java/testNG script with Windows Safari browser?

I know how to run test script in chrome and firefox. Please help me how to run my Selenium WebDriver java/testNG script in windows safari browser.
1
vote
3answers
108 views

How to validate xpaths in selenium over scripts

I am new to Selenium. I heard that in real time we will not use xpaths generated by tools..rather we will write our own. So i decided to learn writing xpaths. Can u please suggest how to practice ...
3
votes
2answers
1k views

How to use TestNG to create multi-user tests scenarios?

What I need to do is to create UI test cases for our application and we have decided to use Selenium with TestNG (we're still open to other options if there are considerable advantages). The tests we ...
0
votes
0answers
27 views

Selenium Webdriver : Selection is happening twice

I want to select only Manage the customers and Projects . But did not getting , whats going wrong with below code. It selects both Manage the customers and Projects and Manage Tasks My code: ...
19
votes
15answers
17k views

Under what circumstances is Sikuli better for test automation than Selenium or Watir?

The Sikuli website says: Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots). Under what circumstances is Sikuli a better technology ...
1
vote
1answer
54 views

click on the button/link by scroll to the element

I am searching with a keyword "Mobiles" in search box it given the 450 results now i want verify that whether it is displayed 450 products not . My problem is per page we are displaying the 30 ...
0
votes
1answer
177 views

how can i switch to the new instance of browser in python selenium webdriver [duplicate]

i am using selenium webdriver with python, i am not able to find a way in python by which i can switch the webdriver to a new browser. My web application have multiple links and buttons Clicking on ...
0
votes
2answers
79 views

How to select category from Ebay dropdown list? [duplicate]

Hi I'm learning automation testing using Eclipse, Selenium Webdriver, and Java. I'm practicing. I'm trying to select the label 'Consumer Electronics' from the Ebay dropdown menu and search only in ...
0
votes
2answers
135 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
1answer
41 views

Efficent way of checking if Element is Not Present

I currently use TestNG's assertFalse to make sure a particular element is Not shown when not logged in on a site. eg assertFalse(isElementPresent(PageElements.PDFLinkText),"PDF link present when not ...
2
votes
3answers
2k 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 ...
2
votes
3answers
2k views

How to run all Selenium test cases via batch file

I am a noob in Java and automation so please bear with me if I get the terminology wrong. I have a class file that can open a browser and navigate to google.com and then closes the browser. There’s ...
0
votes
1answer
643 views

Type mismatch: cannot convert from element type Object to WebElement

I am getting error"Type mismatch: cannot convert from element type Object to WebElement" when tried to run a java file to check broken images on webpage. My Code : List elementList = new ...
1
vote
1answer
2k views

How to modify testNG report in selenium java

I am running my script in java and getting the results in testNG. But in my application after filling up the form I am getting a confirmation alert message. I am able to read that alert message and ...
0
votes
4answers
196 views

How to determine whether element is clickable or not? [closed]

My Question is How to check whether the element is clickable or not ?.Is there any method to chat that like isElementVisible() or IsElementPresent() and etc ... Please let me know if one is having a ...
1
vote
1answer
2k views

How to update test cases in MS Test Manager based on automated test script results

For a web-application, I am automating my test cases using selenium web driver in java. My test cases are being managed using Microsoft Test Manager. Now, I want to update the test cases in the ...
7
votes
6answers
2k views

Is writing unit-tests difficult for me as a QA-engineer?

I currently work as a QA-engineer. Work a lot with java, selenium and test-automation. But, unit-tests are something the developers have been doing and something that I fear. Is it difficult? Do you ...
0
votes
1answer
41 views

Blank screenshot with WebDriver

Im not sure why, but ever time my screenshot is executed, the images are saved as blank. heres the code: public void screenshotOnError() throws IOException { WebDriver driver = new ...