1 Reply Latest reply: Jan 21, 2013 1:56 AM by POPS. RSS

    Browser Preferences

    982269
      Hi,

      It is possible to change the browser preferences in OATS. But is it possible to have FF set as the preference for one script and IE set for the other? If so how?

      Please help ASAP.

      Thanks.
        • 1. Re: Browser Preferences
          POPS.
          Hi,

          You want to run one script with IE and another with FF?

          Before browser.launch();, you can change the browser type using the settings.

          To launch FF:
          browser.getSettings().setBrowserType(BrowserType.Firefox);

          To launch IE:
          browser.getSettings().setBrowserType(BrowserType.InternetExplorer);

          Thanks
          -POPS