Sorry , Actually it was using only one "=" instead of two "==" while
comparing.
Now i changed it and it is working fine.
Thanks for you help Željko.
Vishal
On Jun 18, 4:00 pm, Željko Filipin
wrote:
> On Thu, Jun 18, 2009 at 12:56 PM, Vishal wrote:
> > It doesn't work.
>
> I hope this will no
On Thu, Jun 18, 2009 at 12:56 PM, Vishal wrote:
> It doesn't work.
I hope this will not sound rude, but how do you expect me to help you now?
Saying `it does not work` does not give me any information what could be
wrong.
What did you do? What happened when you did it? Any error messages?
Želj
It doesn't work.
Vishal
On Jun 17, 5:43 pm, Željko Filipin
wrote:
> Try this (not tested):
>
> puts "uh oh" if $ie.div(:id,"center").link(:index,21).text !=
> $ie2.link(:index,31).text
>
> Željko
> --http://watirpodcast.com/
--~--~-~--~~~---~--~~
You received this
Try this (not tested):
puts "uh oh" if $ie.div(:id,"center").link(:index,21).text !=
$ie2.link(:index,31).text
Željko
--
http://watirpodcast.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group
Thanks,
In my application link text is dynamically generated .
These the two links whose text value I need to compare
$ie.div(:id,"center").link(:index,21)
$ie2.link(:index,31)
On Jun 15, 6:58 pm, Wesley Chen wrote:
> Sorry, please try:
> assert $ie.link(:text, ***1).value.eql?($ie.link(:text
Sorry, please try:
assert $ie.link(:text, ***1).value.eql?($ie.link(:text, ***2).value)
Thanks.
Wesley Chen.
On Mon, Jun 15, 2009 at 9:58 PM, Wesley Chen wrote:
> assert $ie.link(:text, ***).value.eql?($ie.link(:text, ***2))
>
--~--~-~--~~~---~--~~
You received
assert $ie.link(:text, ***).value.eql?($ie.link(:text, ***2))
Thanks.
Wesley Chen.
On Mon, Jun 15, 2009 at 7:27 PM, Vishal wrote:
>
> Hi,
> I have to 2 web pages, I need to compare values of Link text
> between two pages.
> Please suggest how to do this.
>
>
> Thanks
> Vishal
>
> >
>
--~--~