FAQ
The highlighted command line gives error :- "[error] Threw an exception:
missing ] in index expression". Can anyone give solution for this problem.


<tr>
<td>store</td>
<td>3</td>
<td>y</td>
</tr>
<tr>
<td>while</td>
<td>storedVars['x']&lt;storedVars['y']</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>/orangehrm-2.5/login.php</td>
<td></td>
</tr>
<tr>
<td>getEval</td>
<td>storedVars['user']=prompt[''Enter Username'']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=txtUserName</td>
<td>${user}</td>
</tr>
<tr>
<td>getEval</td>
<td>storedVars['pwd']=prompt[&quot;Enter Password&quot;]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=txtPassword</td>
<td>${pwd}</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Logout</td>
<td></td>
</tr>
<tr>
<td>getEval</td>
<td>storedVars['x']=${x}+1;</td>
<td></td>
</tr>
<tr>
<td>getEval</td>
<td>alert(&quot;login Complete&quot; +${x})</td>
<td></td>
</tr>
<tr>
<td>endWhile</td>
<td></td>
<td></td>
</tr>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/zi3wznNpiF0J.
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.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-users @
categoriesselenium
postedMay 21, '12 at 3:44p
activeMay 21, '12 at 3:44p
posts1
users1
websiteseleniumhq.org

1 user in discussion

Vicky: 1 post

People

Translate

site design / logo © 2022 Grokbase