[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-16 Thread QAguy
Any updates on this?

Thanks.

On Feb 11, 1:06 pm, QAguy qablogm...@gmail.com wrote:
 You need to register as a user and verify your account (its free).
 Then upload a video and go to the folder that video is in. Once in the
 folder select the checkbox for that video and click the move option
 from the menu bar.

 On Feb 10, 3:03 am, Angrez Singh ang...@gmail.com wrote:

  When I went to the website it is asking for username  password? How to move
  forward? Can you tell me the steps on how to go to the page where you are
  experiencing the problem in finding the element?

  Thanks,
  Angrez

  On Tue, Feb 9, 2010 at 11:34 PM,QAguyqablogm...@gmail.com wrote:
   Ok on the folder page if you select a video via a checkbox select and
   click the move option this is being invoked:

   li
   span class=tiny_dot
   nbsp;
   /span
   a onfocus=if(this.blur)this.blur();
   onclick=MOBX.Modal.show('move', { folder_id: 706027, verbose: true});
   return false; href=#Move/a
   /li

   This opens the modal window with the following code:

   div class=motionbox_content id=modal_dialog_1265738543319_content
   style=overflow: auto; height: 400px; width: 700px;div
   class=motionbox_message id=modal_dialog_messagediv
   class=modal_header
   div class=modal_header_buttons

   a href=javascript:MOBX.Folders.restoreStateAndCloseWindows()
   class=button tool tool_button cancel
    span class=left
      /span
    span class=button
      Cancel
    /span
    span class=right
      /span
   /a
   /div
   h3
   Move Video(s)
   /h3
   p
   Move selected video(s) to another folder. (1 videos selected)
   /p
   /div

   div class=modal_contents
   form onsubmit=if($F('destination_folder') lt; 2){return false;}
   method=post id=modal_form action=/filings/move    fieldset
        label class=select_field for=destination_folderMove to an
   existing folder:/label
        select name=destination_folder id=destination_folder
                    option value=Choose a folder.../option
                    option value= /option
                                             option value=706025My
   First Folder 02/05/10/option
                                                      /select
                   input type=hidden value=1 name=filings[576839]
   id=filings[576839]
           input type=hidden value=706027 name=current_folder_id
   id=current_folder_id
        div class=submit

   button value= type=submit name=submit_button class=tool
   tool_button move_button
    span class=left
      /span
    span class=button
      Move
    /span
    span class=right
      /span
   /button

          a onclick=MOBX.Folders.restoreStateAndCloseWindows(); return
   false; href=# class=blockCancel and close this window./a
        /div
      /fieldset
    /form
    div id=errors/div
   form onsubmit=new Ajax.Request('/folders', {asynchronous:true,
   evalScripts:true, parameters:Form.serialize(this)}); return false;
   method=post id=create_folder action=/folders    div
   class=itemlabel for=folder_name class= text_fieldOr, move to
   a new folder:/labelinput type=text size=30 name=folder[name]
   id=folder_name class=text_field/div
       div class=submit

   button value= type=submit name=submit_button class=tool
   tool_button create_and_move_button
    span class=left
      /span
    span class=button
      Create and Move
    /span
    span class=right
      /span
   /button

        a onclick=MOBX.Folders.restoreStateAndCloseWindows(); return
   false; href=# class=blockCancel and close this window./a
       /div
        input type=hidden value=1 name=filings[576839]
   id=filings[576839]
   /form/div
   /div/div

   I'm trying to enter a value to create a new folder to move the video
   to and then clicking the submit button to execute. In Safariwatir, the
   value is entered into the text filed but the submit button is simply
   highlighted in yellow and not followed. When using firewatir I cannot
   get any data entered into the text field due to the issue explained
   above in this thread.

   Does this help clarify this issue?

   Thanks

   On Feb 5, 11:33 pm, Yuping Zhong littlezhong...@gmail.com wrote:
Hi,

Can you give more info that how to go to the folder page?

Right now,I don't know how to flow to that page.

Thanks!

-Zhong

On Fri, Feb 5, 2010 at 11:35 PM,QAguyqablogm...@gmail.com wrote:
 Yes.www.motionbox.com

 Modals are on the folder pages.

 On Feb 5, 3:08 am, Angrez Singh ang...@gmail.com wrote:
  Is it something that we can see online? I mean is there a website on
 which
  you are testing?

  On Fri, Feb 5, 2010 at 3:30 AM,QAguyqablogm...@gmail.com wrote:
   The first on didn't work. I tried the second one you provided:

   browser.div(:for,
   folder_name).text_field(:id,folder_name).set(Watir test
   folder)

   and I got this error:

   JsshSocket::JSSyntaxError in 'Check folder page menu options and
   modals should allow the user move 

Re: [wtr-general] Re: Firewatir cannot find an element on the page

2010-02-10 Thread Angrez Singh
When I went to the website it is asking for username  password? How to move
forward? Can you tell me the steps on how to go to the page where you are
experiencing the problem in finding the element?

Thanks,
Angrez

On Tue, Feb 9, 2010 at 11:34 PM, QAguy qablogm...@gmail.com wrote:

 Ok on the folder page if you select a video via a checkbox select and
 click the move option this is being invoked:

 li
 span class=tiny_dot
 nbsp;
 /span
 a onfocus=if(this.blur)this.blur();
 onclick=MOBX.Modal.show('move', { folder_id: 706027, verbose: true});
 return false; href=#Move/a
 /li

 This opens the modal window with the following code:

 div class=motionbox_content id=modal_dialog_1265738543319_content
 style=overflow: auto; height: 400px; width: 700px;div
 class=motionbox_message id=modal_dialog_messagediv
 class=modal_header
 div class=modal_header_buttons

 a href=javascript:MOBX.Folders.restoreStateAndCloseWindows()
 class=button tool tool_button cancel
  span class=left
/span
  span class=button
Cancel
  /span
  span class=right
/span
 /a
 /div
 h3
 Move Video(s)
 /h3
 p
 Move selected video(s) to another folder. (1 videos selected)
 /p
 /div

 div class=modal_contents
 form onsubmit=if($F('destination_folder') lt; 2){return false;}
 method=post id=modal_form action=/filings/movefieldset
  label class=select_field for=destination_folderMove to an
 existing folder:/label
  select name=destination_folder id=destination_folder
  option value=Choose a folder.../option
  option value= /option
   option value=706025My
 First Folder 02/05/10/option
/select
 input type=hidden value=1 name=filings[576839]
 id=filings[576839]
 input type=hidden value=706027 name=current_folder_id
 id=current_folder_id
  div class=submit

 button value= type=submit name=submit_button class=tool
 tool_button move_button
  span class=left
/span
  span class=button
Move
  /span
  span class=right
/span
 /button

a onclick=MOBX.Folders.restoreStateAndCloseWindows(); return
 false; href=# class=blockCancel and close this window./a
  /div
/fieldset
  /form
  div id=errors/div
 form onsubmit=new Ajax.Request('/folders', {asynchronous:true,
 evalScripts:true, parameters:Form.serialize(this)}); return false;
 method=post id=create_folder action=/foldersdiv
 class=itemlabel for=folder_name class= text_fieldOr, move to
 a new folder:/labelinput type=text size=30 name=folder[name]
 id=folder_name class=text_field/div
 div class=submit

 button value= type=submit name=submit_button class=tool
 tool_button create_and_move_button
  span class=left
/span
  span class=button
Create and Move
  /span
  span class=right
/span
 /button

  a onclick=MOBX.Folders.restoreStateAndCloseWindows(); return
 false; href=# class=blockCancel and close this window./a
 /div
  input type=hidden value=1 name=filings[576839]
 id=filings[576839]
 /form/div
 /div/div

 I'm trying to enter a value to create a new folder to move the video
 to and then clicking the submit button to execute. In Safariwatir, the
 value is entered into the text filed but the submit button is simply
 highlighted in yellow and not followed. When using firewatir I cannot
 get any data entered into the text field due to the issue explained
 above in this thread.

 Does this help clarify this issue?

 Thanks


 On Feb 5, 11:33 pm, Yuping Zhong littlezhong...@gmail.com wrote:
  Hi,
 
  Can you give more info that how to go to the folder page?
 
  Right now,I don't know how to flow to that page.
 
  Thanks!
 
  -Zhong
 
  On Fri, Feb 5, 2010 at 11:35 PM, QAguy qablogm...@gmail.com wrote:
   Yes.www.motionbox.com
 
   Modals are on the folder pages.
 
   On Feb 5, 3:08 am, Angrez Singh ang...@gmail.com wrote:
Is it something that we can see online? I mean is there a website on
   which
you are testing?
 
On Fri, Feb 5, 2010 at 3:30 AM, QAguy qablogm...@gmail.com wrote:
 The first on didn't work. I tried the second one you provided:
 
 browser.div(:for,
 folder_name).text_field(:id,folder_name).set(Watir test
 folder)
 
 and I got this error:
 
 JsshSocket::JSSyntaxError in 'Check folder page menu options and
 modals should allow the user move the video to a newly created
 folder'
  missing ; before statement
 
 I also tried
 
 browser.div(:class,
 item).text_field(:id,folder_name).set(Watir
 test folder)
 
 and got the same error.
 
 Here is the div code:
 
 div class=itemlabel for=folder_name class= text_fieldOr,
 move to a new folder:/labelinput type=text size=30
 name=folder[name] id=folder_name class=text_field/div
 
 Does anyone know what this error is?
 
 Thanks
 
 On Feb 2, 4:56 pm, Super Kevy kpe...@scholarshipamerica.org
 wrote:
  try
 
   browser.text_field(:for, 

[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-09 Thread QAguy
Ok on the folder page if you select a video via a checkbox select and
click the move option this is being invoked:

li
span class=tiny_dot
nbsp;
/span
a onfocus=if(this.blur)this.blur();
onclick=MOBX.Modal.show('move', { folder_id: 706027, verbose: true});
return false; href=#Move/a
/li

This opens the modal window with the following code:

div class=motionbox_content id=modal_dialog_1265738543319_content
style=overflow: auto; height: 400px; width: 700px;div
class=motionbox_message id=modal_dialog_messagediv
class=modal_header
div class=modal_header_buttons

a href=javascript:MOBX.Folders.restoreStateAndCloseWindows()
class=button tool tool_button cancel
  span class=left
/span
  span class=button
Cancel
  /span
  span class=right
/span
/a
/div
h3
Move Video(s)
/h3
p
Move selected video(s) to another folder. (1 videos selected)
/p
/div

div class=modal_contents
form onsubmit=if($F('destination_folder') lt; 2){return false;}
method=post id=modal_form action=/filings/movefieldset
  label class=select_field for=destination_folderMove to an
existing folder:/label
  select name=destination_folder id=destination_folder
  option value=Choose a folder.../option
  option value= /option
   option value=706025My
First Folder 02/05/10/option
/select
 input type=hidden value=1 name=filings[576839]
id=filings[576839]
 input type=hidden value=706027 name=current_folder_id
id=current_folder_id
  div class=submit

button value= type=submit name=submit_button class=tool
tool_button move_button
  span class=left
/span
  span class=button
Move
  /span
  span class=right
/span
/button

a onclick=MOBX.Folders.restoreStateAndCloseWindows(); return
false; href=# class=blockCancel and close this window./a
  /div
/fieldset
  /form
  div id=errors/div
form onsubmit=new Ajax.Request('/folders', {asynchronous:true,
evalScripts:true, parameters:Form.serialize(this)}); return false;
method=post id=create_folder action=/foldersdiv
class=itemlabel for=folder_name class= text_fieldOr, move to
a new folder:/labelinput type=text size=30 name=folder[name]
id=folder_name class=text_field/div
div class=submit

button value= type=submit name=submit_button class=tool
tool_button create_and_move_button
  span class=left
/span
  span class=button
Create and Move
  /span
  span class=right
/span
/button

  a onclick=MOBX.Folders.restoreStateAndCloseWindows(); return
false; href=# class=blockCancel and close this window./a
 /div
  input type=hidden value=1 name=filings[576839]
id=filings[576839]
/form/div
/div/div

I'm trying to enter a value to create a new folder to move the video
to and then clicking the submit button to execute. In Safariwatir, the
value is entered into the text filed but the submit button is simply
highlighted in yellow and not followed. When using firewatir I cannot
get any data entered into the text field due to the issue explained
above in this thread.

Does this help clarify this issue?

Thanks


On Feb 5, 11:33 pm, Yuping Zhong littlezhong...@gmail.com wrote:
 Hi,

 Can you give more info that how to go to the folder page?

 Right now,I don't know how to flow to that page.

 Thanks!

 -Zhong

 On Fri, Feb 5, 2010 at 11:35 PM, QAguy qablogm...@gmail.com wrote:
  Yes.www.motionbox.com

  Modals are on the folder pages.

  On Feb 5, 3:08 am, Angrez Singh ang...@gmail.com wrote:
   Is it something that we can see online? I mean is there a website on
  which
   you are testing?

   On Fri, Feb 5, 2010 at 3:30 AM, QAguy qablogm...@gmail.com wrote:
The first on didn't work. I tried the second one you provided:

browser.div(:for,
folder_name).text_field(:id,folder_name).set(Watir test folder)

and I got this error:

JsshSocket::JSSyntaxError in 'Check folder page menu options and
modals should allow the user move the video to a newly created folder'
 missing ; before statement

I also tried

browser.div(:class, item).text_field(:id,folder_name).set(Watir
test folder)

and got the same error.

Here is the div code:

div class=itemlabel for=folder_name class= text_fieldOr,
move to a new folder:/labelinput type=text size=30
name=folder[name] id=folder_name class=text_field/div

Does anyone know what this error is?

Thanks

On Feb 2, 4:56 pm, Super Kevy kpe...@scholarshipamerica.org wrote:
 try

  browser.text_field(:for, folder_name).set('Watir test folder')

 or you may need to set the div element in the object:

 browser.div(:id,whateveritis).text_field(:id,folder_name).set
 (Watir test folder)

 On Feb 2, 10:29 am,QAguyqablogm...@gmail.com wrote:

  I am trying to enter data into a modal window from my site. Here is
  the site code:

  label class= text_field for=folder_nameOr, move to a new
  

Re: [wtr-general] Re: Firewatir cannot find an element on the page

2010-02-05 Thread Angrez Singh
Is it something that we can see online? I mean is there a website on which
you are testing?

On Fri, Feb 5, 2010 at 3:30 AM, QAguy qablogm...@gmail.com wrote:

 The first on didn't work. I tried the second one you provided:

 browser.div(:for,
 folder_name).text_field(:id,folder_name).set(Watir test folder)

 and I got this error:

 JsshSocket::JSSyntaxError in 'Check folder page menu options and
 modals should allow the user move the video to a newly created folder'
  missing ; before statement

 I also tried

 browser.div(:class, item).text_field(:id,folder_name).set(Watir
 test folder)

 and got the same error.

 Here is the div code:

 div class=itemlabel for=folder_name class= text_fieldOr,
 move to a new folder:/labelinput type=text size=30
 name=folder[name] id=folder_name class=text_field/div

 Does anyone know what this error is?

 Thanks

 On Feb 2, 4:56 pm, Super Kevy kpe...@scholarshipamerica.org wrote:
  try
 
   browser.text_field(:for, folder_name).set('Watir test folder')
 
  or you may need to set the div element in the object:
 
  browser.div(:id,whateveritis).text_field(:id,folder_name).set
  (Watir test folder)
 
  On Feb 2, 10:29 am,QAguyqablogm...@gmail.com wrote:
 
   I am trying to enter data into a modal window from my site. Here is
   the site code:
 
   label class= text_field for=folder_nameOr, move to a new
   folder:/labelinput class=text_field id=folder_name name=folder
   [name] size=30 type=text
 
   To enter data into the text_field I do:
 
   browser.text_field(:id, folder_name).set('Watir test folder')
 
   This works fine in safariwatir but in firewatir I get the following
   error:
 
   Unable to locate element, using :id, folder_name
 
   Does anyone know what would cause this? Is it because this is a site
   modal?
 
   Thanks in advance.

 --
 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.comwatir-general%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/watir-general


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


[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-05 Thread QAguy
Yes. www.motionbox.com

Modals are on the folder pages.



On Feb 5, 3:08 am, Angrez Singh ang...@gmail.com wrote:
 Is it something that we can see online? I mean is there a website on which
 you are testing?

 On Fri, Feb 5, 2010 at 3:30 AM, QAguy qablogm...@gmail.com wrote:
  The first on didn't work. I tried the second one you provided:

  browser.div(:for,
  folder_name).text_field(:id,folder_name).set(Watir test folder)

  and I got this error:

  JsshSocket::JSSyntaxError in 'Check folder page menu options and
  modals should allow the user move the video to a newly created folder'
   missing ; before statement

  I also tried

  browser.div(:class, item).text_field(:id,folder_name).set(Watir
  test folder)

  and got the same error.

  Here is the div code:

  div class=itemlabel for=folder_name class= text_fieldOr,
  move to a new folder:/labelinput type=text size=30
  name=folder[name] id=folder_name class=text_field/div

  Does anyone know what this error is?

  Thanks

  On Feb 2, 4:56 pm, Super Kevy kpe...@scholarshipamerica.org wrote:
   try

browser.text_field(:for, folder_name).set('Watir test folder')

   or you may need to set the div element in the object:

   browser.div(:id,whateveritis).text_field(:id,folder_name).set
   (Watir test folder)

   On Feb 2, 10:29 am,QAguyqablogm...@gmail.com wrote:

I am trying to enter data into a modal window from my site. Here is
the site code:

label class= text_field for=folder_nameOr, move to a new
folder:/labelinput class=text_field id=folder_name name=folder
[name] size=30 type=text

To enter data into the text_field I do:

browser.text_field(:id, folder_name).set('Watir test folder')

This works fine in safariwatir but in firewatir I get the following
error:

Unable to locate element, using :id, folder_name

Does anyone know what would cause this? Is it because this is a site
modal?

Thanks in advance.

  --
  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.comwatir-general%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/watir-general

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


Re: [wtr-general] Re: Firewatir cannot find an element on the page

2010-02-05 Thread Yuping Zhong
Hi,

Can you give more info that how to go to the folder page?

Right now,I don't know how to flow to that page.

Thanks!

-Zhong

On Fri, Feb 5, 2010 at 11:35 PM, QAguy qablogm...@gmail.com wrote:

 Yes. www.motionbox.com

 Modals are on the folder pages.



 On Feb 5, 3:08 am, Angrez Singh ang...@gmail.com wrote:
  Is it something that we can see online? I mean is there a website on
 which
  you are testing?
 
  On Fri, Feb 5, 2010 at 3:30 AM, QAguy qablogm...@gmail.com wrote:
   The first on didn't work. I tried the second one you provided:
 
   browser.div(:for,
   folder_name).text_field(:id,folder_name).set(Watir test folder)
 
   and I got this error:
 
   JsshSocket::JSSyntaxError in 'Check folder page menu options and
   modals should allow the user move the video to a newly created folder'
missing ; before statement
 
   I also tried
 
   browser.div(:class, item).text_field(:id,folder_name).set(Watir
   test folder)
 
   and got the same error.
 
   Here is the div code:
 
   div class=itemlabel for=folder_name class= text_fieldOr,
   move to a new folder:/labelinput type=text size=30
   name=folder[name] id=folder_name class=text_field/div
 
   Does anyone know what this error is?
 
   Thanks
 
   On Feb 2, 4:56 pm, Super Kevy kpe...@scholarshipamerica.org wrote:
try
 
 browser.text_field(:for, folder_name).set('Watir test folder')
 
or you may need to set the div element in the object:
 
browser.div(:id,whateveritis).text_field(:id,folder_name).set
(Watir test folder)
 
On Feb 2, 10:29 am,QAguyqablogm...@gmail.com wrote:
 
 I am trying to enter data into a modal window from my site. Here is
 the site code:
 
 label class= text_field for=folder_nameOr, move to a new
 folder:/labelinput class=text_field id=folder_name
 name=folder
 [name] size=30 type=text
 
 To enter data into the text_field I do:
 
 browser.text_field(:id, folder_name).set('Watir test folder')
 
 This works fine in safariwatir but in firewatir I get the following
 error:
 
 Unable to locate element, using :id, folder_name
 
 Does anyone know what would cause this? Is it because this is a
 site
 modal?
 
 Thanks in advance.
 
   --
   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.comwatir-general%2bunsubscr...@googlegroups.com
 watir-general%2bunsubscr...@googlegroups.comwatir-general%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/watir-general

 --
 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.comwatir-general%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/watir-general


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


[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-04 Thread QAguy
The first on didn't work. I tried the second one you provided:

browser.div(:for,
folder_name).text_field(:id,folder_name).set(Watir test folder)

and I got this error:

JsshSocket::JSSyntaxError in 'Check folder page menu options and
modals should allow the user move the video to a newly created folder'
 missing ; before statement

I also tried

browser.div(:class, item).text_field(:id,folder_name).set(Watir
test folder)

and got the same error.

Here is the div code:

div class=itemlabel for=folder_name class= text_fieldOr,
move to a new folder:/labelinput type=text size=30
name=folder[name] id=folder_name class=text_field/div

Does anyone know what this error is?

Thanks

On Feb 2, 4:56 pm, Super Kevy kpe...@scholarshipamerica.org wrote:
 try

  browser.text_field(:for, folder_name).set('Watir test folder')

 or you may need to set the div element in the object:

 browser.div(:id,whateveritis).text_field(:id,folder_name).set
 (Watir test folder)

 On Feb 2, 10:29 am,QAguyqablogm...@gmail.com wrote:

  I am trying to enter data into a modal window from my site. Here is
  the site code:

  label class= text_field for=folder_nameOr, move to a new
  folder:/labelinput class=text_field id=folder_name name=folder
  [name] size=30 type=text

  To enter data into the text_field I do:

  browser.text_field(:id, folder_name).set('Watir test folder')

  This works fine in safariwatir but in firewatir I get the following
  error:

  Unable to locate element, using :id, folder_name

  Does anyone know what would cause this? Is it because this is a site
  modal?

  Thanks in advance.

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


[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-04 Thread QAguy
The first on didn't work. I tried the second one you provided:

browser.div(:for,
folder_name).text_field(:id,folder_name).set(Watir test folder)

and I got this error:

JsshSocket::JSSyntaxError in 'Check folder page menu options and
modals should allow the user move the video to a newly created folder'
 missing ; before statement

I also tried

browser.div(:class, item).text_field(:id,folder_name).set(Watir
test folder)

and got the same error.

Here is the div code:

div class=itemlabel for=folder_name class= text_fieldOr,
move to a new folder:/labelinput type=text size=30
name=folder[name] id=folder_name class=text_field/div

Does anyone know what this error is?

Thanks

On Feb 2, 4:56 pm, Super Kevy kpe...@scholarshipamerica.org wrote:
 try

  browser.text_field(:for, folder_name).set('Watir test folder')

 or you may need to set the div element in the object:

 browser.div(:id,whateveritis).text_field(:id,folder_name).set
 (Watir test folder)

 On Feb 2, 10:29 am,QAguyqablogm...@gmail.com wrote:

  I am trying to enter data into a modal window from my site. Here is
  the site code:

  label class= text_field for=folder_nameOr, move to a new
  folder:/labelinput class=text_field id=folder_name name=folder
  [name] size=30 type=text

  To enter data into the text_field I do:

  browser.text_field(:id, folder_name).set('Watir test folder')

  This works fine in safariwatir but in firewatir I get the following
  error:

  Unable to locate element, using :id, folder_name

  Does anyone know what would cause this? Is it because this is a site
  modal?

  Thanks in advance.

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


[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Its not a frame. Its a div which contains a table.

On Feb 2, 11:42 am, Angrez Singh ang...@gmail.com wrote:
 What do you mean by site modal? Is the text_field inside frame?

 On Tue, Feb 2, 2010 at 9:59 PM, QAguy qablogm...@gmail.com wrote:
  I am trying to enter data into a modal window from my site. Here is
  the site code:

  label class= text_field for=folder_nameOr, move to a new
  folder:/labelinput class=text_field id=folder_name name=folder
  [name] size=30 type=text

  To enter data into the text_field I do:

  browser.text_field(:id, folder_name).set('Watir test folder')

  This works fine in safariwatir but in firewatir I get the following
  error:

  Unable to locate element, using :id, folder_name

  Does anyone know what would cause this? Is it because this is a site
  modal?

  Thanks in advance.

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

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


[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Tried that as and got the same error.

On Feb 2, 2:01 pm, tester86 sagar.am...@gmail.com wrote:
 Try

 broswer.text_field(:name, folder[name]).set(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


[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread QAguy
Tried that *also* and got the same error

On Feb 2, 2:14 pm, QAguy qablogm...@gmail.com wrote:
 Tried that as and got the same error.

 On Feb 2, 2:01 pm, tester86 sagar.am...@gmail.com wrote:

  Try

  broswer.text_field(:name, folder[name]).set(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


[wtr-general] Re: Firewatir cannot find an element on the page

2010-02-02 Thread Super Kevy
try

 browser.text_field(:for, folder_name).set('Watir test folder')

or you may need to set the div element in the object:

browser.div(:id,whateveritis).text_field(:id,folder_name).set
(Watir test folder)




On Feb 2, 10:29 am, QAguy qablogm...@gmail.com wrote:
 I am trying to enter data into a modal window from my site. Here is
 the site code:

 label class= text_field for=folder_nameOr, move to a new
 folder:/labelinput class=text_field id=folder_name name=folder
 [name] size=30 type=text

 To enter data into the text_field I do:

 browser.text_field(:id, folder_name).set('Watir test folder')

 This works fine in safariwatir but in firewatir I get the following
 error:

 Unable to locate element, using :id, folder_name

 Does anyone know what would cause this? Is it because this is a site
 modal?

 Thanks in advance.

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