Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
1answer
18 views

Executing on a selected node in selenium grid

I have one scenario i.e.. I have one web view to take all actions(click,send-keys,opening new window) and locator types(ex: xpath,id,name and cssClassName) with these values I am going to create a ...
0
votes
1answer
12 views

Problem with Selenium send_keys function and JavaScript event triggered by data change

I am using Python to write a Selenium test script and I have not been able to use it to enter data for a text area. Entering data into this area appears to trigger a JavaScript function that caches ...
0
votes
1answer
12 views

Selenium framework using C# and excel

I am new to automation (Selenium ). I am working as manual tester and recently got a task related to selenium automation. I have basic knowledge of selenium and very good knowledge of C#. I can ...
0
votes
1answer
24 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 ...
0
votes
1answer
20 views

Mouse Hover Action-Unable to click hidden Link

I am unable to click hidden link("WatchBanking") after using move-to-element. WebElement lnkW2yB=dr.findElement(By.xpath("//a[@href='/personal/ways_to_bank/ways-to-bank-landing']")); Actions ...
0
votes
1answer
19 views

Iterating across various open windows using Selenium and Python

So my question deals with iterating over multiple open windows at a time. Suppose I am opening a website (best example would be Naukri). As soon as the page loads, two more pop up windows open up. ...
0
votes
0answers
8 views

BrowserMob - WebSites not working when using proxy with Selenium Firefox WebDriver

I am using the below .Net wrapper for BrowserMob along with Selenium: https://github.com/AutomatedTester/AutomatedTester.BrowserMob But I'm unable to capture information. Websites won't work when ...
0
votes
2answers
48 views
+100

Selenium Web Driver and OpenLayers 2.x: How to do an identify on a map?

I've had to test a web mapping application that use OpenLayers 2.x, using Selenium Web Driver in Java and using Firefox (I'm on Windows 7). I've found only this issue: ...
2
votes
1answer
71 views

Selenium Webdriver: How can I getText() if there's another text within div?

I have the following html: <div class="dialog-components"> <h2 class="dialog-title"> <div class="help-link"> <a href="http://google.com">Helps</a> ...
1
vote
1answer
23 views

Selenium Timing Issue With Dialogs (Widgets) In Current Page

EDIT: I have narrowed the problem to its possible source see Update 2 and you can skip the intro. My issue is that selenium "thinks" it has clicked a link when the link click was never actually ...
0
votes
0answers
15 views

Can't connect to selenium grid on VM?

