0
votes
0answers
24 views

Java code for selecting date from Calendar pop-up

How to select date from calendar pop up? There's a text field which is in disabled mode. When you click on the calendar icon at the corner of the text field the calendar pops up which displays the ...
0
votes
1answer
27 views

Getting org.openqa.selenium.WebDriverException: SyntaxError: missing ; before statement

openqa.selenium.WebDriverException: SyntaxError: missing ; before statement when i was trying to set a value for div tag using java script and selenium webdriver. I am getting a value that is present ...
0
votes
0answers
43 views

Count number of redirects using Selenium Webdriver

I am using Selenium and Webdriver to verify that a webpage or a URL has certain element present for example a drop down box. However I have seen that on landing on certain page,it gets redirected to ...
0
votes
0answers
18 views

Using selenium WebEngine to get .js file content (when saved .js file is in pagename_files folder)

I need to parse page. I couldn't find element I need in html source, but found it in .js file. When I save page with firefox(and choose complete webpage) it is stored in pagename_files folder. I want ...
1
vote
1answer
69 views

Selenium RC skips onclick() event after click on element

I've got problem I can't deal with. I've tried to search answer in google, tried few things but it doesn't work any way. Here is the problem: I'm testing a log in page, where I type in login, ...
4
votes
3answers
117 views

How to mouseover on a hyperlink - Webdriver

I am using Selenium Webdriver for my project. I have already automated the code to mouse over on an image, which is done successfully. But, some how I could not mouse over a hyperlink with this code. ...
-2
votes
3answers
71 views

How to create random cell number for testing purpose [closed]

I have to create a random cellnumber 07939393914 for automation testing purpose. Last 079393(5 digits) digits should change randamly.. each time test runs.. Can any one suggest JAVA code for this ? ...
1
vote
1answer
148 views

Selenium Javascript executor returns null

I have this java script code returning null when ran through Selenium Javascript Executor. However, the same code when ran in Firefox developer console returned a value. function tmp(){ var attrb ...
0
votes
3answers
98 views

Selenium Webdriver - Element not found Javascript Generated Menu

I have this menu that is Javascript Generated. I already tried to locate this menu using xpath but there is an error 'NoSuchElemetFound'. My goal here is to press the menu generated by javascript or ...
0
votes
0answers
12 views

Where to find tutorials or documentation which will help to execute javascript using Selenium WebDriver?

Just for learning purpose, I'm trying to execute JavaScript through Selenium WebDriver and find it documented here But there are only 2-3 examples of JavaScript codes. Could someone point me to ...
0
votes
1answer
91 views

How to change value of element via JavaScript with Selenium webdriver .NET

I'm trying to test a popup page with chrome webdriver and selenium2 using .NET, but I'm having issues. I need to change the value of an element after it's window pops up. I need to chage the default ...
3
votes
4answers
189 views

scroll the a growing page to the bottom

I have a page. when I scroll it manually, it grows and then I can scroll it again and again until the scroll arrives to the bottom (a good example is a facebook timeline page). I try to write: ...
5
votes
1answer
103 views

Getting AJAX content loaded when scrolled with Selenium Wedriver

I am using Selenium WebDriver to get the content of a site. (Note: the site has no API. Wish it did.) The site uses AJAX to dynamically load content when the user scrolls. To get that content, I've ...
2
votes
1answer
94 views

How to get ajax added contents on web page using selenium webdriver?

I have written a code to scrap some information from one of the website. For scrapping purpose i am using Selenium Webdriver. Now my problem is, there are some information present on one the page but ...
0
votes
2answers
54 views

parse HTML javascript to JAVA using selenium

I am trying to get the value of h1 as a string using selenium. Here is the HTML javascript- <script type="text/javascript"> $(window).load(function() { var $windowHeight = ...

1 2 3 4 5
15 30 50 per page