[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-14 Thread Durgesh Nadkarni
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:

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-14 Thread Raveendran P
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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-14 Thread Durgesh Nadkarni
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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-14 Thread 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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-13 Thread Durgesh Nadkarni
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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-13 Thread Raveendran P
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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-12 Thread Raveendran P
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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-11 Thread Durgesh Nadkarni
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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-09 Thread Raveendran P
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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-07 Thread Raveendran P
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

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-07 Thread Durgesh Nadkarni
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