Tagged Questions
0
votes
0answers
13 views
Selenese assertConfirmations not working
I am experiencing some weird intermittent issues with the selenese command 'assertConfirmation\verifyConfirmation'. All of a sudden, expected confirmations are not being generated, so both ...
0
votes
0answers
16 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
65 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, ...
0
votes
0answers
20 views
Editor.app object not found in the last version of Selenium IDE (2.2.0)
I had developped an extension for selenium which worked well except for the new version, the 2.2.0
I don't know why but suddenly it seems that the object "window.editor" is not defined anymore and I ...
4
votes
3answers
96 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.
...
0
votes
1answer
29 views
Accessing Javascript global variables from Selenium IDE
I'm using the latest Selenium IDE 2.2.0,
and I'm having trouble trying to access a javascript global variable that I set in my script.
This variable acts as a success flag, so I've put
Command: ...
0
votes
0answers
28 views
How to get Javascript stacktrace - JavscriptExecutor Selenium WebDriver
I'm using JavscriptExecutor to inject javascript into browser. The injected Javascript has custom error which I want to see in selenium when that error is thrown.
Javascript:
var testError = ...
-2
votes
3answers
67 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 ? ...
0
votes
0answers
18 views
Selenium: Java Script alert is confirm automatically but it shouldn't - program should stop on alert, but its not
I am trying to catch alert but my test completely missing it and keep working - without any errors. Alert seems to be handle somehow, see scenario below to understand the problem:
I create a test:
1) ...
1
vote
1answer
100 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
85 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 ...
1
vote
0answers
115 views
How do I access a dynamically added iframe using Selenium WebDriver?
I have a page that starts off without an iframe, and then via JavaScript gets an iframe added after clicking an anchor.
The problem I'm having is that when switching to the frame with ...
1
vote
0answers
11 views
Acceptance Tests of Draw2D
I am currently cruising through acceptence tests of an web-based app with Selenium and have hit a wall in a section of our code that utilizes the Draw2D Javascript Library. Since the code here is a ...
0
votes
2answers
70 views
Unable to execute javascript in onclick using selenium
Using selenium (with python bindings), I'm dealing with a webpage that is almost entirely AJAX; including hyperlinks. Instead of using the element.click() method, I wish to execute the javascript in ...
0
votes
1answer
40 views
Write a page that makes Chrome be “not responding”
I have been doing some testing against a JavaScript-heavy web application using Selenium WebDriver, where I encounter a Selenium-related problem when Chrome freezes.
However, if I want to reproduce ...