Hello,
When I debug my tests I cannot see the value of various variables at runtime - I get a cryptic message:
"Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation."
I have this piece of code I'm testing:
I set a break point on the if statement. I enter into debug mode, it hits my breakpoint and I hover over the item.Text but get that message described above.
The other reason I ask is that this test if failing - not sure if I need to replace the string "TextContent" with a value from the control I'm working with or if this is the actual condition I'm testing for - I took this code from another Telerik forum question on Tree controls that I have to test... so a bit unclear on that... I basically want to trigger a user selection on an element in a TreeView - "click" the "drop down arrow" next to an element in a TreeView.
Any help on either of these two issues (or both) is appreciated.
Thanks in advance,
J
When I debug my tests I cannot see the value of various variables at runtime - I get a cryptic message:
"Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation."
I have this piece of code I'm testing:
foreach
(TreeViewItem item
in
items)
{
//Find an item by its text content and expand the node
if
(item.Text ==
"TextContent"
)
{
ToggleButton button = item.Find.ByType<ToggleButton>();
button.User.Click();
}
}
I set a break point on the if statement. I enter into debug mode, it hits my breakpoint and I hover over the item.Text but get that message described above.
The other reason I ask is that this test if failing - not sure if I need to replace the string "TextContent" with a value from the control I'm working with or if this is the actual condition I'm testing for - I took this code from another Telerik forum question on Tree controls that I have to test... so a bit unclear on that... I basically want to trigger a user selection on an element in a TreeView - "click" the "drop down arrow" next to an element in a TreeView.
Any help on either of these two issues (or both) is appreciated.
Thanks in advance,
J