Tag Info

Hot answers tagged

6

Burp Suite would be worth checking out if you're fuzz testing web applications. As the name implies, it's actually a suite of different web security testing tools - I used it for the first time on Monday in a pen testing workshop and it seems like a tremendously useful tool. Burp Intruder is the tool used for fuzzing attacks - and here's a video tutorial ...


4

I recommend you try TestCafe. It is a web testing framework, using which you can run tests on remote computers and mobile devices, in multiple browsers and on multiple machines simultaneously. It also eliminates out of process browser plug-ins and provides wrapper-free access to DOM via jQuery or a browser's API. The built-in traffic analysis tool ...


4

In terms of UI automation, neither Javascript or jquery are used much at all. I don't know of any tools that allow you to write UI automation in Javascript, although I bet if you looked you could find some. Javascript and jquery are useful for unit testing or more advanced integration testing, but that doesn't sound like exactly what you were asking for. ...


4

In the company I'm currently working on, we tested out some testing frameworks out there, and we finally decided to go with Jasmine. This is what we found: JsUnit: This is one of the oldest unit testing framework, that was later being maintained by Pivotal Labs. But even they are using Jasmine now :P. JSpec: This is an RSpec like BDD unit testing ...


3

Selenium is not designed to play in this way. Still on Selenium you can run your own JavaScript functions. In this case you can try override function which you want to disable (e.g. function functionWhichYouWantToBeDisabled(){return null;}). In this way it not be disabled but removed/changed functionality temporally. All what I say is more in theory level, I ...


2

I haven't used it myself (although I plan to on my side-project when I get it to private alpha stage) but I think Hexawise would be able to do some of this. You can tweak the phasing parameters (2 pairwise, 3 pairwise, I think it goes up to 6) and it will generate values in certain ranges. This should be pretty close to what you're looking to do. You can ...


2

Apologies to all for duplicating this question. Turns out, that indeed, the failing script in question lives on a separate domain than the place where my error.js was being included from. So, it was indeed a cross-domain trigger of "same origin".


2

I would recommend you taking a look at Jasmine if you like BDD style testing/specifications. Seems to be growing in popularity as well. There are a couple of screencasts on using Jasmine available on the net so you should have no trouble getting started. Check it out at: http://pivotal.github.com/jasmine/


2

Does it have to be a JavaScript object? Do these help? http://www.allthingsquality.com/2010/04/some-strings-for-pasting.html http://www.allthingsquality.com/2010/04/general-input-tests-for-time-fields.html http://www.allthingsquality.com/2010/04/general-input-tests-for-listbox-fields.html ...


2

Here is a script which loads jQuery through WebDriver. I've been using it successfully for quite some time. Features: -- will not overwrite any existing jQuery instance. -- will not alter the DOM under test or pollute the global namespace -- cleans up after itself to avoid memory leaks -- waits for jQuery to be fully loaded before returning. -- takes an ...


2

I have very good experience with the open source FunkLoad for load testing web-applications. Has a test recorder (Uses proxy to record browser actions) Generates Python code as test (You can edit it with a text editor) Supports HTTP sessions and very complex scenario's (Login as users) Scales up to a large number of threads per CPU Has a great benchmark ...


2

I use PhantomJS to regression test the look and layout of Web Pages, it is written in Javascript. You might also want to look into CasperJS, PhantomCSS and dpxdt (developed by some testers at Google) which are all related. TestComplete generates code in JScript (equivalent to JavaScript), which is a pretty powerful functional testing tool. As mentioned ...


1

You can do a lot of this with JMeter, and it's free. The good thing about JMeter is that it is very commonly used and is also very powerful, so if/when you run into needing it to do more than the basics, it is ready for you to extend. There is a GUI interface that you can use with no coding and get most basic scenarios up and going, and you can use either ...


1

First: You need to remove the javascript{} part. The runScript option just accepts plain Javascript, no need for the extra syntax. Here is an example usage of the runScript (as seen in the Selenium IDE source tab): <tr> <td>open</td> <td>http://www.google.com</td> <td></td> </tr> <tr> ...


1

Sahi Web Test Automation Tool is a very good automation tool. It is based on javascript language, you can learn to use it quite easily and it can manage even more complex web application. I use the open-source edition and I can recommend it, especialy if you feel comfortable with javascript.


1

This worked for me (think setting 'pdfjs.migrationVersion' did the trick) FirefoxProfile desiredCapabilities = new FirefoxProfile(); desiredCapabilities.setPreference( "browser.helperApps.neverAsk.saveToDisk", "application/x-zip-compressed,application/zip,text/csv,text/CSV,application/octet-stream,application/pdf"); ...


1

Here is my extension method I am using with WatiN The parameter Browser – is WatiN’s browser object. And also, WitiN required to pass the JavaScript code as a single line. That is why you can see .Replace("\r\n", ""); in the code: public static void InjectJQuery(this Browser browser) { string injectjQuery2 = @" function ...


1

I haven't tested this, but in theory it should work. You can use javascript like this to load new js files into memory: var scriptElt = document.createElement('script'); scriptElt.type = 'text/javascript'; scriptElt.src = jsFile; document.getElementsByTagName('head')[0].appendChild(scriptElt); You would need to load all of the jquery javascript libraries ...


1

If your page reloads during waitForElement function execution then you have to refresh element by finding it once again. Try to use selector as parameter an not the element and use findElement function: function waitForElement(selector, timeout, step) { if (step == null) { step = 0.5; } if (timeout == null) { ...


1

Why do you want to do headless testing? Is it purely due to the environment (such as I want to be able to run some automated tests on a build server that does not have a graphical subsystem)? Regardless of the answer to the above, whatever solution you choose, the final target environment should shape your answer. For example, you could use the HtmlUnit ...



Only top voted, non community-wiki answers of a minimum length are eligible