All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
This can be done in a Coded Step. You'll reference the extracted variable in code, convert it to a string, and use the String.Substring Method to trim it. (That method is basic .NET code and not specific to Test Studio.) Here's an example:
object
webTime = GetExtractedValue(
"Time"
);
string
extractMe = webTime.ToString();
Log.WriteLine(extractMe);
int
n = extractMe.IndexOf(
"at "
) + 3;
extractMe = extractMe.Substring(n);
LOG: Monday, June 18, 2012 at 2:57:38 PM
LOG: 2:57:38 PM