Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
1answer
27 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
0answers
18 views

Selenium Webdriver - Develop a script to pass a URL to browser in your phone

Need to develop a selenium script which can pick a URL from an excel sheet and should send it to browser which are present in android/iOS phones on a single click ?? Is it possible ? Can anyone ...
0
votes
0answers
32 views

Automate Outlook using Selenium Webdriver

Want to automate Outlook using Selenium Webdriver ? Is it possible and if yes then any links/docs that i can refer for this ??
0
votes
0answers
10 views

Handle HandHeld (Scanner) in selenium WebDriver

From Webpage i need to scan one image using scanner(External Device through Wbservices), How to Handle this case?
0
votes
1answer
26 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
40 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 ...
0
votes
1answer
24 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
2answers
17 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
46 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
32 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 ...
0
votes
2answers
33 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 ...
0
votes
1answer
39 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
0answers
54 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
0answers
25 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
24 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
31 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
55 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
35 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
25 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
0answers
10 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
22 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"> Replay as soon as ...
0
votes
0answers
10 views

how to run a test script in a different browsers by using selenium webdriverjs and mocha framework

I'm new to webdriverjs , please help me how to run same single script in multiple browsers one by one by using the selenium using with javascript + mocha framework
2
votes
3answers
116 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: ...
1
vote
1answer
90 views

Where does the “helper” method get placed within a test script?

I'm new to automation, and programming, for the most part. I have a test script where I have to verify the presence of certain elements within a page I am testing. At the moment, I have multiple ...
0
votes
1answer
68 views

How to test Image carousel

I would like to test an Image carousel using Selenium C# An example of the type of the type of carousel can be found here: http://bxslider.com/ Maybe the test could click on the next image, assert ...
0
votes
0answers
48 views

got stuck in reusing the parameters value using testNG in selenium

I got stuck at one scenario where i want to get the values from the excel that contains 12 rows for four type of actions. i meant the first column of the every row on the sheet determines my methods ...
0
votes
2answers
71 views

Not able to click in Selenium Webdriver. Getting a NoSuchElementException

I got my code ready in Selenium IDE and exported it to Selenium Webdriver (JUnit 4). My code was working perfectly in Selenium IDE but an issue has arose after my migration to Selenium Webdriver. ...
0
votes
0answers
34 views

Selenium Testing in Android Devices without USB connection

How can I do my selenium testing by opening the browser in android device from my PC, without connecting through USB?
0
votes
3answers
60 views

how to do automated testing on both front end and database [closed]

the testing includes front end GUI testing and database verification and some files verification under windows/linux. I know that selelnium can be used for front end GUI testing. what about the other ...
0
votes
3answers
68 views

How to open two firefox browsers using selenium? Closing one and then opening another with different URL [closed]

I am trying to close and then re-open the FF browser with different URL.
0
votes
2answers
89 views

Selenium WebDriver how to name each screenshot taken after a test based on the test name

