I am a novice and am trying to work with Sikuli. Can Eclipse be used to code with Sikuli? - sikuli

Can sikuli be integrated with Eclipse to write code?

If I enter sikuli eclipse into google, the first result is this page: http://doc.sikuli.org/faq/040-other-ide.html which explains how to use Sikuli in Eclipse. I used this guide myself and found it no problem to get it to work.

Related

Running and Executing a python file from an HTML/local page

I was wondering if anyone knows a way to run python programs with HTML/JavaScript? I am strictly wanting to execute a python program by clicking a button from a simple webpage and my python code runs. I am not wanting to display my code on the site.
Using HTML I have tried:
<html>
<h1>Button</h1>
<p>Click Here</p>
</html>
This only takes me to the source code of my .py file. Is there a way to make this execute like an .exe file?
I have seen this method but not sure if it works:
http://wiki.qt.io/Packaging_PySide_applications_on_Windows
Please let me know if this is doable. Maybe I need to use JavaScript?
ADD: I am using Python Version 3.6 and Spyder as IDE with XAMPP installed as well
Thank you!

Cordova File Download and open it using cordova

Please forgive my ignorance, Any advice/directional assistance would be greatly appreciated.
I have a small app that reads data from an API with json requests.
One of the actions the app needs to do is to download a given PDF and open it either in the app, or in the OS default viewer.
I have followed several guides, but I think I am not including all needed files or something. The guides don't speak of including files of any type, but I still get errors.
In this link for example I followed the steps, but I am getting an error when I add these two lines in to the script at the bottom of the page:
var fileTransfer = new FileTransfer();
console.log(FileTransfer);
When running that I get the error Uncaught ReferenceError: FileTransfer is not defined at employee_documents.html:102
I am sure that either i am not including the files correctly in netbeans or I am missing something simple...
Any advise would be greatly appreciated.
To answer the question specifically. In order to solve the error, you need to run the cordova app using the CLI. In that way, the plugins installed from your cordova will be used otherwise if you're only running it via refresh or something similar it will produce an error like this.
In other words, type this command in your CLI:
cordova run browser
You can change this to your preferred platform (android, ios)

NativeScript Directions plugin using nativescript

I'm pretty new to app development scene and I am starting my journey with nativescript. For my first app I'm trying to implement a googlemaps api in my app.
But when i try to run the demo that's included with the plugin or try to implement it into my app, I keep getting the same error (the pictures below).
I've got no clue what the cause of it is and can't find any solution to it.
Has anyone had the same problem or can anyone clarify what the source of the problem is?
A sincere thank you in advance
Problem
I keep getting the following errors.
source of plugin
"https://github.com/EddyVerbruggen/nativescript-directions"
Seems like you haven't done a full build since adding the plugin, only livesynced changes. Try readding the platform folders and do a "tns run ios/android".

Assign HTML IDs with SmartGWT

I asked some questions about the scLocators, but I still don't manage to get something working with selenium. So there is an idea :
"How can I say to smartGwt : Attribute an ID in HTML".
I tried ensureDebugId("myId") but I don't know why, in my webapp I can't even find this ID.
I tried setId("myId") but it's the same, I can't see it in the HTML code generated. I'm totally lost in this project. Can someone help me ? :/
=> Using : maven, selenium web driver (htmlunit), gwt, smartgwt.
=> For : Unit testing client side of a web app.
Any help is Appreciated.
This approach is a dead end, it will not work.
Go back to the Automated Testing overview in SmartGWT's JavaDoc, and the Selenium user-guide.html in the SDK (in the "selenium" folder).
If you're having trouble with Selenium:
consider getting a 3.1d build from smartclient.com/builds since we've added yet more documentation since the 3.0 release
ask questions about the Selenium approach, because again the approach you're trying now won't work

Problem using Appmobi XDK!

plz anyone can tell me how to open our project at Appmobi XDK. i am facing a problem that i have install it but its not allow me to open projects. when i tried to open my project a message comes unable to open a project.
now i need your help guys.
Thanks
The very first thing you need to do is to go to xdk.appmobi.com (in google chrome) and download/install our xdk. (Need Java installed also)
During the install you will need to set a default appmobi directory. This is where your app files will be stored.
Create a new app from within the XDK. You can then click the edit the source code button in the tool bar to edit your code. Here you can update the file with your own code.
You can check out a video that explains the xdk at http://www.youtube.com/watch?v=MWV8kOJlGmc Some things might have changed visually with the current version of the XDK, but essentially its the same.
Some things have changed/moved around the screen since we made the video, but essentially its functionally the same.
Check it out as it will give you tips/how To's to using the XDK.
Also, posting in our forums (forums.appmobi.com) will get your questions answered sooner!