Automated Testing tools for HTML5 Canvas [closed] - automated-tests

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm looking for a tool to do some automated GUI testing on a HTML5 canvas component we're developing. Basically I'm looking for a tool that is able to record the clicks and events on the canvas component and is able to replay those events.
So far most of the testing tools like Telerik WebUI Testing Suite, Selenium, TestSwarm, qUnit, Jasmine, Hudson seems that they don't fully support HTML5 canvas testing.
Would you guys know a testing tool that already supports that? If not, would you know how companies are doing automated testing of HTML5 canvas?

In Telerik Test Studio latest release, we have added support for many of the HTML5 tags like Canvas, Audio and Video tags. All the HTML tags are accessible using code and are under the:
ArtOfTest.WebAii.HtmlControls namespace. You will find HTML5 controls like:
HtmlCanvas, HtmlAudio, HtmlVideo, HtmlMeter and all the expanded HtmlInput types like HtmlInputEmail, HtmlInputSearch..etc.
For the HtmlCanvas, you actually have access to the 2D Context of the control. So you even manipulate it and can do things like:
HtmlCanvas.Context2dRotate(), HtmlCanvas.Context2dTransform()...etc.

Related

How to use Blink to scrape webpages with javascript calling encrypted or obfuscated json? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
It is understood from Mr.Avik Sengupta youtube video on NLP, that:
a) HTTP.get(url) cannot be used to scrape web pages that uses javascript to call encrypted or obfuscated json.
b) Blink can to be used in such cases.
I am new to Blink and coulldn't find any useful documentation/exmple in this regard!
Please guide me in using Blink to scrape such webpages.
It is JavaScript not jsp
If you are new into subject try first Selenium (it should work via PyCall). There are several great tutorials for Selenium and going through them will allow to understand web driver architecture
Once you have experience with Selenium, the Blink documentation at https://juliagizmos.github.io/Blink.jl/latest/communication/ should be quite obvious. You will basically need to navigate to a web page and than use JavaScript to obtain its elements.
Last but not least - for this type of projects always check whether scraping is legal and ethical in your use case.

Using CSS outside of the browser [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there a way to use CSS outside of the browser? Let's say I wanted to use it on creating desktop apps for Windows, Mac OSX or any other operating system.
Yes CSS is Often Used Outside of a Browser
Yes. When people develop with apps such as React, we use CSS and SCSS just like you would on a webpage.
Below is a sample of using CSS with React using JavaScript
Your question is very unspecific regarding e.g. the programming language you want to use. There are a lot of frameworks out there used to create desktop frontends. Some of them also use CSS-like notation to define their look, such as JavaFx.
But if your target is to create a webpage that runs in both browser and as native desktop app, I guess the best way is to run a browser engine inside your app.
Edit to answer your comment: It's not dependent on the programming language but related to the framework you use. Every framework works a bit differently here but some use the CSS notation. But as StackOverflow is not the place to ask for a list of frameworks I would recommend you to do some research on your own.

JavaFX: Rotation based slider/selector (Radio-Knob) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I was playing around on the JavaFX Scene Builder 2.0 today, and noticed that the rotation options for various controls have a circular 'slider'.
Image: http://i.imgur.com/kE6N7Xo.gif
I really like this, and I want to use it in a small project I'm working on, but I don't think it's a standard javafx control. It looks as though it's been designed to fit the look and feel of JavaFX, and being that it's part of a piece of software developed by the guys behind Java, I would assume it's got to be somewhere!
Do you know whether this is included in the standard javafx libraries? I'd rather not have to make it myself if I can help it!
Thanks for your help!
SceneBuilder 2.0 is open source with a 3 clause BSD license (which is liberal as far as the licensing spectrum goes).
You can find source for the "RotateEditor" control in this bitbucket mirror:
RotateEditor.java
RotateEditor.fxml
The SceneBuilder source is split into two parts - the SceneBuilder application and a separate support library called SceneBuilderKit. If you download the source from bitbucket and compile the SceneBuilderKit, you should be able to use the RotateEditor (and a bunch of other features that SceneBuilder provides). I'm not sure if you will be able to use it directly in your application without modification or if you will need to make some small changes to successfully integrate it.
Build instructions for SceneBuilder are on the open-jfx wiki, but you probably not need to build the whole of JavaFX to get what you need.
If the RotateEditor is not in the ControlsFX project, you could consider re-packaging it and donating it to ControlsFX as it would be nice to have such a control in a dedicated controls library.

Anyone know a good tool for validating XHTML/CSS offline? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'd like to find a command-line tool for Linux that will validate both XHTML and CSS. As silly as this may sound, I'd like it to be able to operate offline.
HTML tidy is a great tool for X/HTML validation
There is a Windows GUI available for tidy.
Tidy's sourceforge page is here.
For plain-old XHTML or XML validation you can use any XML editor with a validator. Or a simple tool like xmlstartlet.
The W3C's CSS validator is also available for download
This tool claims to do offline CSS validation
HTML Tidy is the defacto tool for this.
I'm a big fan of Tidy: http://tidy.sourceforge.net/.

Open Source Alternative to ASP.NET Commercial Uber-Grids [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
The company I work for uses an ASP.NET grid component from a commercial vendor, but won't upgrade the buggy old version we have to a newer version because of cost. Are there open-source alternatives to these Uber-Grids that we could take advantage of?
I'm specifically looking for hierarchical drill-down capabilities. I know there are some Javascript library plugins (stuff for jquery UI, etc) that could be used, but I would prefer a server-side control given the current coding conventions at my employer (server-side controls whenever possible, javascript when nothing else will work :-P )
Grid Wrapper Control using ExtJS http://www.codeplex.com/ExtJsExtenderControl
Check out the DEMO page for the grouping feature, not sure how many levels you can go in though.
Try this opensource project that extends ASP.NET GridView : http://johnsobrepena.blogspot.com/2010/01/coolgridview-new-release-resizable.html
Fixed column header, footer and
pager
Scrollable content
User-resizeable column widths (new!)
Maintains scroll position and column
widths after a postback or callback
(new!)

Resources