blearyeye
14 years agoContributor
Getting children of a .NET form control
I'm using TestComplete 8 on a winform program written in C# 4.0. I'm a newbie to TestComplete and find the learning curve pretty steep.
On
a form F I need to collect all instances of control C so that I can
check their properties. I need to do this repeatedly in the test cycle,
so the code to do it should be a JavaScript function. It needs to be
integrated with a keyword test. I'm told that a template can help, but
not sure how.
What I need is a sample of the JavaScript code and
something of a step-by-step instruction for integrating it into a
keyword test.
On
a form F I need to collect all instances of control C so that I can
check their properties. I need to do this repeatedly in the test cycle,
so the code to do it should be a JavaScript function. It needs to be
integrated with a keyword test. I'm told that a template can help, but
not sure how.
What I need is a sample of the JavaScript code and
something of a step-by-step instruction for integrating it into a
keyword test.