Forum Discussion

dsanghamitra's avatar
dsanghamitra
Contributor
11 years ago

Issue with the Combo box object - Test complete 9

 

We use Test Complete(9) for our test management of all the products for many years.   I would like to get your support on the below issue that we face recently.

 

While capturing  using display spy icon to capture the object for Combo box, the exact value is not displaying for the combo box(message colored in green)

 

One such eg is as below,

 

Sys.Process("Product").Window("TfmAt32Main", "Product64  XE5 64 bit", 1).Window("MDIClient", "", 1).Window("TfmViewPat", "Register", 1).Window("TPageControl", "", 1).Window("TTabSheet", "Name", 5).Window("TGroupBox", " Details ", 2).Window("TADBComboBox", "Not in-use (cbGenCode)", 4)

 

This is a 64 bit application developed using Delphi XE 5.    Request your support to address this.  Please let us know if you need additional info on this.  Thank you

9 Replies

  • Hi Sanghamitra,

     


    Did I get it right that you used to access the combo box items through this object? Is it possible that your developers have recently changed this form somehow?


     

  • Hi Tanya,



    Using the same application in 32 bit application mode, we are able to deduct the combo box text

    but in 64 bit application mode we are not able to deduct the combo box text.

    Can you please suggest us any other means of deducting the combo box text







    Sanghamitra

    Senior Software Tester
  • Hi Tanaya,



    Can you please give some other ideas so that we can try.







    Sanghamitra.
  • Hi Sanghamitra,

     


    TestComplete doesn't recognize your application correctly - there should be VCLObjects instead of Windows in the Object Browser.


    According to the information from the "Testing Delphi Applications - Overview" help topic, TestComplete 9 officially supports Embarcadero Delphi XE2, XE3 and XE4 (including 64-bit Delphi applications). However, your application was built on Delphi XE5.


    The only way to test the application is to update to TestComplete 10, which supports this IDE version.


     


    BTW, the fact that you can get the text from the 32-bit version is a bit strange. However, I'm pretty sure that TestComplete doesn't recognize the app correctly, as well (via the VCLObjects objects). Can you check this?


     

  • Hi Tanya,



    Test complete 10 is supporting for XE5.Will it support after XE5 versions like XE6,7,8.......? Can you please suggest us as soon as possible?



    Thanks,

    Sanghamitra

  • Hi Tanya,



    One more issue just want to post here regarding Information message and Confirmation message in XE 5 with Test complete 10.

    Testcomplete 10:

    Confirmation message Object-

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



    Information Message



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







    Instead of the above mention Object is there any option to get  like the below mentioned Object?

    Sys.Process("MT32").Window("TMessageForm", "Warning", 1).VCLObject("OK")



    Please do the needful to resolve the same.
  • Hi Tanaya,



    For the above mentioned issue, if we are personalize our computer by changing the Theme Windows 7 Basic to Windows Classic then Test Complete 10 captures Information message/Confirmation message/Warning message correctly as earlier

    For example:

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



    So please can you suggest us is there any option in Testcomplete 10 to apply the theme?





    Regards,

    Sanghamitra