ContributionsMost RecentMost LikesSolutionsRe: Is it possible to set default value to JScript function parameters in Test Complete? thanks, that's just what I needed can I pass default parameters in jscript functions Can I pass default values to a parameter in a jscript function? Better can I do it also in c++script? Thanks Solvedhow can I catch an expected error in the sut in testcomplete? Hi, I expect an error from the SUT, that's what the test case should prove, so I want to post an error only if the error does't come and not when it does. How do I do it? Any ideas? Thanks a lot Seretta I'm trying to use a scrollbar (VScroll) for a TListView: the recorded script doesn't playback Hi, I recorded this: listView = Aliases["ISSReportingSuite"]["GALAFListe"]["Seitenauswahl"]; listView["HScroll"]["Pos"] = 0; listView["VScroll"]["Pos"] = 842; When I try to play it back I get Failed to set position 842 for the scroll bar. 14838 was set instead. What's going on? Why doesn't it work? Thanks for your help Seretta can I set the playback properties from a script? Hi, I would like to be able to set the playback options for unexpected windows on the run, from a script. Is it possible? I didn't find anything in the online help Thanks Seretta How can I start a batch file (*.bat) and give it a timeout?Hi, I want to start a batch file, but I want TestComplete to regain control after a given time if it still isn't finished. How can I do it? Until now I was using the wshShell, but if I set the Wait on Return flag I never get control back if there is a problem. Does somebody have a suggestion? Thanks a lot