Forum Discussion
If you use the object spy https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/index.html?q=object%20spy you can examine the components themselves and look at the various available properties. I'm assuming that somewhere in those properties is something like "Text" or "Caption" or "wText" or "Value" or something to that extent which will contain what's in those fields.
With that, you can then use an Object Property Checkpoint https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/property/index.html to validate the value of the property and return a pass/fail on it.
Hi bistritapcv,
Did you find the property you can use? If you haven't, make sure that you are using the Advanced view mode in The Object Browser to see all properties. Refer to the following articles for details:
- bistritapcv6 years agoContributor
I tried several objects (different levels) and different properties, but all I got was like COM_OBJECT as a string. Something that provides more information I just realized. This window that opened from which I am trying to get text is a web page via Internet Explorer. But I am not using Selenium or I would know how to do it.
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
Hi bistritapcv,
I just want to understand if you need any more assistance. Was the issue resolved?
Related Content
- 8 years ago
- 8 years ago
- 9 years ago
Recent Discussions
- 2 days ago