Get/Set Extracted Variables in Code

Use the SetExtractedValue() method to set the value of an extraction variable so it can be used later in a standard action or verification step:

string area = "Atlanta";
SetExtractedValue("extractedID", area);
Dim area As String = "Atlanta"
SetExtractedValue("extractedID", area)

Use the GetExtractedValue() method to use the extracted variable in a coded step:

object myData = GetExtractedValue("varname");
Dim myData As Object = GetExtractedValue("varname")