Searching for objects in Keyword tests
Searching for an Object in Keyword Tests
THIS is unclear and I am looking for verification
In keyword tests, you can search for objects using the Find Object operation. This operation searches for an object by its property values and then call a method or property of the found object. To configure this operation:
Add the Find Object operation to your keyword test. -NO Problem Add to existing Test
TestComplete will show the Operation Parameters wizard. Got It
Specify the object TestComplete will search for and click Next. -WHERE does this come from -For example if I want to specify a link. Do I need to be on that page and navigate to the link
Specify the list of object properties to check and the property values for the sought-for object:
Click Add to add a new item to the list. -Not Clear what to Add here
Enter the property name and value in the appropriate fields. These fields are case-insensitive.
Repeat the previous steps to specify other properties that make up the search criteria.
Click Next.
Hello MarkSchofer -
1. Great!
2. The object can be chosen using the target or by placing the object alias in the field.
3. The easiest way to find these values would be to use the object spy (https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/working-with.html) on the element before entering the Find Object operation - because the spy will allow you to see all the available properties for the element and their values.
For example:
Let me know if this helps or if you have further questions.
Emma