Forum Discussion

dominic_pampalo's avatar
12 years ago

Picker tool problem with DevExpress controls

Hi all,



We are trying to implement the automation of our software.



There seems to be a problem with the finder tool. Every time I try to add a verification point (any of them) on a button that sits in a toolbar, the finder is unable to detect any of those buttons but rather selects the entire tool bar. (see attachment for visual).



We are using some DevExpress controls and I was wondering if anyone ever had that behavior and if there is a way to resolve it.



In addition, I tried the picker tool from LUA and I get the same result.



Any help will be greatly appreciated and the sooner the better becaus I am running the Demo version and if it can be resolved, I will be able to push a PO for it.



Thanks.

4 Replies

  • AlexKaras's avatar
    AlexKaras
    Community Hero
    Hi Dominic,



    Usually, the more information is provided about the problem, the higher the chances to get exact answer to the it. With the generic question like "something does not work for the DevExpress control" the one who likes to help with the problem must guess first if you are testing web or desktop application and what control gives you a problem. Is it an original control or modified/wrapped-up by developers, etc.



    TestComplete has a great and very detailed documantation that is really worth reading.



    What was suggested by Tanya was:

    a) First, figure out if the problematic control is supported by TestComplete; and

    b) Try to map control to supported one if it is not supported by TestComplete or was modified by developers.



    If you have problems with following procedures described in the recommended help topics it will help if you let us know what exact steps caused you the problems.
  • dpampalon's avatar
    dpampalon
    New Contributor
    Thanks Tanya.



    Not sure how exactly I can do what you asked me to do. Can you send me a step-by-step procedure without all the blah blah?



    Thanks.

    Dom
  • From my experience:


    • Make sure you use a version of your app with debug info saved. Warning: That can swell your app size up to 10x, depending on the app complexity. I think debug info can be extracted and saved in an external file too, but I am not 100% sure. Otherwise a lot of DevExpress objects can be non-transparent to TestComplete...


    • Once you make sure that you do use a version of your app with debug info saved (embedded or external), try exploring the "parent" object a little more, and see what it has inside (properties, methods, sub-objects etc). Maybe what you are looking for can be obtained from a sub-object, property, or method (often you have to nest them a few levels deep too to get to what you are looking for). The object browser is an excellent tool, it has saved me numerous times from situations that would otherwise be dead ends.