Forum Discussion
Hi Kevinkleint,
As you are testing a Visual C++ Application, first of all, you need to check that the application was built along with debug information that TestComplete requires to get access to some properties and methods. Refer to the Preparing Visual C++ Applications for Testing ( http://smartbear.com/viewarticle/69672/ ) article to learn how to do this.
- kevinkleint11 years agoContributor
It looks like I can detect down to the individual cells (Image 2) in the Listbox (Image 1). I guess what I'm asking is, from the attached screenshots, can you tell me if I have access to all the properties that I need in order to work with the control? And if so, can you tell me how to use Test Complete to manuever, detect and work within the control?
I'm sorry, I'm quite the newb when it comes to working with these Listboxes.
Thanks,
Kevin Kleint
- TanyaYatskovska11 years ago
Alumni
Hi Kevinkleint,
As a rule, it's possible to work with a listbox control in a way listed in the Working With List Box Controls ( http://smartbear.com/viewarticle/75560/ ) article. However, in your case, as you use the Text Recognition feature, you can see all listbox items in the object tree under Windows(“ListBox”). Thus, you can access the target item by using its full path.
- kevinkleint11 years agoContributor
Unfortunately, if the list item is not visible (ie: 35 rows down), then it won't be detected by Testcomplete ... that is, of course, unless there is some sort of "Find" functionality that I can use. Is there a way to do this?
Thanks,
Kevin