Forum Discussion

ys_chee's avatar
ys_chee
Occasional Contributor
12 years ago

Property Checkpoint not focusing on text box

While working on the Property Checkpoint, I encountered a problem. The problem I faced is that when aiming at a textbox, the red border doesn't encompass the textbox, but rather, it encompasses the whole window.



I will illustrate two examples of what I meant, in the two pictures I attached to. One of them is using Google Mail on Firefox, while the other is using a FoxPro-based program.



So the question I am going to ask is, if the program doesn't aim for the textbox or control (but rather, the whole window), is there any way to make it so that it will take the data found in said text box?



Thanks for reading.
  • By some reason the TestComplete does not "see" the internals of mentioned applications. Maybe you have modified process filter setting, or you have Standard edition of TestComplete that have limited functionality. Can you aim a textbox in Windows Notepad Font settings dialog?
  • ys_chee's avatar
    ys_chee
    Occasional Contributor
    After the message was sent, I decided to download a plugin that enables TestComplete to work with FireFox, so that's fine for the time being.



    However, for that FoxPro-based program, I did not manage to get it to work, even though some other types of FoxPro programs could work. Not certain if there's anything I could do about it, so I would like to ask again on how to cause it to enable the Property Checkpoint focus for the FoxPro-based program..



    Thanks for reading.
  • ys_chee's avatar
    ys_chee
    Occasional Contributor
    I followed your tip, and found out that it works for me for the most part. Now I can aim the picture in the textboxes and other properties, although there are some things that either didn't work or contains some oddities.



    If you want to know some of them, look at the attached pictures for info. Picture one shows that the window behind the one I am aiming is highlighted, while the other picture shows that a certain property isn't even highlighted (the darker shade of the tab is where the mouse cursor is).



    Thanks for the advice.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Edwin,


     


    Using MSAA means that TestComplete accesses objects via the IAccessible interface implemented by application windows. Sometimes, windows don't support this interface. As a result, TestComplete cannot see child objects of such windows. Please refer to the "Using MSAA With Windows That Do Not Implement IAccessible" article to learn what you can try next.