JavaScript is a dialect of the standardized ECMAScript programming language, primarily used for scripting web-pages.

learn more… | top users | synonyms

10
votes
3answers
2k views

What are some tools for fuzz testing?

Fuzz Testing as defined by Wikipedia is: a software testing technique, often automated or semi-automated, that involves providing invalid, unexpected, or random data to the inputs of a computer ...
7
votes
4answers
1k views

Headless Functional Testing For Your JavaScript Web App?

JavaScript is everywhere right now. With the advent of jQuery and other associated JavaScript frameworks it's amazingly simple to add very powerful user interactions to web sites and web applications. ...
5
votes
2answers
539 views

Behaviour Driven Development with JavaScript

Are there any approaches and tools for driving the development of JavaScript with BDD. I know that I can do this through the UI with tools like Selenium, but is there any tool that can allow this to ...
5
votes
2answers
113 views

Is there some published JavaScript with a list of 'interesting' test strings?

I went looking on the Google for a simple JavaScript object or other bit of JS code that can deliver a list of strings that are interesting for testing. I thought there would be a billion hits, but I ...
3
votes
2answers
2k views

iOS UIAutomation UIAElement.isVisible() throwing stale response?

I'm trying to use isVisible() within a loop to create a waitForElement type of a function for my iOS UIAutomation. When I try to use the following code, it fails while waiting for an element when a ...
2
votes
6answers
857 views

Which automation tool needs JavaScript or JQuery to be used more?

I have started off my career in manual testing and an automation tool rarely. I would like to concentrate more on automation testing. I believe I have the object-oriented concepts in a good manner. I ...
2
votes
5answers
6k views

WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?

Is it possible to inject a jQuery script into a page if the page isn't already using jQuery? We have a few pages in our sites where we don't add jQuery if it doesn't need it, but I'm using it to ...
2
votes
1answer
646 views

Is there a way to disable a JavaScript function of the tested application from Selenium WebDriver automation project?

I need to disable a particular JavaScript function of the main application for which I am creating automated tests using Selenium WebDriver. Is there a way to do this?
2
votes
1answer
981 views

Inconsistent results when capturing javascript errors with WebDriver

I'm using a technique I found here, to capture javascript errors for testing purposes. It's a technique that is frequently recommended on Stack Overflow for those who need to catch JavaScript errors ...
1
vote
5answers
175 views

Lightweight load & performance testing frameworks

Which lightweight load and/or performance testing frameworks could you recommend? some considerations: Configuration with not too much coding (some JS would be okay) command line + text editor ...
1
vote
1answer
864 views

Selenium IDE Store variable in Javascript of Page

I am attempting to inject Javascript directly into a page in order to set a variable for the page. I am still rather new to the IDE and I have seen the runScript function and I think it does what I ...
1
vote
1answer
238 views

Access the DOM of a PDF using WebDriver and FireFox's built-in PDF viewer

I'm trying to use FireFox's built-in javascript PDF viewer with WebDriver so I can access the DOM of a PDF. However, FireFox has an Adobe plugin which takes over and displays the PDF. Whatever ...
1
vote
2answers
2k views

split stored value using JS in selenium IDE

I am trying to use js split in one of my tests. I need to store a url and save the last part of the url in a log file. I have stored the url successfully but I can't get the slit to work. So far I ...
1
vote
0answers
42 views

Someone added a JavaScript alert() to my site [closed]

I went to my site to notice that as soon as I go to it, 2 seconds later an alert(1); pops up. It only shows the 1. After 1 -2 clicks of OK, it redirects to another site. How could this have ...
1
vote
0answers
334 views

Handling Alert box on page load [closed]

Is there any way to identify the JavaScript alert box (on page load) in selenium IDE? I used commands like "storAlert", "assertAlert" etc. But selenium not identifying alert box.
0
votes
2answers
73 views

Accessing a sub menu within a sub menu using Webdriver with python on IE8

I have been trying for a while to complete this task. For context, I have a link called with text "Main Menu" along the top of the page, that when hovered reveals a list of more links. These links ...
0
votes
1answer
84 views

What are some typical javascript, HTML and AJAX issues that I should write test cases for?

HTML rendering, Javascript and AJAX plays an important role in the development of modern web applications. How significant is JavaScript when designing test cases for a website that uses it? What ...
0
votes
0answers
16 views

Unresponsive scripts search

I am searching for tool or rules set for searching of unresponsive (or slow) scripts(I guess JS in most cases). Of course it could be browser dependend, coz some unresponsive script in firefox work ok ...
0
votes
1answer
79 views

How to access a dynamically created element

I am using Watin to test a website. It contains a div which is created dynamically on clicking a tablecell. How can I access the dynamically created div. The issue is the div is deleted after a short ...
0
votes
1answer
478 views

SeleniumIDE Issue - js alert() is not detected by IDE

SeleniumIDE Issue - js alert() is not detected by IDE These steps will reproduce the problem: Open http://www.w3schools.com/js/tryit.asp?filename=tryjs_alert2 Click on the "try it" button The ...
0
votes
0answers
293 views

Framework for testing Dojo

I need to automate tests for Liferay portal with portlets on JavaScript. I am going to try several frameworks before implementing tests. For now, I am considering D.O.H. and Selenium Webdriver. ...