Forum Discussion

vbushel's avatar
vbushel
Occasional Contributor
12 years ago

Wildcard URL doesn't work in Firefox.

Please, review part of code. I have to note from the beginning, that this code works fine with Google Chrome and IE and fails on Firefox 17 or 18.0.1. As well, it works with Firefox 15.




function Test1()


{


  Browsers.Item("firefox").Run("http://teamcity:81/login.html");


  browser = Sys.Browser();


  page = browser.Page("*");


  .......


}



As you can see, I use wildcard (*) to map current page.

However, it behaves wierd. During debugging, I set break point after the last statement and I can see that the object has the following property:

Sys.Browser("firefox").Page("chrome://crossriderapp11259/content/background.html")

Expected:

Sys.Browser("firefox").Page("http://teamcity:81/login.html").

May somebody explane me this?

5 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Vladimir,


     


    I agree that it's weird. What TC version are you using? Try TestComplete 9.20.


     

  • vbushel's avatar
    vbushel
    Occasional Contributor
    I use 9.20. But I already resolved it. It's because of some Firefox add-on.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Vladimir,


     


    Great news! Which add-on was it (if it's not a secret)?


     

  • vbushel's avatar
    vbushel
    Occasional Contributor
    I'm not sure, but it might be "Crossrider" extention or add-on.

    Prior to TestComplete, I evaluated number of applications, some of them require add-ons, so, probably, it was a result. :)



    Once I uninstalled and re-installed Firefox, it doesn't happen.