Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

4
votes
2answers
704 views

PhantomJS 2.0 + PHPUnit + Selenium: anyone got it working?

I'd like to replace Firefox with PhantomJS for our PHPUnit-run Selenium tests. However, I haven't got a clue how to start. When we're using Firefox, something like this is in our code: ...
-3
votes
2answers
54 views

selenium webdriver getting error as with implicitlyWait was undefined

package mypackage; import java.util.List; import java.util.concurrent.TimeUnit; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; import ...
-1
votes
3answers
154 views

After scrolling the page, xpath of a element is not present

I have requirement that needs to check a div on home page that contains sub images. I am trying like this My Sample Code : module.exports.openurl('www.google.com', "Online Shopping | Buy Phones, ...
6
votes
3answers
232 views

Test Automation Engineer, no record-playback?

I want to become a test automation engineer in the future. The thing that is concerning me is this: I have always thought that test automation is using record-playback to test different application. ...
-3
votes
1answer
903 views

Selenium Webdriver Unable to locate element error - {“method”:“id”,“selector”:“log”}

I am trying to execute the code but i am getting following error: "Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: ...
0
votes
2answers
250 views

Selenium Cannot locate element

I am working on automation, while automating a form with number of drop-down's. The problem with me is, when run the code in maximize mode of window it gives me an Error: ...
0
votes
0answers
286 views

Selendroid: Unable to launch selendroid.shows following error

I have tried to start selenium using following code to relevant path on cmd prompt: java -jar selendroid-standalone-0.14.0-with-dependencies.jar -app selendroid-test-app-0.14.0.apk but i am ...
2
votes
1answer
468 views

Web browser (in)compatibility with Selenium WebDriver

Very often, when my local or remote instance of Firefox is automatically updated, it stops working with the most recent version of Selenium WebDriver. They simply become incompatible until next ...
0
votes
3answers
903 views

Example selenium project in C#?

Does anyone know of a good place to download a selenium project that was written in C#? I've been doing automation for the past ~1.5 years and i'm interested to see what other people are doing. How ...
0
votes
3answers
263 views

How to automate Mouse hover action in webdriver/java/kendo ui

I just want to automate mouse hover function for my project the scenario is Scenario : There is a text box, if i hover on it,the edit icon will enable and i have to click that icon.
1
vote
1answer
117 views

latin characters getting displayed as junk characters from the webdriver getText() command

I have a requirement where I am trying to automate the registration form which is in French language, while automating I am trying to get the text of the error messages which are in French(localised) ...
0
votes
1answer
259 views

How to identify the status of a toggle button?

I have some thing like there is a toggle button of having "Show" and "Hide" as values, I want to know the status of the button before i am going to perform some action on this toggle button. The code ...
0
votes
2answers
403 views

Selenium Grid and TestNG Parallel option

This is my first posting here. I already searched here and couldn't find an answer. I'm in the process of integrating Appium with Selenium Grid to run our iOS and Android mobile app test cases in ...
5
votes
3answers
617 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
66 views

Volume Testing Using Selenium

Issue: A code change to how our Instagram feed works on the Y page resulted in a memory overflow under production traffic volume, that did not occur in lower (QA / Preview) traffic volume. When the ...
0
votes
1answer
89 views

Conflict in Automation testing and Manual testing

I am new to Automation Testing. While writing an automation script using Selenium I am facing some issues. I have 7 Test Cases of which 2 Test Cases are repeatedly failing but when I check those cases ...
-2
votes
1answer
477 views

Get element by cursor position in selenium

I'm writing an auto testing framework using Selenium.I am trying to Locate which element my cursor is pointing to. for eg. there are two textbox textbox1 and textbox2. if I perform a tab swift ...
0
votes
1answer
117 views

Selecting multiple options and deselecting options using Selenium with python

I am trying to open a webpage and select options before submitting the form. The issue I am having is being able to selecting more than one option in the select box. Eventually I want to be able to ...
0
votes
1answer
112 views

Setting up Page Objects with python and seem to be getting every error possible

WebTeam init.py BasePage.py UIMap.py Pages: init.py Common.py ContactPage.py test: init.py CompetitorsTest.py CreateAnonData.py CreateKnownData.py import unittest ...
1
vote
1answer
56 views

Retrieve the CSS value using Selenium

CSS style sheet: background: url("/olam/images/brand30/usage_meter/green-vertical.png") repeat-x scroll 0 0 rgba(0, 0, 0, 0); I want to retrieve the URL, tried using below : String cssValue = ...
1
vote
1answer
182 views

Send email in Gmail using Selenium [duplicate]

I am trying to send email using Selenium , but I failed to locate the To field and email body. This my code: @Test public void createEmail(){ WebDriver driver= new FirefoxDriver(); ...
0
votes
1answer
804 views

TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given)

I'm ne to coding and python. Not sure where exactly I should be looking to fix this error. from UIMap import tomcat8LoginPage, ...
2
votes
1answer
321 views

How do I create a loop within my selenium python script to select every option within a dropdown menu

Im new to python, or coding for that matter... Currently I have a python script to select one option within the dropdown menu, but I would like my script to repeat each time and select the next ...
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
1answer
507 views

Sometimes can't able to select the options from drop down webdriver/java [duplicate]

I can able to activate the drop down and able to select the value from it sometimes but sometimes i can't able to select the option for the drop down and i am facing an timeout error. Code: ...
1
vote
2answers
383 views

Testing pdf/excel content with C#

Our site has a good number of reports that are using SSRS,Crystal and Excel. We are using C# with Selenium WebDriver. I have been searching for the best practices and best ways and tools to test the ...
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 ...
0
votes
1answer
51 views

Replacement Of Sendkeys in selenium

Is there any replacement of sendkeys in selenium as we have in coeded ui 'element.text' Thanks in advance
0
votes
2answers
125 views

how to check check box and getting whether checkbox is checked in javascript selenium

how to check check box and getting whether checkbox is checked in javascript selenium and node. I tried using .click on the element also tried using native javascript code to do that.but nothing ...
-1
votes
2answers
100 views

WEB DRIVER SELENIUM 2.0.8 [closed]

I need help, I read about in selenium WebDriver wait forever until the website loads but how do I do this ?. I exported my java test but do not understand how to use that option to wait until the page ...
1
vote
1answer
170 views

Selenium WebDriver code for adding a person in PeopleSoft

I am new to Selenium WebDriver. I am trying to work on a script to Add a Person in PeopleSoft HCM Application. Basically, On the Personal Data Main page, you first start by adding a Effective Date ...
2
votes
2answers
4k 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, ...
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
2answers
517 views

how to run concurrent users using different browsers in selenium for LogIn script

I have created login scripts using hub and nodes. execute command to start selenium server Started a Hub along with selenium server. Started multiple Nodes. Worked on scripts and run for Firefox. ...
0
votes
1answer
407 views

Is it Swipe method supporting in android appium version 1.3.4?

I have tried implementing the swipe method for android devices, but this method is not working in Appium 1.3.4. Below is the code I have written: public void swipe() { JavascriptExecutor js = ...
1
vote
1answer
166 views

WebDriver - Using loadablecomponent design for URLs with query parameters

For example if the url is - http://blah.com?origin=home&id=54&level=2. This could be a dynamically generated link on a webpage with 'id' and 'level' values from the DB. Now if i want to use ...
3
votes
3answers
1k views

Alternative to Selenium + PhantomJS

We need to do a headless testing of a project using Selenium + PHPUnit for which PhantomJS is a natural choice. However, they currently have a major issue with the recent Selenium Server and no ...
0
votes
0answers
23 views

How to find Missing “Alt” Attribute or Value in Selenium [duplicate]

I would like to write program which search all images on webpage and looks if any images missing with alt attribute of value inside the attribute.
0
votes
2answers
129 views

Not getting all links from page

I am trying to get all links from page but not getting all links. I am using selenium web driver. My code is below : public static void main(String[] args){ WebDriver driver = new ...
0
votes
1answer
778 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 ...
0
votes
0answers
108 views

Hovering over HighCharts - C# Selenium coding

Query w.r.t the answers on this page Selenium WebDriver and Highchart testing I need to hover over highcharts & at a specific point on chart, need to validate tooltip values using C# selenium. ...
0
votes
4answers
501 views

How to find broken links using Selenium IDE

Consider I am having hyperlinks on a webpage. How can I find which links are working and whichare not? Kindly suggest me how should I track this using Selenium IDE or Java code.
0
votes
1answer
750 views

Find Broken Images Using Selenium IDE [closed]

I need to test images on a webpage. How should I deal with the following situation: To check whether all images are loaded. To check if broken images are loaded. To that the description in Alt="" ...
0
votes
3answers
140 views

How to tackle the problem of non-static paths/names/ids of DOM elements while automating with Selenium?

I've got not very common task to take care of. We need to create several test suites for some forms in one complex web application. I'm a rookie in this field and Selenium was the first (and pretty ...
0
votes
1answer
250 views

Webdriver -> how to check something in txt file open in firefox?

My problem: 1) open http://www.webscorer.com/resources/templatestart using firefox 2) click on txt file 3) using autoIt on dialog box I check 'open in firefox' 4) txt file opens in new firefox ...
2
votes
3answers
3k 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
0answers
212 views

Unable to get chrome to open link in new tab and verify the title

I am trying to expand our organizations testing to include compatibility testing. We currently use Selenium Web Driver to test using Firefox and Internet Explorer. I have tried modifying the current ...
0
votes
2answers
608 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.
4
votes
4answers
921 views

How does one get started with web test automation using Selenium?

So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated ...
0
votes
1answer
617 views

Selenium : How can I scroll to an element in an iFrame

I have an element that is out of view when I am using Selenium within an iFrame. I have switched the context using Driver.SwitchTo.Frame("frame_id") and I am able to interact with elements that are ...