I have a VM on the same network as my computer. I can remote into the VM and open up the selenium grid console (http://(ip):4444/grid/console) and it appears to be working fine. When I try to open ...
0
votes
3answers
48 views

PageObject. Should I initialize all pages at start or not?

Java + Webdriver + PageObject. I have a question about pages organization. At this moment I have class which contains all pages in the project. At start all pages are initializing, and it looks like ...
1
vote
1answer
13 views

IDE: [error] Threw an exception: missing ; before statement

I keep getting errors with my storeEval script. In IDE the log keeps giving me "[error] Threw an exception: missing ; before statement". I don't know what to do because I have tried putting a similar ...
1
vote
1answer
47 views

Running selenium scripts through web

I have developed a web page which takes all inputs for test cases such as: locators, input data, urls to open, etc. I run the page in tomcat server. Whenever I'm executing the test case with that web ...
0
votes
0answers
41 views

Testing Download Dialog Box with Selenium

I want to test (using selenium webdriver) if clicking a button causes the right file download dialog to appear. For the automated part of the test I don't have to download the actual file, checking ...
0
votes
1answer
31 views

Select SSL certificates using Selenium web Driver

I'm using Selenium Web Driver on Windows 7. I need to test a web application and I've to use a SSL certificate to enter. I don't know how to select the right certificate to use my application. I'm ...
0
votes
0answers
34 views

Upload file in Selenium using AutoIt?

I'm trying to upload a file using Selenium on Windows 7 using AutoIt following this tutorial http://www.toolsqa.com/selenium-webdriver/autoit-selenium-webdriver/. The web page I'm using is this one ...
0
votes
1answer
25 views

Solution for Test Automation for web gis/mapping application?

I have to find a solution for test automation for webbased GIS/mapping application that is using OpenLayers 2.x or Leaflet as JavaScript libraries. I'm oriented on evaluate Selenium WebDriver (or ...
1
vote
2answers
56 views

Executing the selenium script through servlets

I have a scenario in which I need to execute the selenium scripts through servlets. I mean I will get the same input from the front end (Web UI) by passing those values to selenium classes then I will ...
1
vote
5answers
136 views

Will learning selenium add value to my career?

I have 8 years experience in manual testing. I've just gotten interested in automation testing now. Just wanted to know if learning selenium at this point of my career will add value. If yes, then in ...
1
vote
1answer
32 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 ...
0
votes
1answer
29 views

Get browser's current position using selenium webdriver

I would like to know if there's any way to know the absolute position of the browser's visible canvas. Ex: if I'm at a webpage and I scroll down 200px, I would like to know I'm on the coordinate ...
0
votes
1answer
27 views

Options for headless browsers for .net?

I am looking at speeding up my automation using a headless browser. I tried converting my tests to use PhantomJS but test stability took a big hit. Some pop ups don't seem to render correctly, tests ...
0
votes
0answers
25 views

Check Http Get/Post Status

I want check http Get/Post call in automation testing,same as REST Client used in Firefox.also I am confuse about how to pass parameters with POST method and check its status.
1
vote
1answer
40 views

Can I email the testNG reports directly through selenium?

I want to send the testNG reports directly through mail to the stakeholders once its complete execution. What is the best possible way for it?
0
votes
2answers
36 views

Verifying URL while ignoring part of its string

I have a URL I am attempting to verify through my test, basically I click on the image of a product and it takes me to the item description page. At the end URL string for this items description page, ...
3
votes
1answer
68 views

The HTTP request to the remote WebDriver server timed out after 60 seconds

I am running selenium tests in C# and every now and then I get this error while initiating or running my tests: The HTTP request to the remote WebDriver server for http://localhost:7055/xxxxx timed ...
0
votes
0answers
30 views

Selenium C# Why does Telerik Rad date picker clear its date text in the date picker text box when running tests?

using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using ...
1
vote
1answer
49 views

click() method is not working

I have a link which is having the href attribute as javascript:void(0), but it is having the onclick function. In the onclick function dev is use to log the number of hits to be database through ajax ...
0
votes
1answer
15 views

Cannot find element with <i> tag in selenium C#

I have an element onscreen that I am attempting to click, my test runner is telling me that SyntaxError: The expression is not a legal expression. I am trying to access an ' i ' tag on a button. ...
1
vote
1answer
56 views

How to get a grid row count with Selenium in C#?

Hello I am currently trying to figure out how to get the count of how many rows are displaying in an HTML Grid on a page. From researching several stack exchanges some people reference GetXPathCount ...
6
votes
2answers
254 views

Why does selenium fail every so often when running more complex tests because it can't find an element on the page?

private IWebDriver driver; private ChildSearchPage currentChild; private IWebElement divMeetingsTab { get { return driver.FindElement(By.Id("Content_InfantTab1_divMeetings")); } } private IWebElement ...
0
votes
0answers
21 views

Handling Ajax onclick function in selenium to render the page

I have a scenario like, I need to click on the link (anchor tag) href attribute for that tag is href="javascript:void(0)", but onclick is firing an ajax request then appending the result to some URL. ...
2
votes
5answers
142 views

What are the steps I should take to learn Selenium on the side?

I am currently working a full-time job in QA that does not utilize Selenium. However, I am interested in learning about how to use it and wanted to know what steps I should take to gain knowledge of ...
0
votes
2answers
72 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.
0
votes
1answer
46 views

Page was loading very slowly when compared to manual process

I am working on one of the php web site, the home page consists of a background image and on the top of the image there is a button. Now my problem is whenever I am doing automation for this web ...
1
vote
2answers
95 views

Should Automated Test rely on each other or be kept seperate?

Currently, I am in charge of developing a blackbox automated testing framework using C# and Selenium web driver and using this framework to automate our current manual regression suite. The system ...
1
vote
1answer
41 views

Is it possible to access the css class using webdriver

I want to get the background image url which is defined in a css class . Is it possible to do by using selenium webdriver Example : Sample Text with Logo Now I want to achevie the logo url but that ...
0
votes
1answer
76 views

Not able to execute 700 Test Cases on Firefox and Chrome

I created page object model framework using Selenium Web Driver,TestNG and ANT. Problem: Single Test case is executed successfully but while executing them together some test cases are failed. ...
3
votes
4answers
101 views

Selenium with multiple languages gives any additional features

I am new to Automation Testing. By googling about Selenium I gained a some knowledge on Selenium. But I have small doubt i.e., Selenium will support the multiple languages like Javascript with ...
1
vote
3answers
101 views

How to validate xpaths in selenium over scripts

I am new to Selenium. I heard that in real time we will not use xpaths generated by tools..rather we will write our own. So i decided to learn writing xpaths. Can u please suggest how to practice ...
0
votes
1answer
24 views

Cucumber not finding @Findby annotations

Im trying to set up cucumber over my page object. I currently have as my login page object: @FindBy (id = cF.username) public WebElement username; @FindBy (id = cF.password) ...
0
votes
0answers
26 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: ...
1
vote
1answer
42 views

click on the button/link by scroll to the element

I am searching with a keyword "Mobiles" in search box it given the 450 results now i want verify that whether it is displayed 450 products not . My problem is per page we are displaying the 30 ...
0
votes
1answer
51 views

C# Selenium Webdriver “The path is not of a legal form.”

Running firefox portable (witch i know used to work). Is now producing an error "The path is not of a legal form." when trying to load profile. var binary = new ...
0
votes
2answers
97 views

Unable to run selenium webdriver script in IE11

I have IE 11 browser on Windows 8 Im trying to automate a simple search but i get an exception. (The script works in Firefox) I made regedit changes according to instructions given in ...
0
votes
1answer
40 views

Efficent way of checking if Element is Not Present

I currently use TestNG's assertFalse to make sure a particular element is Not shown when not logged in on a site. eg assertFalse(isElementPresent(PageElements.PDFLinkText),"PDF link present when not ...
0
votes
2answers
82 views

cucumber java.lang.IllegalArgumentException: Not a file or directory:

I'm new to cucumber. I have created a cucumber project but cannot seem to run the project. Every time I do, I get an error: java.lang.IllegalArgumentException: Not a file or directory: Here is how my ...
1
vote
1answer
155 views

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

how can i switch to the new instance of browser in python selenium webdriver [duplicate]

i am using selenium webdriver with python, i am not able to find a way in python by which i can switch the webdriver to a new browser. My web application have multiple links and buttons Clicking on ...