Object mapping JScript TestComplete -




is there way write single function map object based on type of control?

for example, yes button:

function yesbtn()  {  return aliases.[app].find("mappedname", "*.btnyes", 5, true);  } 

is there more efficient way can find buttons of types using single function, rather mapping each button separately? easy enough, if can save space , avoid doing every single object, i'd prefer way.

thank you.

assuming framework makes mappedname properties have btn in them, use in wildcard:

function allbtns()  {  return aliases.[app].find("mappedname", "*.btn*", 5, true);  } 




wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -