Forum Discussion

Oferv's avatar
Oferv
Super Contributor
12 years ago

How to execute url

Hi,



we are using TeamCity to get the last build via browser.

If i'll type the following line http://welles/repository/download/bt11/.lastFinished/Installers/xxx.msi in a browser I'll get the last created build.

My question is how can i launch a browser and tell it to run this line in order to get the last build?



Thanks

3 Replies

  • Oferv's avatar
    Oferv
    Super Contributor
    solved




    //Get the MSI

    function GetMSI()

      {

      var IEObj; 

      // Creating IE instance 

      IEObj = new ActiveXObject("InternetExplorer.Application");

      // Making IE visible 

      IEObj["Visible"] = true;

      // Navigating to the page 

      IEObj["Navigate"]("http://<SERVERNAME>/repository/download/bt11/.lastFinished/xx/xxx.msi");

      }