Hi Angrej,

Below is my code for Firefox.

@ff = FireWatir::Firefox.new
@ff.goto('http://justaddwatir.com/watir/test_html/tc_0101_0200/
test_0107.html')
@ff.text_field(:name,"text1").set("This is the text in the popup")
@ff.startClicker("ok", 1, '', "This is the text in the popup")
@ff.button(:name,"submit").click

Waiting for a positive reply from your side...

Regards
Rinku Garg


On Jul 8, 11:20 am, Angrez Singh <ang...@gmail.com> wrote:
> Can you post the HTML code as well?
>
>
>
> On Wed, Jul 8, 2009 at 10:22 AM, Rinku Garg <rinkugar...@gmail.com> wrote:
>
> > Hi Angrej,
>
> > I had tried with following code:
>
> > browser.startClicker("ok", 1, '', "This is the text in the popup")
> > browser.button(:name,"submit").click
>
> > But this code is not working in firefox...
>
> > Please suggest.
>
> > Waiting for your reply...
>
> > Regards
> > Rinku Garg
>
> > On Jul 7, 3:48 pm, Angrez Singh <ang...@gmail.com> wrote:
> > > Did you looked at the unit tests? Is there anything particular that you
> > are
> > > unclear off?
>
> > > On Tue, Jul 7, 2009 at 3:27 PM, rinku <rinkugar...@gmail.com> wrote:
>
> > > > Hi Angrej,
>
> > > > Can you please help me in clicking the Alert in firewatir..??
>
> > > > Regards
> > > > Rinku Garg
>
> > > > On Jun 22, 12:14 pm, Angrez Singh <ang...@gmail.com> wrote:
> > > > > Can you look at the unit test cases for Firewatir on how to handle
> > alert
> > > > and
> > > > > confirm javascript pop ups?
>
> > > > > - Angrez
>
> > > > > On Sun, Jun 21, 2009 at 6:01 PM, Sruthi Sinha <
> > sruthifor...@gmail.com
> > > > >wrote:
>
> > > > > > hello friends,
>
> > > > > > I am new to this group. I want to know how to automate alers diplay
> > in
> > > > > > mozilla firefox.Please help me.Please give me the code for it.
>
> > > > > > Thanks
> > > > > > Reards
> > > > > > Sruthi.- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to