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??
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
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
_
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?
--
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
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
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