WordPress database error: [INSERT, UPDATE command denied to user '51213-2'@'10.10.20.5' for table 'wp_options']INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_doing_cron', '1714329737.6455340385437011718750', 'yes') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
<\/a>One more quick post on Coded UI tests recording issue. Today, the coded UI test builder tool said to me “The recorder encountered a wrong control while recording the last action.” !<\/p>\n After some search in my app, I found out that it’is related to a ScrollViewer in a TabControl.<\/p>\n In this post we’ll see how I solved it… The problem is easy to reproduce: inside a tabcontrol, add a TabItem and set its ContentTemplate with a DataTemplate containing a ScrollViewer. Then try to record any action inside the TabItem using the Coded UI Test Builder. You won’t be able to do it. You can even set the ContentTemplate of the TabControl as pointed out on the Connect web site<\/a>.<\/p>\n Here is an example of the XAML which does not work:
\n<\/p>\nThe issue<\/h3>\n
\n<\/a><\/p>\n
\n[xml]<TabControl Margin="0" x:Name="MainTabControl">
\n <TabItem Header="Tab">
\n <TabItem.ContentTemplate>
\n <DataTemplate>
\n <ScrollViewer>
\n <DockPanel>
\n <Button DockPanel.Dock="Bottom" Content="Youpi !"
\n Click="onButtonClick" \/>
\n <TextBox Text="a value " \/>
\n <\/DockPanel>
\n <\/ScrollViewer>
\n <\/DataTemplate>
\n <\/TabItem.ContentTemplate>
\n <\/TabItem>
\n<\/TabControl>[\/xml]<\/p>\nThe solution<\/h3>\n