Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

4
votes
1answer
228 views

Selenium Grid2 - IOException thrown while closing Closeable.

I am executing my Selenium tests against a Grid server, hosted on a different machine. My grid invocation is (bat file): cd c:\ start java -jar c:\selenium-server-standalone-2.46.0.jar -role hub -...
3
votes
1answer
48 views

Selenium Webdriver : parent login window closes after login and child window opens

I have a test case with following scenario: 1) Navigate to website. 2) Enter Login Credential. 3) Click on Login. After login in my application, login window is closed by system and new child ...
3
votes
1answer
115 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 ...
3
votes
1answer
188 views

Failing the script in Jenkins due to screen size different

Currently I am working on running selenium scripts in Jenkins. Here my issue is my browser window size is 1382, 754 resolution.But in jenkins browser resolution was 1044,784.Due to this my script was ...
3
votes
1answer
1k views

How to get the Event Object of the Click event on Selenium IDE?

I am a newb at selenium thing. I have image map area and on click event of this area a function is firing where the click Event Object is being passed to do some calculation. I have recorded the ...
2
votes
1answer
45 views

Selenium - WebElement.FindElement() Aware of changes to DOM?

Was just reading this question http://stackoverflow.com/questions/26882604/selenium-difference-between-webdriver-findelement-and-webelement-findelement trying to understand the scope of the ...
2
votes
1answer
71 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 ...
2
votes
1answer
105 views

Accept SSL certificates in Selenium Opera C#

I am trying to launch an Opera web driver, but whenever I go to the homepage of the site under test, I get certificate errors. I have tried using the CapabilityType.AcceptSslCertificates = true: ...
2
votes
1answer
209 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 ...
2
votes
1answer
2k views

How to Handle the File Upload dialog in Protractor for IE11?

I know the default answer to handling explorer.exe is to use AutoIT, but AutoIT utilizes Java Runtime to use the exported .exe to upload the file and close the dialog. My tests are all in Protractor ...
1
vote
1answer
23 views

SetPageLoad Timeout not working for Selenium web driver

In my webdriver test, I have the below. Despite the SetPageLoadTimeout, the script is still executing the next line before allowing the page to load. driver.FindElement(By.LinkText("MySurvey"))....
1
vote
1answer
82 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 ...
1
vote
1answer
760 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 ...
1
vote
1answer
103 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 ...
1
vote
1answer
138 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 ...
1
vote
1answer
264 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 ...
1
vote
1answer
244 views

Selenium Webdriver runs in root but not in non-root account

I have this problem that when I run in root account it works properly with the test cases returning as expected. But in a non-root account it keeps giving me an error. Thanks in advance if you are ...
0
votes
1answer
30 views

Switch case and dropdown in selenium

I am writing code to get state value from the drop-down and depending upon the state calculating the tax rate. I am using switch case statement to define the tax rate for each state. I want to use ...
0
votes
1answer
19 views

Plugin of Maven - Automated test

I need to run automated test on Bamboo (Atlassian) but i don't know what plugin of maven use. The automated test are with Selenium and Java.
0
votes
1answer
30 views

How to verify text under <P> tag in selenium

I want to Verify text "No results were found for the query:"under tag in selenium how to verify this text how to take xpath for this div class="fl" style="width: 99%;"> Search Results No results ...
0
votes
1answer
45 views

Blank Browser launches on Selenium Grid Hub with Every Test Run on Node

Why does the hub keep launching a blank browser before it runs a test on the node? Every time a test starts to run, a blank browser is launched on the hub before it opens the same type of browser on ...
0
votes
1answer
58 views

Java code inside a test case

In my code the daily emails generated by java code. Is it possible to write pure java code inside a Selenium IDE automation test case?
0
votes
1answer
42 views

Email content checking

I am doing automation testing. In our web application the employees get daily mail notification. what i need is ,to write test case to check the daily emails. The emails contents are the services that ...
0
votes
0answers
25 views

Integration of website script with native app

I have a situation like, I made regression script on website application. Its saving the content as what selenium does on web application. Now, I have native app for iOS and Android. I created ...
0
votes
0answers
18 views

Maven Java versioning issue

I am trying to setup jenkins and run build using maven, but I am getting an error, because maven is executing build with java source 1.5. I have mentioned the source and target in pom.xml as 1.7 still ...
0
votes
0answers
80 views

