I am new to selenium. I have an issue in spliting the string.
<tr>
<td>storeEval</td>
<td>dList = '${StaffAdminEmail}'.split('@'); </td>
<td>dsplit1 </td>
</tr>
<tr>
<td>storeEval</td>
<td>day = storedVars.dsplit1[1]</td>
<td>dsplit2</td>
</tr>
<tr>
<td>type</td>
<td>id=school_permalink</td>
<td>${dsplit2}</td>
</tr>
where ${StaffAdminEmail} = [email protected]
I got an error like this
[error] Threw an exception: storedVars.dsplit1 is undefined
After google search i got a link but i dont know how to use it with my example.Any ideas??