History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SEL-378
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jean-Charles Meyrignac
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium

Javascripts errors

Created: 21/Nov/06 09:19 AM   Updated: 21/Nov/06 09:19 AM
Component/s: TestRunner GUI/Suite Loader
Affects Version/s: 0.8.1
Fix Version/s: None

Original Estimate: 0.08h Remaining Estimate: 0.08h Time Spent: Unknown
Environment: Firefox 2.0 + Windows XP SP2


 Description  « Hide
I force the Javascript console to log all possible warnings.

In selenium-browserbot.js, function PageBot.filterFunctions.name, there is a:

if (elements[i].name === name) {

which generates a LOT of warnings, because almost all my HTML elements have NO NAME.
Solution:
        if (elements[i].name && elements[i].name === name) {

In selenium-testrunner.js, function form.createHiddenField, there is a:
 input = document.createElement("input");

which is syntactically incorrect, since the input variable will become global.

Solution:
 var input = document.createElement("input");



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.