I am using Test Complete 4.26.1. My app is in .NET and it has the DevExpress components v.6.
In the DevExpress LookUpEdit Control it has a collection of properties. To get to these properties in C# i give the [name of the object].properties.[name of property]
but when i try to do this in TC i get a value of undefined.
I know there is object.properties method in TC, is TC getting mixed up here and has someone found a way round this. I really need tobe able to access the LookUpEdit datasource which is in the properties.
I would suggest that you set up your product in the state you wish to view, and try one of these two methods at finding out how the object is being referred to:
1. Open TC 4.26.1, and view your application in the Object Browser. Confirm that the TC scales are showing to the right of your product (showing that it has been compiled as an open application) and then burrow to your object and view its list of properites.
2. Record the step you wish to take with that object, and view how the recorder viewed your object. This is useful especially with a closed product, if you have no option to compile for open access.
Let us know what you got for results...
Software Test Engineer
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
Thanks very much,
I burrowed down using the object browser and found there were 5 properties called "properties" : properties, properties_2, properties_3 etc.
properties_2 was the one i was looking for so when i changed my code to
[name of the object].properties_2.[name of property]
everything worked fine.
I am new to the product and now that i know to use the object browser to burrow down inside to have look at my controls I realise the power of this tool.