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
Post a Comment