I am evaluating Sahi for automation. My requirement is to automate a web application that is static and based on Html and JavaScript.
I tried to record the test but it did not happen.
file:///C:/Automation/welcome.html
But Sahi doesn't record it. I saw on [url]http://sahi.sourceforge.net/using.html[/url] site that only ##Keep "Use the same proxy for all protocol" unchecked as Sahi does not understand protocols other than HTTP##
Does File:// or other protocols support is not been provided yet?
Please let me know is there any alternative Sahi provides for such requirement?
I could not find it on any forum, please help.
Thanks
Please use a webserver to open your pages and then access it through Sahi.
Sahi will not able to automate pages with the file protocol.
You can use WAMP or XAMPP server in your system, and then put the html file in the local server directory and after that you can access your html page by http://localhost:port/welcome.html and then you can use Sahi Pro for recording and playback.
Instead of WAMP or XAMPP, you can use EasyPhp too.
Related
I am currently making a Roblox plugin and I have created a help button. However, I want to redirect users to a webpage (let's say, example.com). Through all of the API pages that I browsed through, I could not find anything. Is it possible to do so? And if so, how do I do it?
As of January 2023, this is not a supported use case for developers.
There are a number of adjacent features that are close but really don't work for what you're going for :
The plugin object has a function to OpenWikiPage() but this is only for internal documentation.
HttpService
is unable to launch any non-http protocols, so you cannot use it to
launch an external program either.
GuiService has a deprecated, internal function OpenBrowserWindow(), but only CoreScripts can use that.
There's now a BrowserService with the function OpenBrowserWindow(), but similar to GuiService, this is only for internal use.
The only workaround I could imagine would be to fetch the contents of the page and display it in a TextLabel, which supports Rich Text.
I have a backend module for my extension which allows the user to upload images to certain records.
So far so good. But just uploading images from the desktop is not enough.
I've already searched on the internet, the TYPO3 API and it's extensions but couldn't find anything helpfull.
This is not possible, sorry - the API is not meant to be used in the FE
I am working on a web application that needs silent printing (without print dialog box) with client side printer.
After some research we found that we can make it work using ActiveX and Foxit Reader.
Currently it works great but it constraints us with IE only and we want to make it work with Firefox and Chrome as well.
I know there is no direct code to make it work, but there must a work around?
What I need is the point to start e.g. Chrome/Firefox plugins to access local printer - or make windows service that runs in background in the client side, change browser settings, use ActionScript etc.
It will also be great if someone also illustrate how Facebook access local webcam from its website it may make about accessing clients peripherals from website. Thanks in advance.
For anyone who still wants information regarding printing on Chrome and/or FireFox without the use of ActiveX, extensions or client-side scripting, please see my answer to another question similar to this.
We have an application that is built exclusively in dev mode using the embedded jetty server that comes with GWT. We also host on jetty.
There are a number of pages we use for development only to do things like simulate SSO requests, view emails that were sent through the system, and check what files are uploaded.
When we try to link from these pages into a GWT page the problem becomes that &gwt.codesvr=192.168.0.101:9997 is not included in the URL and we get the error message "GWT module 'YourApp' may need to be (re)compiled". Obviously I can paste in "&gwt.codesvr=192.168.0.101:9997" manually but is very annoying. Does anybody know of a way to detect you are in the embedded Jetty dev mode server and auto generate links to have the correct "&gwt.codesvr=192.168.0.101:9997" added on?
Try this solution: https://stackoverflow.com/a/9122167/970308
I've updated this bookmarklet. It isn't perfect, but makes it quick while developing.
I suggest you create a Filter which will simply redirect you to an address with &gwt.codesvr=192.168.0.101:9997 as soon as you navigate to the one of the "development pages". If codesvr parameter is specific for each developer, each developer will have to set it in some cookie and filter will simply take this value from cookie.
I've seen some websites using the .phdo extension.
I googled for it, but I've found no conclusive result.
Is it a proper technology or just a synonym of .php ?
The only pattern I could find with this extension is websites based on Pheedo technology, and the Pheedo website seems to be written in PHP.
So it may be the Pheedo platform that uses this .phdo extension