I have an issue in using storeEval command ,my command goes like this.Here
I need to extract "n" value from the xpath
I am using.When I run this script an error is thrown stating:"[error]
Unexpected Exception: fileName ->
chrome://selenium-ide/content/selenium-core/scripts/selenium-api.js,
lineNumber -> 2531" please anybody can help me out with this error.What
should I do?
<tr>
<td>store</td>
<td>.//*[@id='N_AHR_ROLES_TBL$new$n$$0']/img</td>
<td>var</td>
</tr>
<tr>
<td>echo</td>
<td>${var}</td>
<td></td>
</tr>
<tr>
<td>storeEval</td>
<td>javascript{storedVars['var.substring(var.indexOf("$new$")+5,
str.indexOf("$$"))']}</td>
<td>res</td>
</tr>
<tr>
<td>echo</td>
<td>${res}</td>
<td></td>
</tr>
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/rOTn0XGEyqYJ.
For more options, visit https://groups.google.com/groups/opt_out.