Kantu create HTML autorun page - kantu

I'm trying to create HTML autorun page from Kantu on Firefox. However, I'm getting this error every time:
To run test suite from HTML file, you need to enable "Allow access to file URLs" in the extension details page
Can anybody tell how to enable this access on firefox? I'm using Kantu version 3.7.2

Html Autorun file only runs macros.As far as I know firefox can access files without permission.
file:////path/to/html_autorun.html?direct=1?macro=?Macro_name&closeKantu=0&savelog=kantu_log.txt
Sorry for formatting by the way.

Related

Why does my electron app display the source code in the browser window?

I made an electron app, and when it opens, it shows the actual contents of the php file (it's not just php, there's html of course). I was wondering how I can get it to display the html in the browser window and not just the source code of it.
Edit: I just fixed it by making it an html file and not a php file, but is there any way to make the electron app execute php code?
In Short. No.
Php needs a php interpreter which is part of a large number of web servers, whereas Electron is using Node.js - a server side JavaScript environment. So there is no way I know of you can execute php in Electron. (Beside bundling a complete web server like Apache inside your Application, but that would take a lot of effort)

Unknown Format in feature testing rails capybara

I am writing capybara tests. There is a link I have in the view. When I click over the link that links open a pop-up js warning. I have configured Js. in capybara by using phantomjs and petergiest gem.
Without the requested information it's impossible to give an exact answer, but the error you are seeing means the app is requesting a non-JS response (probably HTML). This could be occurring for a couple of reasons
You're not actually running the test with a JS supporting driver. I don't see any js metadata on your scenarios so depending on how you've configured Capybara/RSpec this could by your issue. To confirm, swap from Poltergeist to using Selenium with Chrome or Firefox (non-headless while trying to debug) so you can see if the browser actually starts
You have a JS error preventing JS from running so a normal request is being made instead of XHR. This could be because you actually have a bug in your JS or because you're using Poltergeist/PhantomJS which is massively out of date in JS/CSS support. To test this, swap to using Selenium with Chrome or Firefox and look in the developer console.
Your link isn't correctly configured to make an ajax request - This is impossible to tell without the HTML of the link
Additionally, neither of the tests shown in your image are actually asserting/expecting anything so it's very unclear what exactly you're trying to test.

rubymine view html generated by erb rails

Is it possible to see the html generated by html.erb files within RubyMine? I know that I have been able to see the css.min generated by css, so there must be a similar option to be able to see the direct html generated by embedded ruby?
With your Rails server running you can right click a view template file in the project tree and select open in browser
But this is essentially the same as visiting localhost:3000/posts manually, e.g.
Rubymine can't render the view and make the necessary calls to the controller actions and database without the whole app running

Launching an application from a browser using HTML?

I have been asked by our iPad Admin. to create a link on our intranet that will open the application Filebrowser on student's iPads. Is there a way to code this in HTML or HTML5? No icon needed, just a link to open from browser (Safari) on the iPad.
I'm a novice coder, really a front-end designer who often has to find ways to code something so any help is greatly appreciated.
Generally no. See: How to run an external program, e.g. notepad, using hyperlink?
That being said, you can open a "file browser" when you click on an <input type="file" /> form tag, to browse and select a file for upload, but I gather that is not what you want.
You can also create a link to a local file, but you'll run into permissions issues. See: How can I create a link to a local file on a locally-run web page?

smartgwt offline-caching with no GWT module

I'm using Eclipse 4.2, appengine-java-sdk-1.8.9, gwt-2.5.1, smartgwt-4.0p
I'm trying make the simple project like this - http://uptick.com.au/content/create-gwt-project
but offline.
When I save page (as html page) it doesn't work offline and I receive alert - "GWT module may need to be (re)compiled".
My question is: how to change project to save it as html page (plus project_name_nocache.js file).
Thanks.
You might be getting this error message because you might be trying to run/debug your application in compiled mode. In order to do so, you need to re-compile your application for GWT after every single change in code.
To avoid this, you should run/debug your application in developer mode.
See this link, to have idea on how to run GWT application in dev mode.

Resources