I am a relative newbie to Sahi but I am finding that Sahi is a fantastic way to automate tests and then run them on a variety of browsers including Firefox, Chrome and IE. I am a little reluctant to include IE because it gives me the most problems when dealing with https sites. I haven't tried Sahi on a Mac, but I am confident that it will work there without too much difficulty. FYI. I developed an interesting pattern for moving through our website by having a script per page that "knows" how to recursively include the path it needs to get from any given starting page to itself. This is a work in progress because there are a lot of pages. I will be adding more smarts so that each page script will "know" how to test the page, including link testing and full page screen captures. Suggestions for the last - welcomed,
Think of variables (like objIE) as floating references or containers that refer to objects or numbers we want to manipulate. But before we get to use them, we have to declare, or Dim, them, which sets aside some memory for whatever kind of use we have in mind for them. To manipulate Internet Explorer as an object in VBA, we need to Dim the browser — either generically as an Object variable (an example of late binding objects), or more specifically as an InternetExplorer special object variable like we did here (an example of early binding objects).