Re: Predefined Methods are not automatically built
Most likely because the call that assigns the value to "loginClick" is not returning anything.
First of all, I'm not sure that the "NativeWebObject" will actually have any child objects to find from. That object off the page is simply for giving access to methods and properties that are overloaded by TestComplete. Try moving the find to be directly from the page.
You have, as the third parameter, "a". The third parameter is optional but should be a numeric if you're going to use it. It indicates the depth in the hierarchy of how far down the tree of children you want to search for the object you want. My guess is that "a" is being translated into blank or null because it's not numeric so you are simply searching the NativeWebObject only.... which won't have a contentText property of any sort.... so, you're getting a "blank" on the methods.
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.