ContributionsMost RecentMost LikesSolutionsRe: Scripting Issues with WaitAliasChildNevermind, I figured out a workaround with keyword tests. Thanks for the help.Re: Scripting Issues with WaitAliasChildMaybe I should post all of my code so you guys can better help me out with this. function closeTasks() { var inc = 0; var totalRows = getTotalRows(); var currentRow = totalRows - inc; //Close each open task while(currentRow != 0) { closeCurrentTask(currentRow); inc++; totalRows = getTotalRows(); currentRow = totalRows - inc; } } function closeCurrentTask(rowNumber) { Aliases.TaskLink.href = "https://reedelsevierdev.service-now.com/sc_task.do?sys_id=*&sysparm_record_target=sc_task&" + "sysparm_record_row=" + rowNumber + "&sysparm_record_rows=*&sysparm_record_list=request_item%*%5EORDERBYDESCnumber"; Aliases.TaskLink.click(); Aliases.buttonCloseTask.click(); } function getTotalRows() { //link_row represents the current row being counted. I set it to 1 at first to start //counting at the first row var link_row = 1; //Reset the link of the task to correspond to the current row Aliases.TaskLink.href = "https://reedelsevierdev.service-now.com/sc_task.do?sys_id=*&" + "sysparm_record_target=sc_task&sysparm_record_row=" + aqConvert.IntToStr(link_row) + "&sysparm_record_rows=*&" + "sysparm_record_list=request_item%*%5EORDERBYDESCnumber"; while(Aliases.WaitAliasChild("TaskLink", 2000).Exists) { //Next, I increment link_row so the while loop can check to see if a link to a task at the specific row exists. link_row++; Aliases.TaskLink.href = "https://reedelsevierdev.service-now.com/sc_task.do?sys_id=*" + "&sysparm_record_target=sc_task&sysparm_record_row=" + aqConvert.IntToStr(link_row) + "&sysparm_record_rows=*&sysparm_record_list=" + "request_item%*%5EORDERBYDESCnumber"; } return link_row - 1; } Re: Scripting Issues with WaitAliasChildSimon, Right, but my concern isn't whether or not the object exists, but rather that the error is being logged. WaitAliasChild should not be logging anything. The end goal I want with my code is for WaitAliasChild to return a stub object as the documentation says, for the exists property to return false, and as a result the while loop would be skipped. It is not supposed to log any errors if it cannot find the object. Samuel ParsonsRe: Scripting Issues with WaitAliasChildHi Simon, I tried that, but it did not fix the problem. Also, I think aliases are case-insensitive, as the documentation says: Note: The alias is always case-insensitive, in spite of the value of the Use case-sensitive parameters project option. Even if this were the problem, the Exists call should just return false. The point I'm trying to make is that WaitAliasChild is posting an error into the log when it's not supposed to.Re: Scripting Issues with WaitAliasChildHi Simon, That is the full path of the alias. I moved the alias to the top of the tree in the name mapping editor so I wouldn't have to write out a long path as you can see in this picture: Samuel ParsonsRe: Unable to find the object Sys.Browser("firefox").Good to hear! Thanks a lot.Scripting Issues with WaitAliasChildHi there, I have another question. I've been trying to write a script, and my goal is to check if a certain link on a page exists. I have this while loop in one of my methods that looks like this: while(Aliases.WaitAliasChild("tasklink", 2000).Exists) { ... } However, it is unable to find the child, so it errors out: But the documentation for WaitAliasChild specifically says: Result Value The child object that has the specified alias. If the specified object does not exist, the method returns a stub object and the method does not post an error message to the log, unlike when you directly refer to a mapped object by an alias. To determine whether the returned object exists in the system, use its Exists property. So why does it post an error message to the log? In my case, I don't want to consider not being able to find the object an error. I do not want execution to stop. Thanks, Samuel Parsons Re: Unable to find the object Sys.Browser("firefox").Thanks for your help. This solved the issue. Unable to find the object Sys.Browser("firefox"). Hi there, So today I was working on a project in TestComplete, I stopped for a little while, and then when I came back to TestComplete I was unable to do anything in Firefox using TestComplete. Whenever I would run a script I would get the following error message: Absolutely bizzare. I couldn't imagine what would possibly cause this issue. Additional Info only pointed to the help page on solving the "Unable to Find Object" error, which of course didn't help at all. I read another thread that suggested downlaoding the most recent Firefox patch. I tried this approach and replacing the dll file, but this didn't work either. When I try doing this with Internet Explorer though, it works fine. And if I start recording a new script choosing Firefox as the browser, for some reason then it will work? Could anybody help me out on this issue? Thank you, Samuel Parsons Solved