Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

6
votes
2answers
168 views

What are the advanced tools/technologies used in Automation testing? [closed]

This is the very interesting question asked to me in 2nd technical round of interview. I have told him about advanced automation tools like- Selenium, Appium, Selendroid, Sikuli. Is there any other ...
3
votes
0answers
53 views

How to retrieve httponly cookies with IE selenium driver?

By my research so far, IE selenium webdriver (for IE10 or 11) is not able to retrieve httponly cookies. So code like this can return a full set of cookies including those set to httponly if I am ...
5
votes
1answer
92 views

How to Run e2e tests on multiple browsers in series?

I am running e2e tests using Protractor on a VM through azure. I want to run tests on multiple browsers, which Protractor allows me to do by adding a list like this (from the protractor.config file): ...
2
votes
3answers
167 views

How to do the web application testing by capturing JSON request and response using selenium webdriver? [closed]

I wanted to test Salesforce Lightning application by capturing JSON request and response with Selenium WebDriver or any? Is there any way to do it, if so how?
1
vote
3answers
54 views

Same button is on 2 pages,but on one of the page its not clickable by selenium

The button is visible on UI and isdisplayed() is telling its displaying, but only the problem is, selenium is not clicking this button. The same button is placed on 2 pages, on first page its ...
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 ...
1
vote
0answers
23 views

Not able to select proper time slot in calendar using xpath

I am using union to xpath and created one for day and time. Now, I am able to catch this path but when I used to click on that element using xpath, it's not getting proper time slot selected. My ...
1
vote
1answer
68 views

Failed to connect to Safari driver through Selenium Grid

Getting the following exception when trying to run the selenium tests on Mac- Safari using Selenium Grid. I could see the safari browser on Hub console, but when running the tests getting the ...
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 ...
1
vote
3answers
195 views

Unable to select text from dropdown - Gmail.com Month Dropdown

Im also facing the same error. Unable to select Birthday, Gender & Location in gmail signup page. I'm using Selenium Webdriver. Please find the below code for birthday. new Select (driver....
1
vote
0answers
16 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
0answers
53 views

Accessing Data from Tables

I want to check if my entered information is inserted into the list in the table of the html page but working with tables is a little bit more difficult than a normal list. Could someone help me? My ...
0
votes
0answers
52 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 = driver.findElement(By.cssSelector("...
3
votes
2answers
79 views

Selenium WebDriver Spicejet website automation?

I am trying to automate spicejet.com website, but the thing is I am not able to access the dropdown values using select as the dropdown values like destination, source etc are not in Select Option="...
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 ...
1
vote
1answer
30 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 = (...
1
vote
2answers
67 views

Unable to locate element on Win-7 Safari browser using Selenium

I have written Selenium script & it sucessfully executed on FF, chrome & IE. But when I tried it on Safari it gives error while clicking on button. I used Selenium-java-2.52 version jars & ...
0
votes
0answers
56 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
1answer
34 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 ...
0
votes
1answer
26 views

How to select options from <Input> based dropdown menus in Selenium?

The website I'm testing has been built with Visual Studio C#. The dropdown menus I'm to test don't use the usual format of: <select> <option>...</option> ... ... </...
2
votes
3answers
4k views

Selenium Web driver and Mozilla Firefox Compatibility

Currently am using selenium-java-2.53.0,can you tell me which is the most stable FF version for it.
0
votes
1answer
31 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 com....
3
votes
2answers
41 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)" onblur="...
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
24 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
93 views

How to take multiple ScreenShot in Selenium WebDriver by using Java? [closed]

public void screenShot() throws IOException, InterruptedException { File scr=((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE); File dest= new File("filPath/1.png"); ...
0
votes
2answers
113 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
56 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. &...
0
votes
2answers
64 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 ...
0
votes
1answer
59 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?
0
votes
2answers
50 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;" href="...
0
votes
0answers
32 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
107 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 ...
0
votes
2answers
77 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
57 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
41 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 ...
1
vote
1answer
124 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 ...
1
vote
1answer
80 views

Firefinder doesn't find element but Firebug or Selenium IDE do

I have a problem with finding web elements in my web application. When I use Selenium IDE everything is ok, the element can be found. In Firebug or Chrome developer tools is ok as well (element is ...
0
votes
1answer
107 views

Select multiple options and selection values will come from Excel

What I am trying to do is select multiple options from this example site while holding CTRL http://www.htmlcodetutorial.com/forms/_SELECT_MULTIPLE.html The multiple selection values would come from ...
4
votes
4answers
75 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 ...
1
vote
2answers
86 views

How to set up selenium tests so that if one fails, the others still run?

To give some context I am building a testing system with Selenium, nUnit and Visual Studio in c# that will allow me to test a number of websites one after another. The issue I have is that all of the ...
1
vote
1answer
30 views

Handling the popup ad's in e-commerce website

Currently I am working on a e-commerce website. When I visit the site for first time they are displaying a popup, like discounts or signup etc... while writing my scripts I wrote code for waiting for ...
1
vote
2answers
50 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 ...
3
votes
2answers
68 views

Should one test rely on the output of previous test?

First of all I have read some great answers in the following link: Are your UI automated tests dependent or ordered?. But would like a clearer understanding in terms of dependencies within test data. ...
1
vote
2answers
43 views

-browserTimeout does not seem to change timeout

I am running a selenium server on my local machine and passing in a suite of selenese tests (the browser is being run on a virtual display with Xvfb) DISPLAY=:99 \ java -jar ../automated-test-builder/...
1
vote
1answer
49 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
1answer
142 views

Exception in thread “main” java.lang.NoClassDefFoundError

I am trying to do this: http://www.softwareishard.com/blog/firebug/automate-page-load-performance-testing-with-firebug-and-selenium/ Below is the screenshot taken from eclipse package com.stack....
0
votes
1answer
55 views

Unable to click on javascript element through selenium driver

I am using given below xpath but my script is not clicking on these element Login_Btn = "(//a[contains(text(),'Login')])[2]"; OR "//div[@id='bd_login']/a" ; driver.findElement(By.xpath(Login_Btn))...
0
votes
1answer
41 views

Required parameters but none were supplied error

Can someone help me on how to fix the error and run the script? public class ExcelCapture { public WebDriver driver; String filePath = "E:\\Study\\workspace\\OCM25_26_OCE_19\\OCM25_26_OCE_19\\...
3
votes
1answer
117 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 ...