Forum Discussion

krkarthik_info's avatar
krkarthik_info
Frequent Contributor
6 years ago

Sys.Process("rundll32") is not shown in object browser

Hello Everyone,

 

I am having a dialog box with two controls say Buttons Yes an No.

 

When I spy the buttons, testcomplete identifies it. But when I try to run as a test to perform Click action on button Yes, it doesn't click actually.

 

When I tried to debug, I figured out that corresponding dialog process is not listed in object browser. I assumed that could be the reason for not performing action on that dialog during runtime.

 

The process Full Name is 

Sys.Process("rundll32").Window("#32770", "ApplicaitonName", 1)

Can anyone suggest how to list this process in object browser.

 

Thanks in advance.

 

Thanks,

Karthik K R

  • krkarthik_info's avatar
    krkarthik_info
    6 years ago

    All, 

     

    I have upgraded my TestComplete version from 12.0 to 14.0, and with the latest version I am able to click on the buttons successfully and the dialog disappears.

     

    I am really not sure what was the problem with TC 12.0, luckily TC 14.0 helped me out of the problem.

     

    Thanks,

    Karthik K R

    • krkarthik_info's avatar
      krkarthik_info
      Frequent Contributor

      Hi Alex,

       

      I have included system processes as well. But the process rundll32 is not displayed in object browser.

       

      Thanks,

      Karthik K R

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        Under Tools | Current Project Properties | Project | Open Applications | Process Filter make sure the setting there is indicated to at least not exclude that process.

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi krkarthik_info,

    It looks like the original question was resolved. Feel free to give Kudos or accept a solution among the answers you got.

    Was the second question resolved as well?

     

    • krkarthik_info's avatar
      krkarthik_info
      Frequent Contributor

      Hi Tanya,

       

      Second question not resolved yet. Still the issue exists.

       

      Thanks,

      Karthik K R

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        If there is more than one Sys.Process("rundll32"), then it should have an index.  Sys.Process("rundll32", 2) and so forth.  You need to make sure that you are referencing the correct process before you try to click on the dialog.