How to launch an application using firefox plugin/extension? - firefox

I am developing a firefox extension using XUL.I am able to create a button. Onclick of the button, I need to launch an application(eg:notepad). How can this be done?
Please suggest.
Thanks in advance.

nsIProcess is your friend for this.
See these references:
how to run a .exe file in xul application?
http://dalelane.co.uk/blog/?p=511
Keep in mind that a plugin may be installed on a non-windows platform..

Related

Selenium upload for MAC

I am learning Selenium Java Automation Testing. But I'm having trouble using AutoIT to upload files. As far as I know, AutoIT only supports Windows and not MAC, so you know which plugin should I use to upload for MAC? Help me, please, thanks so much!
No, AutoIT is not supporting Mac, and it's for windows.
Don't click the upload button.
you can set the filename on send_keys() and then click on the upload button
element = driver.find_element_by_id("fl_element_id");
element.send_keys('/your/Path/to/file.csv');
driver.find_element_by_css_selector('div#fl_element_id span[name=upload]').click();

Not able to click on AXImage

I am working on a Xamarin.Mac Application. Where I want to click an image using Appium test automation.
The driver doesn't seem to be able to click on an AXImage. Is there any known workarounds for clicking on them?
Added the capabilty MobileCapabilityType.FORCE_MJSONWP as true and it worked for me. This is a work around in java client.
[W3C] Does not support sending keys to active element for Mac

Redirection to Application when link is clicked?

How to add support to the application If click a link it should open the application for example I'm using Flipkart Application I shared a product Link to my friend if he clicks that link it will open the Application and the product which I shared I need this functionality for Windows Phone 8.1. If any help will be appreciated.
Thanks & Regards,
Harish Kinthali.
You will need to use a custom URI to open your app, explained here.
So you could register myappname:// to be handled by your app, then on a website (or in another app), if the user clicks a link starting with myappname://then it will launch your app.

Webpages with ActiveX-Controls in Firefox [duplicate]

I have an application which uses ActiveX controls. I want to automate this using Selenium IDE. But when i launch the application i end up in an error message "Turn on you ActiveX control". Is there any way to enable ActiveX in FireFox?
Note: I am using User Agent Switcher(as IE7) Addon of firefox to run my application.
No. Firefox doesn't support ActiveX.
"ff-activex-host" worked for me. It uses different tag, but otherwise seems to work on both firefox and chrome.
You can look around the MediaWrap extension for firefox. It is supposed to add transparent ActiveX support to Firefox.
I am not sure it already works with firefox 3.6 though and there are known limitations.
Maybe you can give it a try.
Jerome Wagner
Try this: MeadCo's Neptune.
Or this: IE Tab.

Conduit Toolbar and Windows Application

I have a button inside of "Conduit Toolbar". "OnClick" I need to launch MyApp.exe (if the application already installed) or to open download page...
I know that if it was my own toolbar then app launching and other things are easy!
But I must use this ##%#ing "conduit".
I'm looking for any help (code/links/pictures...)!
I gave up!
We just made a little http server that starts on windows startup.
And now I can send from toolbar any message to localhost and let the server do the rest.
I hope this answer will be helpful for somebody.

Resources