Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

reference variable from another script "winforms" c#

// Assign the value of the extracted variable from the recorded step 'ExtractedVar' to a variable to use in the code
var extrVariableInCode = GetExtractedValue("ExtractedVar");

// Insert the necessary custom code to modify the exctracted value and assign it to a string variable
string newValue = "newValueToAssign";

// Assign the modified variable to a new extracted variable
SetExtractedValue("ModifiedExtrVariable", newValue);
Source by docs.telerik.com #
 
PREVIOUS NEXT
Tagged: #reference #variable #script
ADD COMMENT
Topic
Name
1+8 =