Forum Discussion

Ravik's avatar
Ravik
Super Contributor
9 years ago

How to launch Browser as a different user in TC

Hi,

 

I want to launch Browser (IE) as different user for performing testing with different user account.

 

 

  • Hi All,

     

    I found the solution -

    Added Browser in Tested app and tried below code, it's work for me.

     

    Call TestedApps.iexplore.RunAs("DOMAIN", "User", "Password")

  • Ravik's avatar
    Ravik
    Super Contributor

    Hi All,

     

    I found the solution -

    Added Browser in Tested app and tried below code, it's work for me.

     

    Call TestedApps.iexplore.RunAs("DOMAIN", "User", "Password")