Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

2
votes
1answer
37 views

Can I shift to SAP Testing [closed]

Currently I am working on manual and automation testing(selenium) and I am interested in SAP testing. If I learn SAP testing, will it be useful after learning SAP testing. If I attend interviews with ...
3
votes
3answers
2k views

Problems with maintenance of Selenium on grid service

We have cluster of 5 nodes with all of them are only Firefox nodes. We have run into so many issues maintaining the grid up and running. Selenium nodes goes out of memory (JAVA heap space issues) ...
3
votes
3answers
6k 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 ...
1
vote
0answers
14 views

Include python tests in JS projects

Currently I am responsible for test automation and my company develops applications in Node.js. For web applications, I'm using python and selenium-webdriver. Is there any way to integrate the tests ...
1
vote
3answers
1k views

Finding grandparent of an element using xpath in selenium

I want to click the parent of an element if the text within the child matches a certain string. I am using contains to find the text and :xpath,"../../" to find the parent. Here is ruby code: ...
1
vote
1answer
29 views

Selenium: source code for the different locator types?

So, I've been wanting to take a look at the dotNet code for the different locator strategies (Id, ClassName, XPath, TagName, ...). In the By class, I've found this for Id: by.findElementMethod = ...
0
votes
0answers
45 views

Add text on code-mirror editor using selenium

I am trying to insert the text on an editor (code-mirror). I couldn't find to add the text. The code I have used to accomplish the task is:- WebElement queryInput = ...
0
votes
0answers
25 views

Selenium webdriver wait not working during ajax call

Could someone plz help. I am automating a webpage which has an ajax call. I tried to implement webdriver to wait for ajax to complete using webdriver wait. It seems the the webpage automatically got ...
17
votes
10answers
7k views

How to fill CAPTCHA using automation?

How can I automate, 'Enter CAPTCHA' using Selenium Web Driver ?
0
votes
0answers
36 views

How to test facebook friend request sent or not by using selenium webdriver with java?

I want to prepare one facebook script for friend request sent or not.In facebook use three button for friend section and only any one is visible other is hidden. Any have idea to make script for this ...
0
votes
4answers
10k views

How to handle “Time out receiving message from the renderer” in chrome driver?

I am new to selenium, I'm facing "Time out receiving message from the renderer" in chrome browser while running test with selenium 2.41 and chrome 2.9x. I have tried many tests to reproduce the issue, ...
3
votes
4answers
57k views

How to find element using contains in xpath

can anyone please help me how to use contains in my xpath? My xpath changes all the time when users are added, so I can't find element using xpath. This is my xpath: ...
0
votes
1answer
26 views

Automation script for Minimal Form Interface with dynamic ids [duplicate]

I am trying to automate a minimal form interface using Selenium to capture an element & later Java code. But the challenge is the minimal form has only one input container which is constantly ...
1
vote
2answers
40 views

How to automate a download popup in browsers other than firefox in linux and Mac?

For automating a download popup in Firefox, we use Firefox Profile and for other browsers I've used AutoIt. Is there any other way to work around it in windows? And coming to the main question, I've ...
0
votes
1answer
29 views

Showing Null pointer exception can you please help me check code below

Test: package com.digitalmqc.automation.ff.projectstests; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.PageFactory; import org.testng.annotations.Test; import ...
0
votes
5answers
402 views

How to revert the changes made by selenium in a tear down process?

I am in a situation where I have to revert all the changes which I made while testing the application. Is there any way of doing this in Testng? Suppose if I have added something into the ...
1
vote
5answers
687 views

Selenium IDE - Actual use- seeking a practical example

What is the actual use of Selenium IDE? Apart from playback and record How can we use this tool to check the validations of a simple login form in website?
3
votes
2answers
40 views

How to access a web page INPUT element using selenium python

Below is my website content <input type="text" title="Query for bugs (&quot;Go box&quot;) [Alt-K]" name="Go" id="GoText" size="23" onkeypress="GoBoxKeypress(event)" ...
0
votes
3answers
126 views

How to run multiple test cases without running before and after class again and again

I want to know how run multiple files without running the before class() again and again. E.g.: Consider i am writing test case for GMail login.java : Which contains complete testing of the login ...
2
votes
1answer
249 views

Selenium HtmlUnit: How do I disable JS errors?

I have been working on a script for hours and I can't seem to figure out a way to make headless and automated automated. WebDriver driver = new HtmlUnitDriver( ...
0
votes
1answer
29 views

What is the use of waitForPageLoad() method in Framework when our test scripts don't execute unless the page is loaded by default

