Forum Discussion

ashishnagpal26's avatar
ashishnagpal26
Contributor
9 years ago

Want to open a web browser while using Test complete for Desktop Application

Hi Guys , 

 

I am using Test Complete to test a desktop application but I need to open a web browser while testing the Desktop application is it possible ? 

2 Replies

  • Ravik's avatar
    Ravik
    Super Contributor

    Yes, it is you can open web browser while using Test complete for Desktop Application but you have to installed TC web module.

     

    You can use code like below -

     

    Browsers.Item(btIExplorer).Run("www.google.com")

    or

     

    Set IEBrowser=CreateObject("InternetExplorer.Application")

    IEBrowser.visible=True

    IEBrowser.navigate ("URL")

     

    or

     

    IF Browser added in Tested App

     

    TestedApps.iexplore.Run()