Hello,
Before clicking on Submit button, use extract data command to get status of three radio buttons and save the status in some temporary variable say, $Prompt-Assignment$. Then check if $Prompt-Assignment$ includes 'Checked' then insert the criteria selected in some variable say $Criteria$. Text format of commands would appear as follows,
// For first radio button
Extract data from Control type : Radio Button, Webpage : to $Prompt-Assignment$
Variable Operation : "" To $Prompt-Assignment$
If $Prompt-Assignment$ Includes "Checked" Then
Variable Operation : Alpha To $Criteria$
End If
// For second radio button
Extract data from Control type : Radio Button, Webpage : to $Prompt-Assignment$
Variable Operation : "" To $Prompt-Assignment$
If $Prompt-Assignment$ Includes "Checked" Then
Variable Operation : Beta To $Criteria$
End If
// For third radio button
Extract data from Control type : Radio Button, Webpage : to $Prompt-Assignment$
Variable Operation : "" To $Prompt-Assignment$
If $Prompt-Assignment$ Includes "Checked" Then
Variable Operation : Gamma To $Criteria$
End If |