public void waitForPageLoad(WebDriver driver){ while(true){ String page_status =(String)((JavascriptExecutor)driver).executeScript("return document.readyState"); ...
0
votes
0answers
26 views

Advice for manual tester moving to working in automated testing [duplicate]

I am seeking some solid career advice from experienced Test Engineers or QA Analysts around this forum. My background:I have been a test engineer with Quality Assurance, Business, and EDI in ...
0
votes
0answers
17 views

Implications of UI testing in Linux instead of Windows

I'm currently working on parallelizing my Selenium tests using Selenium Grid and Docker. Right now my test suite is running on Chrome in Windows - the issue is that Docker can only create Linux ...
2
votes
2answers
3k views

How to verify whether selected item is exist in another page? (Ecommerce application)

I am trying to verify selected item is exists in another (Cart/Shopping Bag) page, for EX: I am buying one/many items from application and then I will move all the items to Cart/Shopping Bag, here I ...
1
vote
3answers
400 views

Porting Selenium test from Firefox driver to HTMLUnit driver

I am trying to convert my selenium test from Firefox browser to HTMLUnit driver. But, when I try to run the HTMLUnit test , it gives me error for XPATH. The Firefox browser test runs absolutely fine. ...
0
votes
2answers
110 views

What are good automated testing resources? [duplicate]

As a Beginner, i am performing Manual Testing very well. But when it comes to automated testing, I have struggled somewhat. I have used Load Runner fairly well. i am trying to learn more about using ...
1
vote
1answer
42 views

verify element padding using Galen Framework

I am in process of evaluating Galen as UI automation framework. I am blocked at one point where Galen is unable to give correct results in case of padding around an element. This is the sample DOM. ...
1
vote
1answer
47 views

Automated integration testing spanning multiple services

I am working on a project in which we keep one wiki platform in sync with the content of other. The way we do this is a document edit on 'Wiki A' kicks of a data flow pipeline that transforms data ...
0
votes
2answers
60 views

How to send key '(' and '!' to Selenium Web Driver?

I was trying to do write a test a case for a website that takes in the Java code , compiles it and runs it. However, while writing the test case , the text-area that takes input did not have all the ...
1
vote
3answers
229 views

Running application doesn't execute any code but opens a new window

I am trying a build an automated testing framework, using Selenium WebDriver to simply login a website. However, when I run the following code, the only thing that happens is a new internet explorer ...
0
votes
1answer
58 views

Is there a similar tool to Selenium? [closed]

Do you know any application that is similar as Selenium, both commerical and open source? Can you recommend me any application except Selenium?
1
vote
6answers
190 views

How to find the xpath locator for logout button?

We are currently working on a selenium project. Can you guys help me to find the xpath locator for the logout button in the application? Below is a screenshot of the code for the element for which ...
0
votes
3answers
59 views

Handling A Popup

So I have to upload a document, and the popup for file explorer loads and my code can find the document I need, but how do I then switch back to my original browser? Here is the code: ...
0
votes
2answers
48 views

Need to get the value from h1 tag

Need xpath for the below script where i need to store the number 3: <div class="col-xs-4"> <div class="col-xs-8"> <small class="stat-label"> <a style="color:#fff;" ...
0
votes
0answers
28 views

how to use drag and drop across frames

I tried to drag to drop an element from a frame to a non frame . I know this is repetitive question in stackoverflow, but I did not get any correct answer for the same question. Requesting your help ...
0
votes
2answers
92 views

Executing large number of test cases

I have 120 test cases in my project. All those test cases are running on a live site. Here I configured all these 120 test cases in a single suite (TestNG.xml) file. It's taking 4 to 5 hours to ...
-1
votes
2answers
3k views

How to handle multiple columns of Data from Excel using Apache POI for Selenium WebDriver

I am new to Selenium WebDriver and I am automating an end to end test. My doubt here is, all the data for the test is stored in an excel file which contains more than 15 columns of data. Each @Test ...
0
votes
2answers
51 views

using @parameter annotation in testng test case throwing exception

@BeforeClass @Parameters("folderName") public void setUp(String folderName) { createLogger(this.getClass().getSimpleName(),folderName); configureDriver(); } @AfterClass public void tearDown() ...
0
votes
1answer
39 views

Rubymine / Cucumber: Tests run fine, but are shown as “Failed to start” in Event Log

I have several Cucumber tests that are running fine (I closely watch them), all pass, and everything works good. But Event Log in Rubymine keeps showing all the tests that pass in this way: Failed to ...
3
votes
1answer
40 views

Protecting credentials in Selenium project

Is there a method and/or best practice for protecting credentials in a Selenium project using Java? The two main ones for my application will be user credentials for logging into the site, and DB ...
8
votes
8answers
2k views

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

I currently work as a QA engineer and 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 ...
0
votes
2answers
210 views

TestNG.java.lang.NullPointerException running second @Test

It runs first test, but then I'm getting null pointer exception when running Edit Profile test. Not sure why. I globally declared public driver. Please help. Thanks package test; import ...
5
votes
2answers
809 views

Which has the better support for Selenium, Python or Ruby? [closed]

I need to use Selenium to do some automating testing. Which language has better support for Selenium? That is, once a new version of Selenium is released, And I can get the newest version binding on ...
1
vote
2answers
97 views

What language is required when learning Selendroid?

I want to learn Selendroid. I do not know what language I need to know before starting with selendroid. I know selenium using Java. For selendroid, do I have to learn android?
2
votes
2answers
1k views

Selenium: How to access the same session in a new window?

I have search throughout the internet but none of the answers I found have a clear solution. I am using selenium webdriver with Java. My test needs to verify when you save your login information ...
1
vote
1answer
88 views

How to run a specific test case from a suite in jenkins

I have 120 test cases and I execute all these test cases through a pom.xml (maven) file in jenkins. Now if I want to execute just one of these 120 test cases, how can I do that? Is there any way to ...
0
votes
3answers
156 views

Error seen while automating the Gmail page. Pls help!

While running the following code: package prac.sample; import org.openqa.selenium.*; import org.openqa.selenium.firefox.*; import org.openqa.selenium.WebDriver; import ...
1
vote
3answers
761 views

Can I copy data from a CSV file and use it in a website using only Selenium IDE

Right now I'm running selenium test script in which I have get data from a CSV file and paste in a site.So can I copy data from a CSV file and paste in a test script in Selenium IDE. It would be of ...
4
votes
4answers
69 views

Is there a name for automated tools that work from screenshots like Sikuli or Monkeyrunner with tools like Selenium?

I have a list of GUI testing tools, and I want to separate the tools that are 'based on screenshots' like Sikuli or Monkeyrunner that others that interact directly with the elements of SUT, like ...
0
votes
3answers
638 views

How to read date value from a calendar through selenium ide

There is a calendar object in the web page, not developed internally. It's a datetime picker. How do I read the selected value from it through selenium ide? Thanks in advance guys.