HTML Control IDs fallback to Name attributes
I've tried using different versions of XULRunner. Two of them work and two of them throw errors when using Auto login:
1.9.1.11 - error
1.9.1.16 - works
1.9.1.17 - works
1.9.2.14 - error
Using XULRunner 1.9.2.14:
Enterprise Edition 6.0.0.0
InvalidCastException - Unable to cast COM object of type'System.__ComObject' to interface type'Skybound.Gecko.nsIDOMNSElement'. This operation failed because theQueryInterface call on the COM component for the interface with IID'{F0AEF489-18C5-4DE6-99D5-58B3758B098C}' failed due to the followingerror: No such interface supported (Exception from HRESULT: 0x80004002(E_NOINTERFACE)).
at Skybound.Gecko.GeckoElement..ctor(nsIDOMHTMLElement element)
at Skybound.Gecko.GeckoElement.Create(nsIDOMHTMLElement element)
at Skybound.Gecko.GeckoDocument.GetElementById(String id)
atDevolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedFirefoxBrowserPage.SetElementValue(GeckoDocumentgeckoDocument, String controlId, String value)
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedFirefoxBrowserPage.FillAutoLogin()
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreWebBrowserToolBar.butAutoFillLogin_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
----------------------------------------------------------
Using XULRunner 1.9.1.11:
Enterprise Edition 6.0.0.0
InvalidCastException - Unable to cast COM object of type'System.__ComObject' to interface type'Skybound.Gecko.nsIDOMNSElement'. This operation failed because theQueryInterface call on the COM component for the interface with IID'{F0AEF489-18C5-4DE6-99D5-58B3758B098C}' failed due to the followingerror: No such interface supported (Exception from HRESULT: 0x80004002(E_NOINTERFACE)).
at Skybound.Gecko.GeckoElement..ctor(nsIDOMHTMLElement element)
at Skybound.Gecko.GeckoElement.Create(nsIDOMHTMLElement element)
at Skybound.Gecko.GeckoDocument.GetElementById(String id)
atDevolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedFirefoxBrowserPage.SetElementValue(GeckoDocumentgeckoDocument, String controlId, String value)
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedFirefoxBrowserPage.FillAutoLogin()
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreWebBrowserToolBar.butAutoFillLogin_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
HTML Control IDs fallback to Name attributes
Sure. I'm sending you one example of the two login pages I have trouble with. The other login page has a strict legal notice on it that I'll respect.
HTML Control IDs fallback to Name attributes
Oh, I was trying it using embedded Firefox and it doesn't work for me. I just tried using embedded IE (local version is IE9) and it works if I manually set the HTML Control ID variables to the values of the name attributes of the form in question. However, it seems the "Discover" function doesn't work in either embedded Firefox or IE when the id attributes of the inputs are not defined.
HTML Control IDs fallback to Name attributes
I've been using the Web Browser session type and many web login forms don't include id attributes for the user/pass/button input fields. It would be nice if the HTML Control ID variables of the Auto login feature also worked for form input name attributes as a fallback. This way, if input elements for a login form don't have id attributes defined, the fields could be referenced by their name attributes instead. Then Auto login would still work for these forms.
Thanks,
KTB
Keepass integration
Whoops, I mistakenly thought I installed the latest version from here: http://remotedesktopmanager.com/remotedesktopmanager/Home.aspx/Download
But apparently I have 5.9.0.0 installed. I probably downloaded this copy from another site prior to today. And I was just about to download the Beta posted in this thread. I'm glad I asked.
The plugin is loaded (I already updated to KeyPass 2.14 from 2.09 when I saw the error message you mentioned).
Thank you for the assistance. This support is impressive. Have an excellent day!
-KTB
Follow up: Everything is working great now.
edited by ktb on 3/2/2011
edited by ktb on 3/2/2011
Keepass integration
I'm attempting to get this working following the instructions here (http://remotedesktopmanager.com/remotedesktopmanager/Support.aspx/Keepass).
I'm on Windows 7 (32-bit). I have RDM installed on my main drive (C). I have my KeePass database open and running off a flash drive. I have the DLL files (RemoteDesktopManager.Connector.dll 5.9.0.5 and RemoteDesktopManagerPlugin.dll 1.0.0.1) in the KeyPass folder. Yet I don't see an option for KeePass when I open "Edit->Add->Credential Repository." Does this plug-in not work if running KeyPass off a flash drive? Do I need a different version of the plug-in?
I forgot to add.. I'm using KeePass 2.14.
edited by ktb on 3/2/2011
FTP - Open Session (Prompt for Credential)?
I just purchased a license for RDM. I like it so far. However, I'm hoping a feature can be added that will allow entering the password when launching an FTP session.
I use a Yubikey (with one-time password configuration) for authentication to one of my FTP servers so I'm unable to keep a password value saved in any application (RDM, Filezilla, KeePass, etc...). The username could be saved in RDM, but not the password or neither. Right now, launching an FTP session for this server from RDM simply results in failed connections since the password hasn't been saved in either RDM or Filezilla and I am not prompted for it by RDM or Filezilla. Maybe there could be an option to disable auto-login for FTP or have a function for the greyed-out "Open Session (Prompt for Credential)"-option when using FTP? What is the likelihood of a feature like this being implemented?
Clearly, this isn't essential and I didn't buy RDM with FTP functionality in mind. I could simply keep using an FTP client alone for these connections, but I was fond of the idea of being able to manage all my connections from within RDM.
Thank you for your time,
KTB
edited by ktb on 3/2/2011