ContributionsMost RecentMost LikesSolutionsTest Log Message I look at my test logs and I use Log.Message to break apart my logs and to see what step the test got to. Lately by default, the "message" radio button keeps being unchecked. How can I change it so that the radio button is always checked by defualt? SolvedRe: Regular expression I have tried BuiltIn.StrMatches(ip, "10.10." + [0-9]+ + "." +[0-9]+) and testcomplete does not like that. Regular expression I am trying to do a check on a user input. I would like to check to see if a user enters a valid ip number. I would like to do something like: BuiltIn.StrMatches(ip, "10.10." + [0-9]+ + "." +[0-9]+). Where ip in the value of the user's IP address and I would like to try to String match is with the regular expression "10.10." + [0-9]+ + "." +[0-9]+, or something along those lines. I want to verify that the first number is 10 then a period then 10 again then a three digit number or less then a period then another three digit number or less. SolvedRe: Calling objects directly vs returning objects in a function We took a hybrid solution, we incorporated the find and find child functions into our libraries. We still see there is benifit from creating libraries with funcitons returning our objects. Re: Find methond I got it to work Find methond I am tring to use the find method to click on an object. My alias mapping is: Aliases.displayQt.UpgradeDialog.QtObject("QWidget", "", 2).QtObject("LocalNav::CenterButton", "", 1).QtObject("reject_button") QtObject("reject_button") has a property of Name and a value of QtObject("reject_button") I am trying to do something like: Sys.Process("displayQt").find('Name','QtObject("reject_button")').click However, this is not working and it's saying that the object doesn't exsist. How do I use this function? SolvedCalling objects directly vs returning objects in a function Another person and I were hired to do scripting in test complete. How they have it set up is that all the objects are being returned in libraries as function calls example: function getObject(){ return nameMapping } So we create a project of just libraries and we import those libraries into our projects. And when we want to call those objects in a script we say: libraryName.getObject() Should we be using objects this way or should we just be calling them directly from the mapping? This way gives us better object manipulation if the object is a string we can just put a cast in our function to always have a object return a certin data type. Or we can maniplulate the object how we want. What is the best way to go about this? SolvedPassing a command line parameter to a batch file I have a tested app that is a batch file and I would like to pass a parameter to that batch file for it to use. How would I go about doing this? I am writing using Javascript. SolvedRe: Editor intellisense and navigation does not work with declared objects Can we get a link to that appropriate suggestion in the DB? Focus I have an application that has another application in front of it and I want the background application to become the front application and that it is shown and has focus. I have tried using the .focus property and that has not worked for me and I have tried to just click on the application but that does not work either. I am using Javasript for my project. Solved