ContributionsMost RecentMost LikesSolutionsRegExp.Execute method I am using following snippet to get the matching string. Sub ExtractDemo Dim InStr, regEx InStr = "Description:" &_ "Handles all actions supported " &_ "Input Parameters:" &_ " oInteraction: [air] Hello" &_ " guiObject [air]" &_ "sObjectType" &_ "sAction" &_ "sActionValue" &_ "Returns:" &_ "PropertyValue" Set regEx = New RegExp regEx.Pattern = "Des.*n" Set colMatches = regEx.Execute(InStr) If colMatches.Count > 0 Then Log.Message colMatches(0).Value Else Log.Message "Match not found for: Des.*n" End If End Sub Output: Description:Handles all actions supported Input Parameters: oInteraction: [air] Hello guiObject[air]sObjectTypesActionsActionValueReturn For reg exprs: regEx.Pattern = "^" &"Des.*n" & "$" Output: Match not found for: Des.*n For reg exprs: regEx.Pattern = "oIn.*n" Output: oInteraction: [air] Hello guiObject[air]sObjectTypesActionsActionValueReturn How can I get the exact matching string ? Expected outputs: 1. Description 2. Description 3. oInteraction Any thoughts SolvedHow to get the matched string I am using StrMatches method to find if string contains sub string using regular expression. StrMatches returns True if string matches else False. Now I want to retrieve the matched string. For ex. sString = "Test String:Whats going on" sRegExpr = ".*Whats go.*" Utility_StrMatches = aqString.StrMatches("^" & sRegExpr & "$",sString) This will return True. How to retrieve the extact matched string. For above ex. code snippet should return "String:Whats going". Example 2. sString = "Test String:Whats going on" sRegExpr = "go.*g" Expected output: "going" Example 3. sString = "Test String:Whats going on" sRegExpr = "Test .* on" Expected output: "Test String:Whats going on" SolvedRe: How to enable or disable VB extensions in between the executionsHi David, Can you provide more details on using '/NotOpenApp' command-line parameter with some examples. Basically we want know if there is way to lauch TestExecute/TestComplete with VB Extension ON or OFF. more details can be found at : http://smartbear.com/forums?forumid=81&threadid=77150 Thanks, Mustak Is there way to launch TestExecute (and TestComplete) with VB Extenstion Turned ON or OFF ?I want to launch TestExecute/TestComplete with following preferences. Preference 1: Launch TestExecute/TestComplete with VB Extenstion turned ON. Preference 2: Launch TestExecute/TestComplete with VB Extenstion turned OFF. I know we can change VB Extention preference from 1. "Install Extentions" of File Menu 2. By updating windows Registory values. Other than these options, Is there way we can run TestExecute/TestComplete in above mentioned modes. ThanksHow to stop TestExecute using command lineHi, How can we stop the TestExecute using command line. I know we can use TaskKill command, but this will kill the process. Is there a command to stop the test execution of TestExecute. Thanks, MustakHow to check whether cell text is strike through or notHi, I am not able to check the row is striked in the grid (SysListView32) and not able to get the color of the strike in the same. Is there a way to check whether cell text is strike through or not. Thanks, MustakIs TestComplete version 7.52 supports DotNet Objects ?I am not seeing any DotNet properties when I do spy on the object. Object class: WindowsForms10.Window.8.app.0.378734a Whereas TestComplete 8.2 is listing some properties when we spy the same object. Is TestComplete version 7.52 supports DotNet Objects ?Re: How to get the state of Checkbox embedded in Listbox of class 'ListBox'. Stephen/Ann, I tried to implement your suggestions but no success. 1. "ItemWithText" method is not available. 2. Not able to retrieve the required item as "list["Items"]["Item"](0)" not supported. 3. We can get the count using property - wItemCount and using wItem returns the name of the item specified by its index. Not sure how to retrieve the required item. 4. Test complete is using coordinates, when i performed actions on checkbox. Ex. listBox.ClickItemXY(2,5,4) I have attached screen shot of properties available for this object. All inputs are welcome. Thanks, Mustak Re: How to get the state of Checkbox embedded in Listbox of class 'ListBox'.Thanks for the reply. I tried wSelected property, but it returns true if item is selected(i.e., focused) wether it is checked or unchecked. I want to know the state of the checkbox. Thanks, Mustak How to get the state of Checkbox embedded in Listbox of class 'ListBox'.Hi, I am not able to get the state of checkbox embedded in Listbox of class 'ListBox'. On Spying I am seeing only "wSelected" and "wSelectedItems" properties and "wChecked" property is not available. Any thoughts on this. Thanks