Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
1answer
23 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
29 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
41 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
62 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
47 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
20 views

Waiting to be used in selenium webdriver [on hold]

I know thread.sleep should not be used but only that solves my problem. Implicit wait does not. Why is it so? Implicit wait gives error No element found even if timeout time is increased.
0
votes
0answers
19 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
35 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
35 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 ...
-1
votes
1answer
44 views

Webdriver is pressing two buttons at the same time instead of waiting

I am using selenium webdriver latest version, I got stuck again, testing the code below: <a href="#tradeModal" id="tradeModalEdit" data-toggle="modal" class="pull-right" style="margin-left: 12px;" ...
0
votes
1answer
30 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
55 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
51 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
25 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
66 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
39 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
149 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
71 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..).
0
votes
1answer
50 views

How to make the opening of browser(all test in one browser) static in testng for selenium [duplicate]

I am using selenium and testNG framework for my project. Now what is happening is each class is opening up a browser and then run its methods, eg, if I have five classes, then five browsers will open ...
0
votes
1answer
26 views

selenium click stop working after several iteration

I have a test that clicks on a preview link > opens up a window and I do some sort of test in that newly open window. I then close that window and click on the preview link again and repeat. Let's ...
1
vote
2answers
54 views

Disable a pop up rendered in FF and not with IE

when testing with Selenium Webdriver, I'm getting an advertising pop up window with Firefox and not with IE. Actually this pop up is preventing me from doing many other tasks. Is there a way to ...
0
votes
0answers
39 views

How to modify testNG report in selenium java

I am running my script in java and getting the results in testNG. But in my application after filling up the form I am getting a confirmation alert message. I am able to read that alert message and ...
1
vote
3answers
80 views

How to ignore/accept/avoid SSLHandshakeException while trying to check for broken links?

I'm trying to verify if a link is throwing response code other than 200. Link that I'm trying to verify is https:// and after process has run, it throws this error -- ...
0
votes
2answers
64 views

Selenium: dealing with intermittent cases of element not found

Sometimes it works and sometimes it doesn't. I've tried implicit wait: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); I've tried explicit wait: ...
-1
votes
1answer
55 views

this is scenario to automate [closed]

a) Go to http://money.rediff.com/gainers/bse b) There will be a list of company names and their current prices listed in the grid c) Find any company say 'SPIC.' and then read the current share ...
0
votes
2answers
45 views

Button gets disabled and doesnot get clicked

I am using Selenium IDE to make a automation scripts. In my code there is a page where when i select some options the 'Next' button gets disabled for a while. I have used a 'pause' statement for the ...
0
votes
2answers
50 views

Button click not redirecting to next page in Selenium IDE

I am using clickAndWait for xpath=//button[contains(.,'Next')] When I click Find on Selenium IDE the button is found, but the script doesn't click on the button. The button has id = pmc_wizard_next ...
-1
votes
1answer
38 views

Selenium for MacOS Setup

I wanted to know if there is a good source for setting up Selenium in Eclipse on MacOS. I have MacOS 10.9.4.
0
votes
1answer
83 views

Want to learn Selendroid

I am a manual tester with knowledge in selenium webdriver but as I see that selendriod came in for mobile app testing. My question is What would be the best place from where anyone can learn ...
0
votes
2answers
63 views

Keys.ARROW_DOWN does not select an item in the 'Select Box'?

I have a select box which has 3 values in the drop-down. When i click on the select box and then further use click() on the value item , it works fine. but when i use Keys.ARROW_DOWN its displays the ...
0
votes
4answers
93 views

How to work with changing element id in the html code

I am working in a ERP where the elements id are changing/rotating randomly. so if I am writing a code to locate a id, next time I run the selenium code it gets me error as the id changes by that time ...
1
vote
2answers
139 views

want to scroll down page/form using selenium webdriver

