Forum Discussion

heidi_n's avatar
heidi_n
Regular Contributor
11 years ago
Solved

Why does the same test fail for me but not other users?

I am running the same test on the same VM as other users, but it fails for me and not other users. How could this be? We remote into the VM from our workstations.

 

In the test, we get a confirmation pop up "Do you want to delete this item?" and click Yes. It passes for other users with the settings in the first screenshot, but I had to change it to the settings in the 2nd screenshot for it to run for me.

screenshot_1.png

screenshot_2.png

 

Why could this be? Any insight would be appreciated! We need this to be the same for all of us...

 

Thanks!

  • @Tanya @Ryan We found out this was because I was on Windows 7 and my other users were on Windows 8. We can count this question as resolved, but thank you for your help, I really appreciate it! :D

7 Replies

  • Hi Heidi,

     

    TestComplete identifies the button as a mapped object in one case (2) and as a button of the TMessageForm in the other case (1). It makes sense to check the mapping criteria used to map the button in the NameMapping editor. Also, please check the permissions of the both accounts you use to login into the system. Your tested application should be launched under the same account as TestCompete.

     

     

    • Ryan_Moran's avatar
      Ryan_Moran
      Valued Contributor

      Looks like you have the supporting extension disabled. Notice the first screenshot it is recognized as a VCL control and the second it's a generic dialogue box. Go to File > Install Extensions > Desktop > and make sure Delphi and C++ Builder Application Support and VCL Control Support are both enabled.

      • heidi_n's avatar
        heidi_n
        Regular Contributor

        @Ryan It looks like that setting is checked.

    • heidi_n's avatar
      heidi_n
      Regular Contributor

      @Tanya @Ryan We all log into the machine as a Local Admin account (Windows 7). We all have the same permissions in the program we're testing. And I think we all have the same permissions in TestComplete since TC doesn't ask us to log in or anything.

       

      I'm stumped how it's recording differently for me than everyone else. 

      • Ryan_Moran's avatar
        Ryan_Moran
        Valued Contributor

        When I say "run as admin" I mean if you right click on the Test Complete shortcut/exe and select Run as Administrator does this resolve the issue for you? This is not the same as being a local administrator if you have UAC enabled in Windows 7.

  • heidi_n's avatar
    heidi_n
    Regular Contributor

    @Tanya @Ryan We found out this was because I was on Windows 7 and my other users were on Windows 8. We can count this question as resolved, but thank you for your help, I really appreciate it! :D