How could I get trimmed text from the 'TextBlock' WPF control ?
Hi all. I have WPF control 'TextBlock' with TextTrimming="CharacterEllipsis" When TextTrimming is set to CharacterEllipsis, the text is trimmed and continued with an 'ellipsis' at the character closest to the trimming edge. All works fine, but how could I get trimmed text from the 'TextBlock' control? All I can get is the initial text before the trimming, but I need the trimmed text, which could be seen by the end-user. Example: original text - "ThisIsLongText1234567890123456789======================" trimmed text, visible for the user -"ThisIsLongText1234..." I could get only original text from the Object Spy Please, see attached picture and WPF code. code: <TextBlock x:Name="TestTextBlock" Grid.Row="0" Width="150" VerticalAlignment="Center" Background="Chartreuse" FontSize="16" Text="ThisIsLongText1234567890123456789======================" TextTrimming="CharacterEllipsis" />2.7KViews0likes4CommentsTestComplete doesn't work with grouped Telerik.Windows.Controls.RadGridView
Telerik_Windows_Controls_RadGridView extended properties stop working when I make a grid grouped by field. Is there a way around this problem? Or, maybe, there is information about how to work with a grouped grid view? I used wValue property. In my case, I need to point to cells by their row/column numbers.Solved1.4KViews0likes5CommentsTable Column Recognition in Checkpoints in multilingual Application
Hello, I want to check the content of a Devexpress DataGrid with Table Checkpoints in our WPF-App. I created the table objects, and the Table Checkpoints worked as expexted. Now I want to use the Same Table Checkpoints on the same Software but in another language. This doesn't work because the columns don't exist. It seems, that the columns are recognized by the column headers. I tried to provide x:Names to the GridColumns but they don't occur in the Table-Wizzard. Is it possible to recognize the table columns another way, that is not affected by the localized column headers. Thanks in advance Sebastian723Views0likes1CommentPoor performance with checkpoints in tests against WPF components
I have a problem whenever I'm inserting breakpoints into my tests while testing WPF components in my target application. On a Hyper-V VM that has 8GB RAM, 4 virtual processors and on a high spec laptop (can provide more detail if pertinent), I'm finding that whenever I set a breakpoint in TestComplete while some of the objects and variables are of WPF components, it can take up to 45 minutes for TestComplete to become usable again when setting a breakpoint. A full end-to-end execution is fine, and breakpoints in the WinForms section of the application I'm testing seem to behave as expected, however I'm wondering if there's something specific about what's under test that could be causing this slow run time. I appreciate the details are a little light here, but I was wondering if anyone else has experienced anything similar and am happy to provide more detail if necessary.1.6KViews0likes1Comment