Forum Discussion

dsanghamitra's avatar
dsanghamitra
Contributor
11 years ago

Test Complete 10 Not detecting the Object using Windows 7 Themes (Basic mode) not working





Hi,

   This is regarding the Detection of the Object in Test Complete 10.



I am currently using Test Complete 10. Below are the scenarios for which I need clarifications.



Scenario 1:

   Windows 7 - Using Windows Classic

The Object is being detected properly without any Issue as mentioned below.

Sys.Process("MT32").Window("TMessageForm", "Information", 1).Window("TButton", "OK", 1).Click



Scenario 2:

  Windows 7: Using Windows Basic

The object is not being detected properly. This is detecting as different Object as mentioned below.

Sys.Process("MT32").Window("#32770", "Warning", 1).Window("DirectUIHWND", "", 1).Window("CtrlNotifySink", "", 7).Window("Button", "OK", 1)



Can you please suggest what is reason behind the changes between using Basic and Themes and how can we overcome this issue.



Regards,

Sanghamitra Das

1 Reply