« Return to Thread: VerifySelectedLabel

Re: VerifySelectedLabel

by kjaladi :: Rate this Message:

Reply to Author | View in Thread

Hi there,
Can you post your test? (or) here is the sample test with verifyselectedlabel, and it works well for me -

<tr>
        <td>open</td>
        <td>/</td>
        <td></td>
</tr>
<tr>
        <td>select</td>
        <td>ttt</td>
        <td>label=8 AM</td>
</tr>
<tr>
        <td>verifySelectedLabel</td>
        <td>ttt</td>
        <td>8 AM</td>
</tr>

thanks.

Inderpreet wrote:
There is drop down button in my web page,where I can select one of the three options : Red,Blue, Green. Suppose I select Red.

When I use verifyselectedlabel command it does not recognise drop down and shows error : ElementorganizationForm:receiverPanelTab:receiverTab:colorId not found

Command : verifyselectedlabel
Traget : organizationForm:receiverPanelTab:receiverTab:colorId
Value : Red


But when i use verifytextPresent then it recognizes Red text

Command : VerifyTextPresent
Target:      Red


----------

Is it right to use verifytextpresent to verify drop down value?

 « Return to Thread: VerifySelectedLabel