Re: [Wtr-general] same text fordifferent urls..

2007-01-28 Thread Naga Harish Kanegolla
Hi Thats only a typo mistake which i gave in this forum. But in my code it looks correct. And one more thing, I couldn't get the code of that link in the html source code. I hope AJAX is not updating the html source.So how to over come this problem??

Re: [Wtr-general] same text fordifferent urls..

2007-01-26 Thread Nathan Christie
It looks like in your link identification you have, "...contract_id=14 0" (with a space) and in your error message it displays, "Unable to locate ... contract_id=140" (no space). Could this be it? Nathan Christie - Posted via Ji

Re: [Wtr-general] same text fordifferent urls..

2007-01-23 Thread Naga Harish Kanegolla
Its giving the error "Unable to locate object url and http://localhost:3000/data_entry/ajax_add_term/133?contract_id=140"; - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6183&messageID=17526#17526 _

Re: [Wtr-general] same text fordifferent urls..

2007-01-22 Thread Nathan Christie
When you say, "...it's working for the general urls, but not for the ajax links...", what exactly to you mean by not working. Does it seem the click() method is not being called and the page is not changing, or is there a runtime object [link] identification error? --

Re: [Wtr-general] same text fordifferent urls..

2007-01-21 Thread Naga Harish Kanegolla
Hi thank u,its working for the general urls, but not for the ajax links, can u please help me for the ajax links. This is the code i used. ie.link(:url,"http://localhost:3000/data_entry/ajax_add_term/133?contract_id=14 0").click This is the generated html.. [add a term] is the link. Thanks in A

Re: [Wtr-general] same text fordifferent urls..

2007-01-19 Thread Charley Baker
Try something like this: ie.link(:url, /some regex to match/).click -Charley On 1/19/07, Naga Harish Kanegolla <[EMAIL PROTECTED]> wrote: Hi all, How to click on the links based up on the href rather than the text? Ex:: I am having the same text with different ids. i.e., we are having 30

[Wtr-general] same text fordifferent urls..

2007-01-19 Thread Naga Harish Kanegolla
Hi all, How to click on the links based up on the href rather than the text? Ex:: I am having the same text with different ids. i.e., we are having 30 "add a term" links..For different links having different href (url). so how could i code using watir for this kind of hrefs. Please help me