I am currently using the following method to take screenshots after each test, and it works fine: @After public void takeScreenshotAtEndOfTest() throws IOException { File scrFile = ...
1
vote
1answer
68 views

Unable to open Chrome WebDriver in another language

I'd really like to write a Selenium WebDriver test that verifies text is localized. The localization code bases the strings it displays on navigator.language (or navigator.userLanguage for IE). I ...
0
votes
1answer
73 views

TimeOutException when trying to identify Dropdown Element in last iteration of For-Loop

I got stuck in for loop as the automation code is entering a loop that has few actions to be done like this: for (i = 0; i <= 2; i++) { // if(i==2)break; ...
1
vote
5answers
79 views

Selenium Webdriver get() shows intermittent TimeoutExceptions - how do I proceed?

I'm using Selenium Webdriver for testing a Django/Python based web application. I use both, the phantomjs and firefox drivers. We use django's LiveServerTest test case, which basically starts up a ...
1
vote
2answers
414 views

error Could not connect to Selenium Server. Have you started the Selenium Server yet?

At the first step after installing Selenium IDE, I recorded a simple test case, but I can't play this, because of this error: [error] Could not connect to Selenium Server. Have you started the ...
0
votes
2answers
65 views

stuck with picking up particular date in selenium webdriver

I want to select a particular date from the calender so I wrote this code with the help of other sources: WebDriverWait waitForDate = new WebDriverWait(driver,300); ...
1
vote
3answers
87 views

Selenium Webdriver - FindElement in scope of WebElement doesn't work

The FindElement() method doesn't seem to work with an XPath locator, if called on an existing WebElement. My code is this: htmlDiv = _driver.FindElement(By.XPath("//h2[text()='" + onvNaam + ...
0
votes
3answers
112 views

How to manage to learn Selenium, Jmeter on your own so that you could use it to your best knowledge on your new automation role

I arrived UK this august and was looking for jobs here into functional testing, but i have been called for an role which has functional testing, automation testing(Selenium), Performance Testing(J ...
0
votes
1answer
73 views

Selenium WebDriver - how to cleanly code with PageObjects in combination with By locators?

I'm using the PageObjectModel as I'm understanding it. The FindsBy elements are instantiated by the PageFactory (in the constructor) public class wizard_Uittreksel_Bestemmeling { private readonly ...
0
votes
0answers
35 views

ElementNotVisibleException on Mac, not Windows

I'm trying to get Webdriver in Python to click a cell in a table, wait for JavaScript to add an element into the cell and then click the element that appears which causes a dropdown to appear. We ...
0
votes
1answer
77 views

Selenium2 / WebDriver: How to click an <i> element in an <a> element?

I got stuck for the below code.it has an edit icon for which code are follows: <a href="#tradeModal" id="tradeModalEdit" data-toggle="modal" class="pull-right" style="margin-left: 12px;" ...
1
vote
1answer
64 views

Wrap specflow scenario within try-catch

I have been running into a problem with the C# selenium bindings decribed here: http://stackoverflow.com/questions/22322596/ where a timeout exception is thrown occasionally while running my selenium ...
0
votes
1answer
80 views

How to set browser locale with chromedriver (Python)

I am trying to set my browser locale by doing the following options = webdriver.ChromeOptions() options.add_argument('--lang=es') driver = webdriver.Chrome(executable_path=driver_location, ...
0
votes
2answers
165 views

How to Implement Page Object and Page Factory Pattern in Selenium Webdriver?

I am a beginner in learning selenium Webdriver. I am not able to understand how page object and factory models works and how it can be beneficial? Kindly help me explain it with detailed explanation. ...
0
votes
3answers
118 views

Selenium (Java): Which IDE to use; Eclipse or Netbeans

For a new project i want to start automating tests using Selenium. I'm going with Java as the object that has to be tested is a Java application. In my company most people use either Netbeans or ...
0
votes
0answers
40 views

Selenium script for selecting any one of the users

I have added the code selecting anyone of the user but only first time it works so please help me with this. Stripe.com ...
0
votes
1answer
85 views

automating selenium 101

I'm just getting started with selenium: package selenium; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.logging.Logger; import org.openqa.selenium.WebDriver; import ...
0
votes
1answer
125 views

How to run data driven testing using testNG in selenium

I am using testNG framework and tried to import data from excel sheet in my local. If I run the code as simple java application then its running but with testNG its not public class NewTest { public ...
2
votes
6answers
241 views

How does a Manual tester become expert in automation testing in selenium?

How does a manual tester become expert in automation testing in Selenium? Please also explain where to start and how to start. I am also not good in Java but I have basic knowledge. I want to do ...
3
votes
2answers
157 views

What kind of test cases we can not automate in selenium webdriver - java

I want to know what kind of test cases we can not automate using selenium webdriver. I do not want to use any 3rd party tool (Autoit, etc..).