I apologize for the late reply.
I'm not 100% sure what you're trying to do.
First off don't use:
This will write directly to the Log file for your test. You will be able to see it when you open the results from your tests.
Also you don't really need this line:
I've prepared a little sample test for you. Here's how it looks like in code:
HtmlInputHidden text = ActiveBrowser.Find.ByExpression<HtmlInputHidden>(
Log.WriteLine("Hidden control value:"+text.Value);
"Hidden input couldn't be located"
Just paste this code to a coded step and build the test. The test navigates to
This page contains a hidden control. The test finds this hidden control and the outputs it's value to the Log.
Run the test and take a look at the log file once it finishes.
Let me know if you're having trouble getting this to work!
All the best,
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat
for a walk through all the exciting stuff we ship with the new release!