ContributionsMost RecentMost LikesSolutionsRe: Script To Automatically Close 'Active' Window Hello, Maybe you can use this code here https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/window-and-process/terminate-method-process-object.html choose the languange in which your project is and instead run code snippet use run script routine. Hope this helps. i'm sorry, didn't understand correctly, you want to close a window which is part of your application not another app that is called from the first one. My bad. Re: Compare text property of two objects Hi trajmo , Try converting the strings to integer with aqConvert.StrToInt fetching the value with aqObject.GetPropertyValue and then comparing them with aqObject.CompareProperty. If you need you can use SetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_STHOUSAND, ','); SetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, '.'); to get the specific format that is displayed in your print screen pictures. Hope this helps Count characters from end of a string to front Hi guys. Is there any option to count the characters in a string to a specific length from back to front, for example I have a string that says Hello but want to count the characters up to the letter "e", meaning "llo" that equals 3. Which method should this be. Thank you. SolvedRe: Format for numeric value This was very enlightening. Thank you Re: Format for numeric value But this way compares the both properties as strings. If I enter an expression a value as a string it gives me a hard coded value, and the field I want to check is constantly changing which makes the checkpoint useless. I have a field in my app that can have from 1 to 15 digit numbers and I want to check whether every and each of those numbers entered has the specific format of thousands separated by commas and decimals separated by a dot. What do you suggest goes in the blank space? Is this right? Thank you and sorry :) Re: Get the date of next Sunday Thank you! Is there any way I can use this in a keyword test? Re: Get the date of next Sunday Thank you so much for your reply. What i'm trying to do here is to get the date of next Sunday, no matter what day it is of the week. i.e tomorrow if i play the test again, the date fetched to be next Sunday. The solution of your reply will give me the seventh day from today any day, and I want the date by default to be always Sunday, without updating my test. Thank you again Get the date of next Sunday Hello all, I want to get the date of the next Sunday, of every week to be entered in a specific field. I have tried aqConvert.DateTimeToFormatStr(aqDateTime.AddDays(7), '%d.%m.%Y') as Sunday being the 7th day of the week but my syntax is wrong. Since I am very new at this, any help would be much appreciated. Thank you! Solved