Contributions
Re: How to Execute command line utilities from within a testcomplete script
// above method worked but I had find all cmd processes since I had multiple cmd processes running in my system function executeCmd(){ Sys.OleObject("WScript.Shell").Run("C:\\Windows\\system32\\cmd.exe"); var obj = Sys.FindAll("ProcessName","cmd",2).toArray(); Log.Message("Total number of cmd processes in my system"+obj.length); p = Sys.FindChild("Name", 'Process("cmd",'+(parseInt(obj.length)+1)+')') w=p.Window("ConsoleWindowClass","*"); w.Keys("dir [Enter]"); }6.9KViews0likes0CommentsRe: Conditional name mapping not working?
This seems to be a bug with Name mapping.. I am having the seme issue with TC 10.50 .. used to work with 10.20 Even the Condition added to the Properties and values anything other then equal is not working .. eg: className - Equal - ng-scope AND Width -Greater then- 01KViews0likes0Comments