[wtr-general] Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
Hi I have a scenario in which we have third party combo boxes in the app which are defined as: INPUT class=dojoComboBox autoSelectBox __doClobber__ autocomplete=off dojoAttachPoint=textInputNode dojoAttachEvent=key:_handleKeyEvents; keyUp: onKeyUp; compositionEnd; onResize; value= / Is there

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread kiran yajamanyam
Try with index. This will be the best way. Regards, Kiran On Thu, Oct 1, 2009 at 11:58 AM, Pallavi Sharma write2pall...@gmail.comwrote: Hi I have a scenario in which we have third party combo boxes in the app which are defined as: INPUT class=dojoComboBox autoSelectBox __doClobber__

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
Thanks did that works, but it works as a text _field so will it be okay to do so? On Thu, Oct 1, 2009 at 12:00 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: Try with index. This will be the best way. Regards, Kiran On Thu, Oct 1, 2009 at 11:58 AM, Pallavi Sharma

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
Well It will be great to have the function and i did and figured out the index, But still if you may please share the function that will be helpful Regards Pallavi. On Thu, Oct 1, 2009 at 12:14 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: yes it will work, just do trial and error

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Željko Filipin
On Thu, Oct 1, 2009 at 8:28 AM, Pallavi Sharma write2pall...@gmail.com wrote: INPUT class=dojoComboBox autoSelectBox __doClobber__ autocomplete=off dojoAttachPoint=textInputNode dojoAttachEvent=key:_handleKeyEvents; keyUp: onKeyUp; compositionEnd; onResize; value= / browser.text_field(:class,

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
Zeljko I tried using class, but this doesn't work, only index worked. XPath is also a good idea will try it Thanks :) On Thu, Oct 1, 2009 at 1:25 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 1, 2009 at 8:28 AM, Pallavi Sharma write2pall...@gmail.com wrote: INPUT

[wtr-general] Watir Podcast #27: Angrez Singh on FireWatir

2009-10-01 Thread Željko Filipin
Sai and I talk with Angrez about FireWatir, Watir and their merge, replacing JSSH with Firedriver, XPath, Firewatir-Gen, Google Summer of Code™, Bangalore Watir user group, WatiN, Indian music… http://watirpodcast.com/27-angrez-singh-on-firewatir/ Željko -- http://watirpodcast.com/

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Željko Filipin
On Thu, Oct 1, 2009 at 10:19 AM, Pallavi Sharma write2pall...@gmail.com wrote: I tried using class, but this doesn't work, only index worked. doesn't work does not tell me a lot. You can combine class and index: browser.text_field(:class = dojoComboBox autoSelectBox, :index = 2).set some text

[wtr-general] Re: Load Testing with WATIR configuration settings - USERS/ Concurrency/ Rampup

2009-10-01 Thread Željko Filipin
On Thu, Oct 1, 2009 at 11:32 AM, venkat greet.ven...@gmail.com wrote: I got the following message attached file that confirms Watir installation successfully, after that I have executed the same Test.rb file and again saw the same error and and also executed the google_search.rb example script

[wtr-general] Re: Html Elements Supported by Watir

2009-10-01 Thread Željko Filipin
On Wed, Sep 30, 2009 at 5:27 PM, Angrez Singh ang...@gmail.com wrote: Just had a look input type=textarea there is no such thing type=textarea. There is textarea tag separately for that. We can remove that. Done. Removed input type=textarea from:

[wtr-general] Methods Supported by Element

2009-10-01 Thread Željko Filipin
I have renamed Methods Supported by Element to Watir Methods Supported by HTML Element. The old title never made much sense to me. Please let me know if you do not like the new title. http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+Element Željko -- http://watirpodcast.com/

[wtr-general] Re: Summary wiki page

2009-10-01 Thread Željko Filipin
On Thu, Oct 1, 2009 at 2:32 AM, Alister Scott alister.sc...@gmail.com wrote: The Summary section on http://wiki.openqa.org/display/WTR/Project+Home looks like a good idea. Thanks. For a long time I wished that it existed, and then i decided to make my wish come true. :) Željko

[wtr-general] Fire Watir and Watir and fetch object text

2009-10-01 Thread Pallavi Sharma
Hi All I have a problem, I have a DIV tag for which i need to fetch the text. Is it possible that when i open the page in IE and use watir and when i open the page in firefox and use Fire watir the text fetched are a bit different and contains some extra characters Please let me know if there is

[wtr-general] Collections of HTML Elements

2009-10-01 Thread Željko Filipin
I have created a new wiki page, Collections of HTML Elements: http://wiki.openqa.org/display/WTR/Collections+of+HTML+Elements Please take a look and fix if anything is broken, or let me know and I will fix it. I have noticed that table cells and rows are have TableCells and TableRows class

[wtr-general] Re: Fire Watir and Watir and fetch object text

2009-10-01 Thread John Kolokotronis
I've come across this before - there are typically additional characters retrieved using the .text method with FireWatir - you could just use a gsub on the text to strip out the extra characters (if there are no matches, as will be the case for IE, no characters will be stripped out). I think you

[wtr-general] Re: Fire Watir and Watir and fetch object text

2009-10-01 Thread Pallavi Sharma
Thanks John for a quick reply will try and get back. On Thu, Oct 1, 2009 at 6:02 PM, John Kolokotronis johnj...@gmail.comwrote: I've come across this before - there are typically additional characters retrieved using the .text method with FireWatir - you could just use a gsub on the text to

[wtr-general] Re: Third Party Combo Boxes in an Input Tag

2009-10-01 Thread Pallavi Sharma
I know multiple attributes. Doesn;t work means not able to identify the object when i used :class property and the value. Will try in combination with index although i doubt. Thanks On Thu, Oct 1, 2009 at 2:02 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 1, 2009 at

[wtr-general] Re: adding utf-8 character to text fields

2009-10-01 Thread Loft_Tester
Ok, I tried to add this. Here is the link http://wiki.openqa.org/display/WTR/Adding+UTF-8+characters+to+text+fields. I do not see it appear in examples. not really sure what I may have done wrong. On Sep 30, 8:51 am, Loft_Tester aaronr...@gmail.com wrote: I'll give it a shot. Thanks  There is

[wtr-general] Re: adding utf-8 character to text fields

2009-10-01 Thread Željko Filipin
On Thu, Oct 1, 2009 at 4:30 PM, Loft_Tester aaronr...@gmail.com wrote: I do not see it appear in examples. Fixed. I have moved it from child of Examples page to child of Advanced Examples. Examples page is autogenerated, and shows only childen of it's children. Take a look at page source if you

[wtr-general] Re: adding utf-8 character to text fields

2009-10-01 Thread Jari Bakken
On Thu, Oct 1, 2009 at 4:42 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 1, 2009 at 4:30 PM, Loft_Tester aaronr...@gmail.com wrote: I do not see it appear in examples. Fixed. Actually, UTF-8 is the default in Watir since this commit: