Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
1answer
896 views

How to handle sub child windows(more than 3) using Selenium Web Driver with Java

I am using Selenium Webdriver with Java, and I need help handling sub child windows. I have to handle four child windows. Main window- Child window- Grand child - (to reach 5 child windows) I ...
0
votes
1answer
49 views

Replacement Of Sendkeys in selenium

Is there any replacement of sendkeys in selenium as we have in coeded ui 'element.text' Thanks in advance
0
votes
2answers
105 views

how to check check box and getting whether checkbox is checked in javascript selenium

how to check check box and getting whether checkbox is checked in javascript selenium and node. I tried using .click on the element also tried using native javascript code to do that.but nothing ...
-2
votes
2answers
98 views

WEB DRIVER SELENIUM 2.0.8 [closed]

I need help, I read about in selenium WebDriver wait forever until the website loads but how do I do this ?. I exported my java test but do not understand how to use that option to wait until the page ...
1
vote
1answer
161 views

Selenium WebDriver code for adding a person in PeopleSoft

I am new to Selenium WebDriver. 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 Date ...
2
votes
2answers
3k views

How do I work with dropdowns in Selenium Webdriver?

This is a canonical question, intended to provide a comprehensive answer to many related questions I understand the basics of working with Selenium Webdriver; I can navigate to pages, click buttons, ...
7
votes
6answers
2k views

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

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

how to run concurrent users using different browsers in selenium for LogIn script

I have created login scripts using hub and nodes. execute command to start selenium server Started a Hub along with selenium server. Started multiple Nodes. Worked on scripts and run for Firefox. ...
0
votes
1answer
323 views

Is it Swipe method supporting in android appium version 1.3.4?

