Forum Discussion

Oferv's avatar
Oferv
Super Contributor
15 years ago

can't understand object recognition

Hi,



when trying to identify an object i'm getting the following line



NameMapping["Sys"]["Process"]("msiexec", 2)["Window"]("MsiDialogCloseClass", "AUT", 1)["Window"]("Button", "&Next >", 1)



my question is why do i see ("msiexec", 2) while there's only one 1 msiexec window open?does the 2 is the index in this case?



thanks

1 Reply

  • Ofer,


    As far as I know, msiexec is a Windows Installation process. When you launch an installation program, there can be several msiexec processes in the system. One of them contains windows for interacting with the user while the others don't have windows and perform some helper actions, for example.


    You are right about the index. In your case, 2 is the index of the msiexec process. TestComplete uses it to distinguish this process from other msiexec processes.