Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
0answers
5 views

Selenium GhostDriver/PhantomJS: File not getting uploaded using sendKeys() / Javascript

I am running a headless script using PhantomJSDriver/GhostDriver and trying to upload a file on gmail while composing an email. Tool: Selenium with PhantomJS/GhostDriver. The html code is as below: ...
0
votes
0answers
17 views

How to send Keyboard Shortcuts to browser using Selenium and Nodejs

I am trying to create a test script in node js using selenium webdriver and in case I need to send keyboard shortcuts to the driver. I tried finding the //body element and sending them but only ctrl+a ...
-2
votes
0answers
10 views

selenium, bugzilla defect tracking tool [on hold]

which version of Mozilla Firefox compatible with selenium IDE & Bugzilla? I need the version of all the three.
0
votes
1answer
41 views

Help with else if statement Webdriver Selenium

I have this code below which seems to not go to the else if statement. It runs the first part but never seems to go to part 2, if element 1 is already selected. Thanks if ...
0
votes
1answer
27 views

Help finding child class with cssSelector syntax

How can I find this element by css this is what I have so far. driver.findElement(By.cssSelector(".simplecolorpicker > span[title*=#ff8081]")).click(); Here is the image of the html:
0
votes
1answer
16 views

How to change the Text of a IWebElement of Selenium in C#

The Title pretty much explains everything. I'm searching for a way to change let's say <h1 id="title">Title<h1> to <h1 id="title">Nothing<h1> I'm kind of desperate since ...
0
votes
0answers
43 views

TestNG with Selenium Data and Keyword Driven Framework

I am new to TestNG. I'm using Hybrid Framework For Automation Testing, it's Hybrid Architecture based, in which Keyword(Java Methood name) and data is provided in Excel sheet, and based on that ...
2
votes
0answers
34 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. ...
0
votes
0answers
4 views

Is any body aware of any example to generate html report in mocha framework

If any one knows any example for generating the html report in mocha framework Please share it .I have done googing and tried a lot but I am not successsed. So please if any one having share it
3
votes
4answers
73 views

What to do when waiting for an element to appear isn't enough?

I am writing selenium tests, and following the convention of using Webdriver Waits to have the webdriver poll for an object before it tries to interact with it. I am frequently finding my tests are ...
-1
votes
3answers
49 views

Selenium code for login popup window page

Will anyone please provide how to write selenium testing code for login popup window for example like in paytm site. When click on login button, it opens a popup window. In that we have to write code ...
0
votes
1answer
66 views

How to generate a report for test case in selenium webdriver using javascript

I am working on selenium webdriverjs , Now I want to know about reporting tools upto now I am not using any reporting tools . Now I am decided to use reporting tool , Please suggest me best reporting ...
0
votes
1answer
77 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: ...
-2
votes
2answers
24 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 ...
0
votes
3answers
53 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, ...
5
votes
3answers
156 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. ...
-2
votes
1answer
70 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: ...
-1
votes
1answer
53 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
77 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
101 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
79 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
1answer
37 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.
0
votes
1answer
34 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
60 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
66 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 ...
3
votes
3answers
100 views

Controlling database state in Selenium UI Testing

We have a big test suit 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

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 ...
-1
votes
1answer
57 views

Conflict in Automation testing and Manual Testing

I am new to Automation Testing,While writing automation script Using Selenium I am facing some issues,consider I have 7 Test Cases of which 2 Test Cases are repetitively failing but when I check those ...
-1
votes
1answer
49 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
36 views

Selecting multiple 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
0answers
35 views

Button disable after run command “click” in Selenium IDE

After clicking "Give License" ,the button stays disabled.I am suppose to verify the text after button enable. I change from click to clickAndWait to wait the button finish loading. Maybe any lines ...
0
votes
1answer
39 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
34 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
99 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
51 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
89 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
2answers
180 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
116 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: ...
0
votes
1answer
55 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
123 views

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

I am a new bee in Selenium testing based on java, needed help on handling sub child windows. I have to handle four child windows. Main window- Child window- Grand child - (to reach 5 child ...
0
votes
1answer
32 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
34 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
80 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 ...
0
votes
1answer
73 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
176 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, ...
6
votes
5answers
1k 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
101 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
119 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 = ...
0
votes
1answer
58 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
321 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 ...