Is Selenium automation possible with ALM integration?

I am trying to Create and Run some internal Core java Program using Selenium which i am trying to implement in QC/HP ALM . I able to launch the ALM trial version but i am unable to find the specific ...
0
votes
0answers
66 views

AjaxElementLocatorFactory = Implicit or Explicit

I'm looking for solution in page factory to wait. I don't want to use something like Implicit wait, but something like Explicit. I read about AjaxElementLocatorFactory, but I'm not sure that it ...
0
votes
0answers
57 views

How to organize code in automation framework?

I am trying to figure out most readable way to organize my code (with POM) So far I have split out the following: Pages (methods for the specific pages) 'GoTo' pages (I don't need it but ...
0
votes
0answers
34 views

can object repository be maintained in excel?

I use a framework where we are maintaining Object Repository in property file. Can it be maintained in excel as we do not want to keep on updating the property file.
0
votes
0answers
33 views

Data driven framework on Selenium Grid 2

In my project we have decided to implement Selenium Grid setup. We are using a data driven from Excel framework, currently all these spreadsheets are present in a workstation (which will turn to a ...
0
votes
0answers
38 views

Unable to select a value on doing Right Click in Selenium Webdriver

I need to right click using selenium webdriver. When I right click on the date highlighted in red,I will have a menu opened from where I have to select "Show CTR Impressions Label". I am able to ...
0
votes
0answers
56 views

Jenkins test case execution

I was creating a job in Jenkins to execute my test cases through maven. when I am executing the build in jenkins test cases were executing but it is not completing its execution (even I waited 1hr ...
0
votes
0answers
130 views

Selenium Virtual Frame Buffer on Windows

I have a requirement to run a process that itself requires functionality of the Firefox browser. Currently, I run this process on a laptop, so having Firefox running is not a problem. However, we ...
0
votes
0answers
181 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 ...
0
votes
0answers
58 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
0answers
35 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 ...
0
votes
0answers
88 views

Things to consider when starting project with Cucumber and Page Object Pattern?

I'm trying to build a new framework based on Cucumber and Page Object Pattern. Could you please advice me what approach to take based on your experience before doing automation project like: What's ...
0
votes
0answers
47 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: ...
0
votes
0answers
80 views

How to download a attached PDF file in the PDF file using selenium

A PDF file was attached inside the PDF file. Needs to read the content in the attached PDF file. Let me know if you have any solution on this requirement. I am using IE Webdriver, and the code I have ...
0
votes
0answers
164 views

Why does Codeception / Selenium give “UnknownServerException”?

I've recently had some trouble getting automatic testing working on a new machine. I'm using Codeception and Selenium, and everything worked fine on my old Windows 8 machine (I'm now on Ubuntu). My ...
0
votes
0answers
1k 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 ...
0
votes
0answers
472 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 ...
0
votes
0answers
715 views

How to set script timeout?

I have the following code: Webdriver driver = new FirefoxDriver(); // ... String myHugeScript = ... ; // Script loaded from a resource on the classpath Object result = ((JavascriptExecutor) driver)....
0
votes
0answers
66 views

ElementNotVisibleException on Mac, not Windows

I'm trying to get Webdriver in Python to click a cell in a table, wait for JavaScript to add an element into the cell and then click the element that appears which causes a dropdown to appear. We ...
0
votes
0answers
56 views

Selenium script for selecting any one of the users

I have added the code selecting anyone of the user but only first time it works so please help me with this. Stripe.com driver.findElement(By.xpath("//ul[@class='navigation']//a[@href='/test/...
0
votes
0answers
64 views

Is this possible to start a selenium test with two different hub?

I'm new to selenium. I'm running selenium grid using a hub with 5 registered nodes. Is this possible to start the test with two different hubs.
0
votes
0answers
913 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
0answers
368 views

Selenium WebDriver Code for PeopleSoft Sub Page

I am new to Selenium WebDriver World. 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 ...
0
votes
0answers
375 views

Regex escaping issue in Selenium IDE and WebDriver

I have a Selenium IDE command evaluating a regex against a string in the DOM, something like this - Command waitForEval Target /http:\/\/www.site.com\/path\/image-/.test(window[window.varA+'-'+...
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 ...