Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
2answers
23 views

How to identify element with knowledge of partial text for any tag (eg. div,span etc.) contains?

My source goes like this: <div name="something" id="something"....>IPS125</div> the number after IPS always changes. So I need to give the identification attribute as partial text ...
4
votes
2answers
70 views

Writing Automated tests that don't need Cucumber?

So i've been using Cucumber w/Capybara and Poltergeist to write automated tests for awhile now. It works pretty well and I enjoy it and it mostly makes sense (still learning it of course). However Im ...
0
votes
3answers
88 views

How To Handle Dynamic Changing IDs In XPath?

Example : //div[@id='post-body-3647323225296998740']/div[1]/form[1]/input[1] In this XPath id "3647323225296998740" Is changing every time when reloading the page. How to handle this type of ...
1
vote
7answers
145 views

How to verify images in selenium WebDriver?

WebDriver does not provide direct any function to image verification, but we can verify images by taking two screen shots of whole web page using “TakesScreenshot” webdriver function, one at script ...
0
votes
2answers
49 views

Unable to Select options from dropdown field?

I'm using Selenium-webdriver with Java from the MavenProject. Version 2.53.0. This is the HTML of the dropdown field: <div class="col-lg-7 col-md-7"> <select ...
1
vote
1answer
25 views

Can Css Selector be used to write customized path using tag name traversing?

I wrote a xpath for the following using tag name traversing This is the xpath I wrote - .//form[@class = 'form-horizontal']/div[3]/div/input and it works fine but when I tried to write this in ...
1
vote
2answers
46 views

Using boolean to select gender on a form

I am creating a test suite using appium/selenium java and it was suggested that I use a boolean to select the gender on a registration form. The page objects on the gender page are male, female, and ...
1
vote
0answers
42 views

Selenium with Microsoft Edge driver never finishes initialising

I'm using the C# bindings for Selenium and trying to get a simple automated test in Microsoft Edge working. class Program { static void Main(string[] args) { EdgeOptions options = new ...
0
votes
1answer
53 views

Random Selenium WebDriver Tests inconsistently Fail and Pass on IE browser

Does anyone have any suggestions on how I can improve this situation? I have one suite of tests that I use for all three Firefox, Chrome, and IE browsers. The results I get for the browsers differs - ...
1
vote
2answers
70 views

Are there any issues with Selenium v2.53 and Firefox v45.0.1?

I have a couple of tests, which I run them on windows and I have a successful run. But when I move to UBUNTU server with Xvfb, I faced problem with tests, some of them failed!! both cases I used: ...
1
vote
0answers
47 views

How to Allow Firefox Offline Storage using Selenium

I am in the process of creating some BDD tests using Java, Cucumber & Selenium. The problem I am having is the website I am attempting to test has been specifically designed to work with firefox ...
1
vote
1answer
65 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 ...
0
votes
0answers
20 views

Potential of Xamarin Test Cloud as a replacement to Protractor/Selenium?

I am looking into Xamarin Test Cloud for a C# based all-solution UI testing framework for all of our applications. I haven't really seen the feasibility or discussions on what the advantages of each ...
2
votes
1answer
67 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 ...
0
votes
0answers
21 views

Can we test SAP CRM using Xebium (Fitnesse Selenium)?

We're trying to use Xebium (Fitnesse Selenium) to test a SAP CRM application. This is a Webgui interface. Can someone tell me if it is possible to use Xebium to test SAP CRM? We record a scenario in ...
0
votes
1answer
52 views

Selenium: any more ideas what to do when everything fails but Sleep?

So... I have no idea why (well, probably Javascript) but here are the different issues with the code below. With a visibility/enabled wait, Selenium executes the Click() but it doesn't do anything ...
2
votes
0answers
30 views

Element not clickable after login page reload with pagefactory

I am trying to create a simple Selenium script to login to a page directly proceeded by logging out from the page. I am using Selenium with C# and PageFactory to reach the elements on the webpage. I ...
3
votes
2answers
143 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
31 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
72 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
100 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
52 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 ...
2
votes
1answer
36 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
19 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
55 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
159 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 ...
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
0answers
52 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
46 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 = ...
3
votes
2answers
65 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 ...
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
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 = ...
1
vote
2answers
57 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
37 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
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 ...
0
votes
1answer
19 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
2k 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
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 ...
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
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 ...
1
vote
2answers
77 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
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. ...
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 ...
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?
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
93 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 ...