Hi,
I need to automate a web based application that uses mozilla firefox browser and XUL as the webpage development language. Can Ranorex open a web page automatically using the chrome protocol? My requirement is to launch a xul page using chrome protocl and then start recording and then playing back the scripts.
e.g. Can I launch a firefox browser via Ranorex by typing a command similar to the following?
chrome://browser/content/browser.xul
Thanks in advance,
Rajiv
Usage of chrome protocol and XUL files
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Usage of chrome protocol and XUL files
Hi rajv_telang!
Basically with Ranorex you have the same abilities as a normal pc user.
If you want to open chrome protocol based websites inside the recorder(without compiling) you can navigate like a normal user: e.g. start button -> run... -> firefox.exe -chrome chrome://browser/content/bookmarks/bookmarksPanel.xul
Otherwise in code using the .NET framework:
System.Diagnostics.Process.Start("firefox.exe", "-chrome chrome://browser/content/bookmarks/bookmarksPanel.xul");
Regards,
Christian
Ranorex Support Team
Basically with Ranorex you have the same abilities as a normal pc user.
If you want to open chrome protocol based websites inside the recorder(without compiling) you can navigate like a normal user: e.g. start button -> run... -> firefox.exe -chrome chrome://browser/content/bookmarks/bookmarksPanel.xul
Otherwise in code using the .NET framework:
System.Diagnostics.Process.Start("firefox.exe", "-chrome chrome://browser/content/bookmarks/bookmarksPanel.xul");
Regards,
Christian
Ranorex Support Team
-
- Posts: 4
- Joined: Thu Oct 15, 2009 7:21 am
Re: Usage of chrome protocol and XUL files
Hi,
Thanks for your help. But in this case if I do record operations on web page contents of firefox, can I play that script back? Won't the firefox window in play back mode be out of context of ranorex script? (position/size of window?)
Please guide. Thanks,
Rajiv
Thanks for your help. But in this case if I do record operations on web page contents of firefox, can I play that script back? Won't the firefox window in play back mode be out of context of ranorex script? (position/size of window?)
Please guide. Thanks,
Rajiv
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Usage of chrome protocol and XUL files
I don't really know, what you mean by "out of context". Ranorex does not rely on screen coordinates, so the position and size of the browser window do not matter for replaying.
Regards,
Alex
Ranorex Support Team
Regards,
Alex
Ranorex Support Team
-
- Posts: 4
- Joined: Thu Oct 15, 2009 7:21 am
Re: Usage of chrome protocol and XUL files
Thanks a lot. I will try out the method and get back to you.