Forum Discussion

ChrisPro's avatar
ChrisPro
Contributor
9 years ago

Problem with FIREFOX portable

Hello,

 

In order to do a test, i have to use a FIREFOX PORTABLE, but there is the following message :

According to the specified parameters, the required browser is: Mozilla Firefox (x86) This browser was not found on the current computer, or it is not supported
 TestComplete is corectly updated and my version of FIREFOX PORTABLE is 37.0.2.
 
When i list browser with following code, it is not present :
function ListBrowsers()
{
  var browser;
  
  for (var i=0; i < Browsers.Count; i++) 
  {
    browser = Browsers.Item(i); 
    Log.Message("Browser " + aqConvert.IntToStr(i) + " : " + browser.Description);
  }
}
 
Where is the problem?
What is the solution?
 
Thanks.

5 Replies

  • As I understand Firefox portable does not register itself in the system in any way, so TestComplete cannot find it.

    You can add it as Tested App, run it in your script using something like TestedApps.firefox.Run() and after that all the other things should work as usual (using Sys.Browser("firefox") object).

    • ChrisPro's avatar
      ChrisPro
      Contributor

      Ok, but what is the methode to navigate :

        Sys.Browser("firefox").Navigate(...)

      ?

      • dganov's avatar
        dganov
        Staff

        After running Firefox the Sys.Browser("firefox").Navigate(...) method should work. Have you tried to run Firefox using TestedApps?