How do I detect if the image failed to load in Firefox or IE and I want to refresh the page using vbscript?
Firefox can't be remotely controlled via VBScript. What are you trying to achieve? For automating website checks something like Selenium might be a better choice.
Related
I'm testing something using Splinter / Selenium, using the Firefox webdriver.
I'd like to automate getting the browser into full screen mode. I've tried mozRequestFullScreen but it won't co-operate - I get errors about it not being triggered by a user event (presumably this is a security thing). Is there a way to run Firefox where it will allow this? Or a profile setting or something?
I’m building a PHP web application that runs only using Google Chrome. The organization would like to be able to access certain folders via windows explorer. This is easy in IE using the file:/// protocol but I can’t seem to find a good solution using Chrome.
I’ve looked into registering custom protocol handlers but haven’t really found the answer I’m looking for there. This requirement is grained in stone; they do not want to access the files via web browser.
Does anyone know if there’s a way to launch windows explorer from google chrome either through a special protocol handler or by temporarily launching IE to get the file path to open? A simple method or example would be greatly appreciated!
Thanks in advance.
I am trying to build test automation for toolbars built for Firefox browser.
I am wondering if Selenium WebDriver is the correct tool for the job.
Based on the documentation found on Selenium webpage, it seems that Selenium is built to interact with webpages and doesn't have the capability to interact with browser components (a toolbar for example.).
Please correct me if I am mistaken and if possible provide the name of a tool to automate toolbar testing if such a tool exists.
try this Sikuli .
This can be used with your selenium test cases.
One choice for Windows is White automation framework.
For instance, how to start work with White, take a look at my answer: How to validate a messagebox popup in c#?
I'm currently working on a project that renders emails in HTML format to a Silverlight 5 app. The app is intended to be viewed via a web browser and not an 'Out of browser' app. The WebBrowser control was initially used, but I'm having issues with it. A message stating that IE needs elevated permissions and such. After reading how to properly implement the WebBrowser control by signing the .xap file and installing certificates it seems to work when I run it locally, but when I publish to the server (Windows Server 2008), it doesn't seem to work.
I tried to implement an alternative I found -> http://blogs.msdn.com/b/delay/archive/2007/09/10/bringing-a-bit-of-html-to-silverlight-htmltextblock-makes-rich-text-display-easy.aspx, but that didn't seem to work as the HTML I'm trying to render has many tags not supported in that example.
I also took a look at the Frame control http://msdn.microsoft.com/en-us/library/system.windows.controls.frame(v=vs.95).aspx but not sure if that would solve my problem either.
So if anyone can guide me into the right direction of either how I can get the WebBrowser control to work when pushed to the server or perhaps another alternative it would be greatly appreciated.
I need to automate a task to pull down a set of web pages and process the HTML. Before someone suggests using wget or curl, I need some JS to execute to change the DOM.
I'd like to script Chrome or Firefox to fetch the HTML and render the JS without actually spawning a visual interface. I haven't been able to figure out how to do this.
Does anyone have any suggestions?
Use Selenium RC.
Selenium Remote Control (RC) is a test tool that allows you to write
automated web application UI tests in any programming language against
any HTTP website using any mainstream JavaScript-enabled browser.