Biginners Problem with assertTextNotPresent

View: New views
3 Messages — Rating Filter:   Alert me  

Biginners Problem with assertTextNotPresent

by jochen69 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, i´am biginner... I´am working with IDE 1.0.2

By me it´s NOT working. I tried a lot, but it won´t work.

Command: assertTextNotPresent

i tried all combinations in target and value field, with quotes and without. It isn´t working. Is it a bug?
I there another way to check the text on page? The text i want to check i simply saved in form tag.

Re: Biginners Problem with assertTextNotPresent

by tommy234 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,
Check out solution your problem here
http://seleniumforum.forumotion.net/index.htm
bye
jochen69 wrote:
Hello, i´am biginner... I´am working with IDE 1.0.2

By me it´s NOT working. I tried a lot, but it won´t work.

Command: assertTextNotPresent

i tried all combinations in target and value field, with quotes and without. It isn´t working. Is it a bug?
I there another way to check the text on page? The text i want to check i simply saved in form tag.

Re: Biginners Problem with assertTextNotPresent

by kjaladi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Could you post your test source code here? May be you are not referencing the correct Xpath. Anyways - "assertTextNotPresent" works fine for me, check this out -

<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<tr>
        <td>open</td>
        <td>http://www.yahoo.com</td>
        <td></td>
</tr>
<tr>
        <td>assertTextNotPresent</td>
        <td>//div[@id='featured1main']/span/p</td>
        <td>123</td>
</tr>

</tbody></table>
</body>

thanks.

jochen69 wrote:
Hello, i´am biginner... I´am working with IDE 1.0.2

By me it´s NOT working. I tried a lot, but it won´t work.

Command: assertTextNotPresent

i tried all combinations in target and value field, with quotes and without. It isn´t working. Is it a bug?
I there another way to check the text on page? The text i want to check i simply saved in form tag.