Forum Discussion

anitha_lakshmi1's avatar
anitha_lakshmi1
Contributor
12 years ago

Cannot recognize few fields when spyed

Hi,



     I have some application, when I spy the textbox field from TC9,it does not show the textbox value in the properties. Is there any way to get the Textbox value . It is not WPF application. Should we add some plugin to recognise more properties from it.



The spyed object name is something like this :

Aliases.huygenspro.wndTkTopLevel2.Window("TkChild", "", 1).Window("TkChild", "", 1).Window("TkChild", "", 5).Window("TkChild", "", 36)



Please do the needful 



 Thanks and Regards,

Anitha
  • gid_216's avatar
    gid_216
    Frequent Contributor
    Hi Anitha,



    Try by adding the class name of that text box to MSSAA.

  • Hi Anitha,


     


    To see all available properties and methods of a control, make sure that the Advanced View mode is opened in the Object Browser, as well as showing hidden properties is allowed. Refer to the "Basic and Advanced View Modes" article to learn more about these two options.


     


    If you still cannot find the needed property/method, please post here the value of the ClassName property of the control. Also, let us know what kind of application you are testing (.NET, VCL, etc.).


     

  • Hi,  



        I am testing Huygens pro software. In that there are few parameters which could not be recognised by Testcomplete. It uses some Tcl Tk Commands. How can I woprk on it with Testcomplete.



    Please do the needful.



    Thanks and Regards,

    Anitha
  • Hi,

     I have tried both the options.  But still it is not working.

    Classname is not present for that particular field ,Iclicked on view more memebers also, but still I could not find class name.



    the name appears like this : 

    Sys.Process("huygenspro").Window("TkTopLevel", "Edit Microscopic Parameters", 1).Window("TkChild", "", 1).Window("TkChild", "", 1).Window("TkChild", "", 3).Window("TkChild", "", 29)



    WndClass is present in propertis.



    Please do the needful



    Thanks and regards,

    Anitha
  • Hi, I tried adding wndclass into MSSA, Still I could not get value of those text fields.

  • Hi Anitha,


     


    It looks like the window with the problematic objects doesn't support the MSAA technology. Have you tried to get access to the objects via native methods and properties of the window? Perhaps, this will be the only way to operate with objects.


    I would suggest that you contact our TestComplete Support team and provide them with a sample app containing the controls you want to get access to - they will investigate the app and give you some tips that you can use.