Selenium-Webdriver provides an API to control and communicate with web browsers.
0
votes
1answer
10 views
Selenium 2 in Java JUnit Test Error: Could not start a new session
I'm designing a website login test program in Java by using Selenium2.
When I run it in JUnit in NetBeans, error shows up: "testLogin(JUnitTest.LoginTest): Could not start a new session. Possible ...
0
votes
0answers
14 views
Replacing firefox driver with htmlunit driver
Hi can any please tell how to run this sample program with HTMLUNIT DRIVER INSTEAD OF FIREFOX DRIVER.
The below code had run successfully with firefox driver but did not run successfully with htmlunit ...
0
votes
0answers
22 views
Running webdriver related code in a JFrame
HI i am a java beginner and i have this serious problem for completing my project.
I wrote a code similar to example shown below for another site and unable to run that in a action listener of a ...
0
votes
0answers
11 views
Running Selenium via NUnit and Cruise Control .NET
I'm having an issue running Selenium tests in NUnit from Cruise Control .NET. I have a simple test that runs fine when I run from the NUnit GUI on our continuous integration server. However when ...
0
votes
0answers
18 views
How do I reliably check the current page after navigation in Selenium WebDriver?
In my web tests using Selenium WebDriver and IEDriverServer.exe 2.32.3.0, I need to check the title of the current page after navigating to a certain URL. Here's the code:
...
0
votes
0answers
19 views
capybara + selenium + rspec + element not found
I m using capybara + selenium + rspec to test my application. I have a page, none of whose elements are manipulated by ajax or javascript(hide/show/toggle). When ever i try to submit the form on the ...
0
votes
2answers
28 views
Selenium web driver error of Uninitialized constant Selenium::Webdriver
After executing script i am getting error "`': uninitialized constant Selenium::Webdriver"
here is my code
require 'rubygems'
require 'selenium-webdriver'
require 'test/unit'
class TC_Login < ...
0
votes
0answers
22 views
Selenium Web Driver:How can I include the details of emailable report of testNG in email using java
I have written below mentioned code to attach TestNG's emailable report in email using java.
Now I want to paste the details of emailable report in body of the email using java.Anyone having idea on ...
-2
votes
0answers
29 views
How to select the next date from the calendar using selenium webdriver
jQueryWebElement datePickerSelected = selenium.jQuery("text()='"+str+"'", picker);
Str has the string that is tommorrow's date. Picker shows the calendar.When am using Click(); function , the ...
2
votes
0answers
44 views
Why Java for Selenium? [closed]
Why is Selenium written in Java famous over other languages it support? I know that,
We have good support for Selenium with Java
Majority of Users use Java in today's market
Java is a platform ...
0
votes
0answers
38 views
Generic return type method: How do I avoid BOTH unchecked cast warnings and the need to cast the return value when calling the method?
I am building out a Selenium automation framework using the Page Object design pattern and I have a method that returns one of three page types. They all extend SecuredPage, which extends Page. I am ...
-1
votes
0answers
23 views
selenium - can't select a file (tried send_keys and JavaScript execution)
I'm using selenium, Firefox 21 and Python bindings. I've got a problem with automating access to this site:http://bips.u-strasbg.fr/GPAT I can't send file name to the input_file:
<input ...
0
votes
2answers
30 views
How to quit webdriver, while browser already closed by application
I'm testing web application with Selenium Webdriver (IE). After signing off, application closes the browser, but quiting the webdriver cause crash popup for IEDriverServer.exe which hangs the flow.
...
0
votes
1answer
24 views
Trigger event on text field with WebDriver execute script
I have a text field that appends values to the dom once a user hits enter. I am having some trouble simulating this with WebDriver since driver.send_keys(:return) will just submit the form instead.
...
0
votes
1answer
27 views
Launch a batch file or a .exe from Selenium WebDriver
I need to launch an executable, directly or by starting a batch file from selenium that will open a Browser application.
Anyone knows if Selenium WebDriver provides this capability. This question has ...
0
votes
1answer
37 views
Test Highcharts with Watir Webdriver
i'm writing Ruby in Watir webdriver and i would like to test highcharts accuracy of data presented in comparison of a CSV file (which i already read). How can i read the highchart data from the ...
0
votes
0answers
20 views
Disable flash in saucelabs/selenium webdriver?
I am trying to use saucelabs to automate taking screenshots of several sites to make sure that changing code doesn't break things. I'm programming using webdriver for python and need to disable flash ...
3
votes
0answers
38 views
CSS is not displayed in Selenium WebDriver
I have a really strange error. I wrote a JSF-webpage. The page functions as expected if I test it manually in Firefox. But, if I try to test the site with Selenium(FireFoxDriver), the site looses its ...
0
votes
0answers
14 views
HtmlUnit: Get UnexpectedPage after downloading a file
I need to download different files in different pages with htmlUnit webDriver. I cycle on the pages and for every page I click on a input field to trigger the download.
For the first download, I click ...
-1
votes
0answers
20 views
How to scroll element using selenium webdriver
I want to scrolling element using selenium-webdriver Ruby
I have calendar where three div(Month, day, year) and each div content some other div of day, month and year.
I have to scroll month by ...
0
votes
0answers
24 views
Parallel execution in Selenium testcases in testng
I tried to run my Selenium scripts in parallel and configured my TestNG suite as
<test name="Test" parallel="classes" thread-count="3" preserve-order="true">
This runs my test cases in ...
-4
votes
0answers
32 views
How to scroll down the element using jquery on console [closed]
I want to scroll month, year and day by selenium-webdriver. If anyone can scroll month, day and year using Jquery on Browser console then it will also fine. My aim is to scroll month, year and day.
0
votes
1answer
28 views
implementation of selenium as webCrawler
I am writing a web crawler via Selenium in java. Previously I used libraries like jsoup and HtmlUnit to make them but recently I ran into trouble with javascript and ajax dependent pages.After doing ...
0
votes
0answers
41 views
IE9 is unable to recognize any of the objects when using Selenium Webdriver 2.33.0
Code is working fine when using Firefox or Chrome Driver. I am facing this issue only when using IE. Prt of my code is mentioned below:
My code looks like:
import org.openqa.selenium.By;
...
0
votes
0answers
21 views
Change the default chrome download folder webdriver C#
i want to change the default download directory of the chrome. I did go through the different argument listed in the following url
http://peter.sh/experiments/chromium-command-line-switches/
and
...
0
votes
0answers
18 views
While printing values from DataPicker, it is printing twice in WebDriver with Java
WebElement datePicker=driver.findElement(By.id("ext-gen86"));
List<WebElement> dpRows=datePicker.findElements(By.tagName("tr"));
List<WebElement> ...
0
votes
1answer
37 views
Executing Junit/Selenium tests from a web page
I am looking to run my Selenium Junits through a web page(jsp). I can create a simple jsp form , but not sure if my jsp can call my junit. I want this web page to be accesible to other people in the ...
-4
votes
1answer
17 views
import org.openqa.selenium.WebDriver*; import org.openqa.selenium.firefox.FirefoxDriver;
Anyone one help the below error occur to run selenium web driver.
import org.openqa.selenium.WebDriver*;
import org.openqa.selenium.firefox.FirefoxDriver;
0
votes
1answer
43 views
Unable to Download csv file using werbdriver + java
I need to downlond csv file from my application. In my application there is table which contains rows and on right click of that row it display download option , on click on of that download it ...
0
votes
1answer
16 views
Selenium ChromeDriver do no start on linux
Im trying to run my tests in junit, but im encountering the following error:
>org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid ...