Contributions
Can I pass the object Property Name as a parameter
I have used FindAllChildren to get all the children of a window object and put it in an array (objArray). I am trying to pass the Property Name (myName) and Property Value (myValue) to find the index in the array where a match isfound. Here's part of the JScript code: function getIndex(objArray, myName, myValue) { var i; for(i=0; i<=objArray.length; i++) { if(objArray[i].myName == myValue) .... { .... } This function is failing since it is looking for "myName" Property Name instead of the string that was passed (ie I was trying to pass "ClrClassName" to myName). Is there a way to usepass the Property Name as a parameter for the above use? Thanks!Solved1.5KViews0likes3CommentsRe: TestExecute fails on CheckProperty
I was running TestExecute version 10.40.2015 and apparently there's a bug in that version. I usually get notification of a newer version but did not this time and even when I check for updates the system tells me there are no updates available. Customer Care informed me that there's a new version 10.40.2018 which I can download from my.smartbear.com. This newer version has fixed the issue I'm encountering.404Views2likes0CommentsTestExecute fails on CheckProperty
Hi, I have a script that works without any issues when executing it from TestComplete. However, when I use TestExecute, it keeps failing on the CheckProperty method. In this particular script, I am just opening a window and checking to make sure the window exists. aqObject.CheckProperty(Aliases.WolfMaint.frmMain, "Exists", cmpEqual, true); Even if I just comment this code, I cannot perform any actions to this object because it cannot be found. Again, this works just fine in TestComplete. Thank you, Rome846Views0likes1Comment