Forum Discussion

krishnapuli's avatar
krishnapuli
Occasional Contributor
7 years ago

Testcomplete is identifying objects when Outlook opened through Run as admin option

Hi All,

 

I need to open outlook and automate .Testcomplete is not identifying objects only when we open outlook Through "Run as Administrator" Option.When outlook is opened normally,Tc is identifying objects.

 

Help on this is appreciated.

3 Replies

  • karkadil's avatar
    karkadil
    Valued Contributor

    You have to run TestComplete using "Run as Administrator" as well. In your case, TestComplete has lower privileges than Outlook, but they should be the same or TestComplete should have higher privileges than tested application.

    • krishnapuli's avatar
      krishnapuli
      Occasional Contributor

      Hi,

       

      Though i opened testcomplete "Run as admin" stills its not identifying objects.

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        What if you add Outlook as a Tested Application into your test project, then start TestComplete as an administrator and launch Outlook using TestedApps functionality ?

        Does it help ?