Forum Discussion
There are a LOT of things that can be automated by TestComplete, given time and effort. There are a few limitations when it comes to supported technology if you want your application to be recognized as "open" and give you access to some of the more detailed properties.
Your subject says "Unable to detect objects"... what happens when you try and record a test/script? What does it look like? Can you post a screenshot showing the properties of an object from the Object Browser? What version of TestComplete are you using?
I am current using 12.20.935.7
Coordinates were recorded instead of the objects
Using the record and run feature, a keyword was created and but coordinates were being clicked instead of the object itself.
Thanks,
- tristaanogre9 years agoEsteemed Contributor
Can you go to the TestComplete object browser and show us what the application looks like there?
Obviously, there are some portions visible to TestComplete... there's a button that is recognized (the ClickButton call), a panel that you're setting the text on... so, it appears that the main question is with this "document" object. What is that? Any details you can give us on that would be helpful.
- rusantos9 years agoContributor
I may be able to highlight a entire form but I cannot specify which link/button/menu to perform action with.
Regards,
Russel~
- tristaanogre9 years agoEsteemed Contributor
That's not entirely true. If you look at your Object browser, you see that your form has child objects for different controls, etc. The way TestComplete recognizes things is that the form is an object... that object then has child objects that are the controls, menus, etc., on the form, and so on. So, the screenshot you gave us shows us the object properties of the form... to interact with other objects, you reference those objects.
Back to the recording you showed us the screenshot of. What I have highlighted below shows that the form "dialogOpen" has a button on it that has been named "buttonOpen". So, TestComplete can click on and interact with certain components of your application.
The problem is with the object that in your object browser view shows up as "document". That's where you're having the problem with co-ordinate clicking.
Now... something else your object browser shows us is that SAPLumira is a CEF application. TestComplete CAN recognize the components of such an application... but you need to do a bit of work to it first.
Check out the following article, specifically the item listed as "Option 1".Try following these instructions and attempt another recording of your test and see if it works any better.