I want to scroll down a page that is coming inside a form, not in the main page. I tried this code JavascriptExecutor jse = (JavascriptExecutor)driver; jse.executeScript("window.scrollBy(0,250)", ...
-1
votes
1answer
51 views

want to capture data after the search action using selenium webdriver

I am working on a erp application where I have to click on a 'search' button after which it will give me list of data . I want to automate that using webdriver. The search tab is empty before the ...
1
vote
2answers
114 views

How to verify whether selected item is exist in another page? (Ecommerce application)

I am trying to verify selected item is exists in another (Cart/Shopping Bag) page, for EX: I am buying one/many items from application and then I will move all the items to Cart/Shopping Bag, here I ...
3
votes
1answer
93 views

Mobile application testing

I am new to "Mobile application testing" and I googled and got appium and selandroid. I want to learn mobile application testing and I have experience selenium webdriver with java. Queries are: I ...
0
votes
1answer
90 views

I want to select the value from the dropdown

I am testing www.paytm.com In that I have filled in the mobile number but I am not able to focus and select the mobile operator which is present in the dropdown just after the phone number section. ...
1
vote
1answer
56 views

How to switch pop-up handler using selenium webdriver

I am working on a application that opens a form to fill up when i click on a button. I need to switch to that window , fill up the form and come out I tried this code Set beforePopup = ...
0
votes
5answers
64 views

Is it recommended to document how selenium automation tests are laid out?

The automation code I'm working with was written by several people before me. It's messy, complex, etc. There are barely any comments within the code. It takes me an extremely long time to figure out ...
2
votes
0answers
48 views

Selenium RC with Firefox portable (Windows)

I try to use Firefox Portable with Selenium from my Windows 7 OS but I'm having difficulty . So, I launch selenium RC server with the default folder profile of FirefoxPortable : java -jar ...
0
votes
1answer
26 views

Selenium support (native and its bindings)

As far as I am aware, Selenium is an active project that is being developed and heavily used. However, when I look at the defects list on their official site, it looks like there are thousands of ...
0
votes
2answers
70 views

Can you use javascript with selenium webdriver?

I want to automate a website with selenium web driver using javascript. I am good at Junit(java) but not an expert in javascript. please can anyone help me rewrite this little code snippet in ...
1
vote
3answers
85 views

Authentic Testing of Mobile Website

I'm currently on a project in which we've set up a test infrastructure for automated regression testing of the customer's website (that is, the desktop and mobile versions thereof). My question ...
1
vote
0answers
37 views

select_by_value causing odd issue with the DOM

I'm new to Python and Selenium testing so please forgive me if this isn't written right. I've been asked to look at the test that does a few actions on a form. The form has 2 text fields, a drop down, ...
0
votes
3answers
53 views

Test dropdown creation in several pages

Currently I am writing tests for a web application using Selenium, when a question popped in my mind. Since this is my first time with Selenium, I'd wish to have some help on it. I have to test the ...
0
votes
1answer
60 views

Couting browser windows opened by Selenium

Is there a way to get a list of opened browser windows using Selenium? I want to use this to count the number of open browsers within a test.
0
votes
0answers
53 views

Automate graphs using selenium

I am trying to automate the graphs using selenium but because these graphs auto generated It does not have any id.can you please help me out?
0
votes
1answer
115 views

Blurred screenshots with Selenium Webdriver

Please refer to the link to see what kind if screenshots I get - http://goo.gl/uDIyf3 instead of http://goo.gl/BQy1hI . Not sure what could be wrong here as the same code has been working for me on ...
0
votes
1answer
180 views

WebDriver Clicking button issue in IE 11

Have a suite of web-drivers tests that run in chrome and IE 10, but will not run in IE 11. The tests fail in IE-11 when clicking a button as the following action (a form popup) does not occur. I ...
0
votes
2answers
67 views

Sikuli wrapper for .NET..Unable to connect to the remote server

I am using a Sikuli wrapper for .NET (Sikuli4Net). Using an embedded jetty server, it exposes the core functionality of Sikuli for use within .NET projects. However, in Visual Studio, when I try to ...
0
votes
0answers
46 views

How can I prevent Selenium from dropping my session?

I'm trying to select values from a drop down on a page. There are multiple drop downs and the code seems to have no problem selecting the right drop down when given the correct identifier to choose. ...