Hi Raveendran,
It works.. Thanks a lot..
Regards
Durgesh.
--- On Thu, 13/8/09, Raveendran P jazzezr...@gmail.com wrote:
From: Raveendran P jazzezr...@gmail.com
Subject: [wtr-general] Re: How to click the link in dynamically generated ajax
content?
To: watir-general@googlegroups.com
Date:
Hi Durgesh,
Cool !
Let me know which code solved your issue ?
On Fri, Aug 14, 2009 at 4:06 PM, Durgesh Nadkarni fordurg...@yahoo.co.inwrote:
Hi Raveendran,
It works.. Thanks a lot...
Regards
Durgesh.
--- On *Thu, 13/8/09, Raveendran P jazzezr...@gmail.com* wrote:
From: Raveendran P
Hi,
The same code which you have given in the previous mail.
check=browser.link(:id,PageLinkDisabled).enabled?
if check == true
It is Enabled. Continue your work
else
It is Disabled
end
Regards
Durgesh.
--- On Fri, 14/8/09, Raveendran P jazzezr...@gmail.com wrote:
From: Raveendran P
Fine.
On Fri, Aug 14, 2009 at 5:48 PM, Durgesh Nadkarni fordurg...@yahoo.co.inwrote:
Hi,
The same code which you have given in the previous mail.
check=browser.link(:id,PageLinkDisabled).enabled?
if check == true
It is Enabled. Continue your work
else
It is Disabled
end
Regards
Hi Raveendran,
I want to make sure that Previous link is disabled. So I need to use the
second method given by you. But do I need to pass the parameter to it as shown
below?
assert(browser.link(:id,PageLinkDisabled).exists?)
How can use the given method?
Thanks Regards
Durgesh.
--- On
Hi Durgesh,
Are asking this code?
check=browser.link(:id,PageLinkDisabled).enabled?
if check == true
It is Enabled. Continue your work
else
It is Disabled
end
If yes then just use it otherwise :)
Thanks
On Thu, Aug 13, 2009 at 6:19 PM, Durgesh Nadkarni fordurg...@yahoo.co.inwrote:
Hi
Hi Durgesh,
Way 1 -- use sleep commands until the link was enabled.
way 2 -- Still the field disabled then Watir gem code is here ...
# File lib/watir/element.rb, line 283
def enabled?
assert_exists
return ! disabled
end
Thanks
On Tue, Aug 11, 2009 at 6:12 PM, Durgesh
Hi Reveendran,
Thanks a lot for the given code. But the code which I am getting is as follows:
div class=prev_arrow_img
a count=0 class=PageLinkDisable
href=/RSCpubs.ePlatform.Web/en/Search/JournalResultPrevious/a
/div
Currently the 'Previous' link is disabled. But when I use verify statement
Hi Durgesh,
See the below example.
1. Uploading some imsges
2. In Runtime -- I will get some code in BOLDED Div's. I collected the info
from that div and checked it.
Still you are not clear then just copy and paste the Source code for that
page. I will try more.
CODE:
def check_status
Hi Durgesh,
is it possible to paste the html code for that link here ?
Thanks,
Raveendran
http://raveendran.wordpress.com
On Fri, Aug 7, 2009 at 1:44 PM, Durgesh durgeshnadka...@gmail.com wrote:
Hi,
I want to click one link which is coming from dynamically generated
ajax contents.The
Hi Raveendran,
That HTML code is getting during runtime. Thats why we cannot paste the html
code for that link.
Is there any other method through which we can recognized that link?
Thanks Regards
Durgesh.
--- On Fri, 7/8/09, Raveendran P raveend...@railsfactory.org wrote:
From: Raveendran
11 matches
Mail list logo