I'm getting an error when a kwtest is checking a property of an object. The error is "You are trying to call the "cell" method or property of the following name mapping object:..." - see attached for full detail.
I've had a read of this link (https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/getund...)
....and have followed the detail in the remark etc but it's still not finding the object. As the article only gives detail on resolving in a script I've used my own knowledge and thinking on how to resolve in a kwtest. I've tried using Call Object Method to obtain the reference to the underlying test object - see attached for screenshot of how I've implemented it.
When I run the Call Object Method on that object (....tableGridswapsmasterDxmaintable.cell) I get "Invalid number of arguments" and the same detail in Additional Info. It's like I'm missing something...
What am I doing something wrong?
Any advice is much appreciated, thanks!
The error also says to use GetUnderlyingObject()
Try that instead of Call Object. You can run it in a kdt using Run Code Snippet.
We've run into this problem.
Take a look at your mapping. There is a mapped object of tableGridswapsmasterDxmaintable.cell. This is intereferering with the Cell (note the case) method of the table object itself. Rename the lowercase "cell" to something else and try again. We usually name our individual cells (if we need to) using the row and column like cell12 for a cell with row 1 column 2.
This should resolve your problem.