I have tried implementing the swipe method for android devices, but this method is not working in Appium 1.3.4. Below is the code I have written: public void swipe() { JavascriptExecutor js = ...
1
vote
1answer
148 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 ...
3
votes
3answers
1k views

Alternative to Selenium + PhantomJS

We need to do a headless testing of a project using Selenium + PHPUnit for which PhantomJS is a natural choice. However, they currently have a major issue with the recent Selenium Server and no ...
0
votes
0answers
23 views

How to find Missing “Alt” Attribute or Value in Selenium [duplicate]

I would like to write program which search all images on webpage and looks if any images missing with alt attribute of value inside the attribute.
0
votes
2answers
118 views

Not getting all links from page

I am trying to get all links from page but not getting all links. I am using selenium web driver. My code is below : public static void main(String[] args){ WebDriver driver = new ...
0
votes
1answer
648 views

Type mismatch: cannot convert from element type Object to WebElement

I am getting error"Type mismatch: cannot convert from element type Object to WebElement" when tried to run a java file to check broken images on webpage. My Code : List elementList = new ...
0
votes
0answers
93 views

Hovering over HighCharts - C# Selenium coding

Query w.r.t the answers on this page Selenium WebDriver and Highchart testing I need to hover over highcharts & at a specific point on chart, need to validate tooltip values using C# selenium. ...
0
votes
4answers
409 views

How to find broken links using Selenium IDE

Consider I am having hyperlinks on a webpage. How can I find which links are working and whichare not? Kindly suggest me how should I track this using Selenium IDE or Java code.
0
votes
1answer
643 views

Find Broken Images Using Selenium IDE [closed]

I need to test images on a webpage. How should I deal with the following situation: To check whether all images are loaded. To check if broken images are loaded. To that the description in Alt="" ...
0
votes
3answers
123 views

How to tackle the problem of non-static paths/names/ids of DOM elements while automating with Selenium?

I've got not very common task to take care of. We need to create several test suites for some forms in one complex web application. I'm a rookie in this field and Selenium was the first (and pretty ...
0
votes
1answer
215 views

Webdriver -> how to check something in txt file open in firefox?

My problem: 1) open http://www.webscorer.com/resources/templatestart using firefox 2) click on txt file 3) using autoIt on dialog box I check 'open in firefox' 4) txt file opens in new firefox ...
2
votes
3answers
2k views

How to run all Selenium test cases via batch file

I am a noob in Java and automation so please bear with me if I get the terminology wrong. I have a class file that can open a browser and navigate to google.com and then closes the browser. There’s ...
0
votes
0answers
208 views

Unable to get chrome to open link in new tab and verify the title

I am trying to expand our organizations testing to include compatibility testing. We currently use Selenium Web Driver to test using Firefox and Internet Explorer. I have tried modifying the current ...
0
votes
2answers
534 views

How to run Selenium WebDriver java/testNG script with Windows Safari browser?

I know how to run test script in chrome and firefox. Please help me how to run my Selenium WebDriver java/testNG script in windows safari browser.
2
votes
4answers
659 views

How does one get started with web test automation using Selenium?

So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated ...
0
votes
1answer
553 views

Selenium : How can I scroll to an element in an iFrame

I have an element that is out of view when I am using Selenium within an iFrame. I have switched the context using Driver.SwitchTo.Frame("frame_id") and I am able to interact with elements that are ...
0
votes
2answers
82 views

Selenium Drag and Drop with non visible Element

I've got a problem with drag 'n drop with elements in lists which are not visible at loading. When I scroll to the element I can click it or move the mouse over it but I am not able to perform a drag ...
-1
votes
5answers
693 views

Selenium: Unable to automate file upload [duplicate]

Can someone please help me in automating file upload on this page- https://www.designerexchange.com/index.php/sell/quote I tried everything, but the file upload is very dynamic.
0
votes
2answers
351 views

Selenium IDE - Selecting an option from Popup Menu

I am new to Selenium IDE and not very good at coding.Trying to record few actions and selenium throws error. I would like to select an option from the Popup Menu. I tried all possible combinations. ...
0
votes
1answer
150 views

Selendroid - How to run test script?

Can I run test using selendroid when device connected using WIFI? Or I will have to connect device using USB cable and then test will run? I have created script just need help to run it.
3
votes
1answer
186 views

Include assertions/expectations within the Page Objects, yes or no?

Martin Fowler favors having no assertions in page objects however is not definitive on the subject: Advocates of including assertions in page objects say that this helps avoid duplication of ...
1
vote
0answers
188 views

Page Object Design: Is there a Javascript equivalent to Ruby gem “site_prism”

I'd like to know if there is a framework in Javascript (NodeJS) for Protractor which supports a clean way to define the Page Object Elements on a Page Object as site_prism does. I've already checked ...
0
votes
2answers
2k views

Selecting an item of a drop-down menu with Splinter lib (Python)

I am looking for a way to select an item in a drop-down menu in python with Splinter (very similar to selenium I guess) : <li class="option1" rel="1158"> Option 1</li> <li ...
0
votes
3answers
3k views

How to Retrieve the values from a drop down using selenium-WebDriver?

I am using below script to retrieve specific item from drop down but it's not working. Select salTitle = new Select(driver.findElement(By.id("s2id_QuickEnquiryForm_salutation"))); ...
0
votes
1answer
1k views

Using Allure framework with Selenium webdriver tests for better reporting.

I am using Selenium webdriver for automation. I have around 200 scripts ready and now i need a good reporting tool to generate reports. I recently heard about Allure framework, which is an open source ...
0
votes
1answer
480 views

How to output result of Javascript execution to console?

I was wondering if anyone could help me find a way to output to the Eclipse console the results returned from executing a Javascript ? These are the steps I manually perform (that I would like to ...
0
votes
2answers
122 views

Selenium find all elements without a class

For example, if I am on a product selection page, I would like to select all the elements that aren't sold out. <div class="item sold-out">Item One - Sold Out</div> <div ...
1
vote
1answer
96 views

Facebook updating profile picture using selenium webdriver

Using Selenium WebDriver I'm not able to click on update profile picture in Facebook. The html snippet is: <div class="_156p">Update Profile Picture</div> How do I locate the element?
0
votes
3answers
185 views

I can't close Fancybox using selenium webdriver

I have a problem closing a Fancybox using selenium Webdriver. On the fancy-box is a big "X" located for closing it (http://tinypic.com/r/2w3xq1f/8). This is the source code of the "X" closing ...
1
vote
1answer
161 views

Is Fitnesse only used as a acceptance test tool based on integration testing?

I have read a lot about Fitnesse over the last week. From what I have heard, Fitnesse is commonly used as an acceptance testing tool that relies on a set of integration tests, as mentioned at Agile ...
0
votes
1answer
425 views

Is it possible to use Selenium's RemoteWebDriver and Appium's AppiumDriver in parallel?

I tried asking this on StackOverflow but unfortunately I couldn't find a solution to this there. Then I learned about SQA StackExchange so I thought I'd try here too. I'm trying to write some test ...
1
vote
3answers
118 views

Selenium: Problem locating dynamic buttons

I have this problem with locating dynamic buttons. It's a search for ferries, and for example, outbound ferry is selectedDetailsRadio_1_4_1 and inbound is selectedDetailsRadio_1_4_2. These are fine ...
4
votes
1answer
1k views

How to clear localStorage using selenium and webdriver

I want to call localStorage.clear() before running a group of specific tests but the thing is I don't know how. I can see CLEAR_LOCAL_STORAGE variable mentioned here but still failing to understand ...
0
votes
1answer
2k views

How to run TESTNG failed test cases in jenkins for maven project?

I am new to jenkins and I have configured it on my windows PC. I have to run failed test cases twice before considering that they are failing. I am using TestNG and selenium webdriver for writing test ...
0
votes
1answer
151 views

integration of Selenium Java testNG framework with .net framework

I have designed a framework in java using selenium by testNG framework. My question is can we integrate the entire framework with C# .net framework (Another framework for same application using .net ...
0
votes
0answers
102 views

Selenium screenshots from chrome are mirrored

When using Selenium remote driver accessed via python, I'm seeing screen shots taken from Chrome are being messed up. The images are mirrored. Snapshots taken with IE9 work without issue. chrome ...
0
votes
0answers
324 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) ...
1
vote
1answer
236 views

how can i get all the dropdown values in a list

I want all the options which are there in a dropdown .I am using selenium + javascript to write the testcases Please let me know how to get all the options from the dropdown i know in java we can ...
0
votes
2answers
95 views

java selenium - ArrayIndexOutofBoundsException

I was wondering if anyone could help me out with this exception I've been getting. I have a custom class/object named MindsparkPartnerCode with two variables named ieFFCode & chromeCode. I ...
0
votes
0answers
194 views

QC REST API - To update the test status?

Can some one help me to update the test status in QC using the REST API provided by QC . So that i can use it for updating the test status after executing my Junit tests. Thanks Vineeth Varghese
0
votes
1answer
33 views

Why would StringUtils return the incorrect # of matches of a substring?

I am using StringUtils from the apache commons library to check the # of matches of a substring within the source code of an html page. I have converted the page source using the webdriver command: ...
0
votes
1answer
42 views

how to click the post button for the following?

how to click the post button for the following ? <input class="k-button" type="button" style="width:90px;font-weight:bold;font-size:13px" onclick="Post();" value="Post">