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

2009-09-30 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 wrote: > yes it will work, just do trial and error basis by changing index val

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

2009-09-30 Thread kiran yajamanyam
yes it will work, just do trial and error basis by changing index value from 1 until you get the correct one. Still if didnt work let me know i will give you a small function where you can get the index value at run time for your text field On Thu, Oct 1, 2009 at 12:11 PM, Pallavi Sharma wrote: >

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

2009-09-30 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 wrote: > Try with index. This will be the best way. > > Regards, > Kiran > > > On Thu, Oct 1, 2009 at 11:58 AM, Pallavi Sharma > wrote: > >> Hi >> >> I have a sce

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

2009-09-30 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 wrote: > Hi > > I have a scenario in which we have third party combo boxes in the app which > are defined as: > > dojoAttachPoint="textInputNode" dojoAttachEvent="key:_handleKeyEvents; > ke

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

2009-09-30 Thread Pallavi Sharma
Hi I have a scenario in which we have third party combo boxes in the app which are defined as: Is there any way in watir i can use to identify this object so that i can perform operations like selecting an element? ALso it allows typing on it, so maybe setting text or something like that shou

[wtr-general] Re: Summary wiki page

2009-09-30 Thread Alister Scott
Željko The Summary section on http://wiki.openqa.org/display/WTR/Project+Home looks like a good idea. Cheers, Alister On Sep 30, 11:28 pm, Željko Filipin wrote: > I have: > > - moved Methods Supported by Element wiki page from Start Here to Summary > - created Summary section at Project Home p

[wtr-general] Re: Elements supported by Watir

2009-09-30 Thread Alister Scott
I can't get Bret's code to work either. I tried all classes and Watir::Element is not included My Code: require 'Watir' def is_element_subclass? klass while klass = klass.superclass return true end end ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)} Cheers, Alister

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

2009-09-30 Thread Angrez Singh
Just had a look there is no such thing type="textarea". There is tag separately for that. We can remove that. - Angrez On Wed, Sep 30, 2009 at 7:08 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Wed, Sep 30, 2009 at 2:40 PM, Angrez Singh wrote: > > you may want to remove &

[wtr-general] Re: Trying to get xpath to recognize long string with possible special characters... not working

2009-09-30 Thread bert
Thanks Bill, that worked perfectly! On Sep 30, 2:59 am, Bill Agee wrote: > Would it work to use just a fragment of the onclick value?  If so, you can > try locating the element using XPath string functions like this: > > ie.link(:xpath, "//a[starts-with(@onclick, 'dijit')]").click > > ie.link(:x

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

2009-09-30 Thread Željko Filipin
On Wed, Sep 30, 2009 at 2:40 PM, Angrez Singh wrote: > you may want to remove & column Thanks! Removed InputElement row, moved input tag to TextField row. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[wtr-general] Summary wiki page

2009-09-30 Thread Željko Filipin
I have: - moved Methods Supported by Element wiki page from Start Here to Summary - created Summary section at Project Home page - added HTML Elements Supported by Watir page to Summary section It made sense to me to have all pages with similar content grouped. Please let me know if you disagree.

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

2009-09-30 Thread Loft_Tester
I'll give it a shot. Thanks There is a lot to know when working with UTF-8. On Sep 30, 4:09 am, Željko Filipin wrote: > Would you put this on our wiki? I guess the best place is in `Learning > More`section. > > http://wiki.openqa.org/display/WTR/Learning+More > > There are a lot of people that

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

2009-09-30 Thread Angrez Singh
sorry that is already there in last column.. you may want to remove & column On Wed, Sep 30, 2009 at 6:09 PM, Angrez Singh wrote: > In text_field you can add as well. > > > On Wed, Sep 30, 2009 at 5:46 PM, Željko Filipin < > zeljko.fili...@wa-research.ch> wrote: > >> I have just created Html

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

2009-09-30 Thread Angrez Singh
In text_field you can add as well. On Wed, Sep 30, 2009 at 5:46 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > I have just created Html Elements Supported by Watir wiki page: > > http://wiki.openqa.org/display/WTR/Html+Elements+Supported+by+Watir > > Please take a look and fix if a

[wtr-general] Html Elements Supported by Watir

2009-09-30 Thread Željko Filipin
I have just created Html Elements Supported by Watir wiki page: http://wiki.openqa.org/display/WTR/Html+Elements+Supported+by+Watir Please take a look and fix if anything is broken. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this messag

[wtr-general] Re: Load Testing with WATIR

2009-09-30 Thread Raveendran P
Hi All, I replied to him in other thread. So just skip this conversation. Thanks On Wed, Sep 30, 2009 at 5:21 PM, venkat wrote: > but it is thwowing the below error while executing, can you please give > some tips for successfull execution of these scripts. > > > c:\ruby/lib/ruby/site_ruby/1.8

[wtr-general] Re: Elements supported by Watir

2009-09-30 Thread Željko Filipin
Frame is missing from this list. I guess it makes sense, but it is still missing. Željko On Mon, Sep 28, 2009 at 6:08 PM, Bret Pettichord wrote: > >> ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)} > Watir::HTMLElement > Watir::Link > Watir::Image > Watir::TableCell > Watir

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

2009-09-30 Thread Raveendran P
Hi Venkat, Yes. It seems you didn't install watir in your machine. 1. in command prompt >gem install watir After installed watir just try once again Thanks On Wed, Sep 30, 2009 at 5:18 PM, venkat wrote: > Thanks for your response Raveendran, > > I have executed the sample script as the fol

[wtr-general] Re: Load Testing with WATIR

2009-09-30 Thread venkat
but it is thwowing the below error while executing, can you please give some tips for successfull execution of these scripts. c:\ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'gem_original_require': no such file to load -- watir (LoadError) thanks venky On Tue, Sep 29, 2009 at 7:

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

2009-09-30 Thread venkat
Thanks for your response Raveendran, I have executed the sample script as the following but got the error like ... C:\RubyScripts/test.rb:15:in 'require' : no such file to load -- watir (LoadError) from C:/RubyScripts/test.rb:15 test.rb file contains the following sample code. re

[wtr-general] Re: Issue with a Calendar in a Div /Table Object

2009-09-30 Thread Betsy
Chose the Internet Explorer 6 agent. The links on this site do not work when opened on Mozilla and even after changing the User Agent, it isn't working. On Sep 30, 3:19 pm, Željko Filipin wrote: > On Wed, Sep 30, 2009 at 12:18 PM, Pallavi Sharma > wrote: > > > Tried, doesn;t open the App

[wtr-general] Re: Issue with a Calendar in a Div /Table Object

2009-09-30 Thread Željko Filipin
On Wed, Sep 30, 2009 at 12:18 PM, Pallavi Sharma wrote: > Tried, doesn;t open the App What the app said? What user agent did you choose? Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" gr

[wtr-general] Re: Issue with a Calendar in a Div /Table Object

2009-09-30 Thread Pallavi Sharma
Tried, doesn;t open the App On Wed, Sep 30, 2009 at 3:32 PM, Pallavi Sharma wrote: > Thanks, > > will try and let u know. > > > On Wed, Sep 30, 2009 at 3:29 PM, Željko Filipin < > zeljko.fili...@wa-research.ch> wrote: > >> On Wed, Sep 30, 2009 at 11:33 AM, Pallavi Sharma >> wrote: >> > The A

[wtr-general] Re: Issue with a Calendar in a Div /Table Object

2009-09-30 Thread Pallavi Sharma
Thanks, will try and let u know. On Wed, Sep 30, 2009 at 3:29 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Wed, Sep 30, 2009 at 11:33 AM, Pallavi Sharma > wrote: > > The App doesn't work on FireFox > > It actively refuses to open the page? It says "Sorry, no Firefox here."? >

[wtr-general] Re: Issue with a Calendar in a Div /Table Object

2009-09-30 Thread Željko Filipin
On Wed, Sep 30, 2009 at 11:33 AM, Pallavi Sharma wrote: > The App doesn't work on FireFox It actively refuses to open the page? It says "Sorry, no Firefox here."? Can you use a tool like this to fake user agent and make Firefox pretend it is IE? User Agent Switcher - https://addons.mozilla.org/

[wtr-general] Re: Issue with a Calendar in a Div /Table Object

2009-09-30 Thread Željko Filipin
On Wed, Sep 30, 2009 at 11:33 AM, Pallavi Sharma wrote: > anything similar for IE?? I do not know. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to

[wtr-general] Re: Issue with a Calendar in a Div /Table Object

2009-09-30 Thread Pallavi Sharma
The App doesn't work on FireFox :( anything similar for IE?? On Wed, Sep 30, 2009 at 2:14 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Wed, Sep 30, 2009 at 8:32 AM, Pallavi Sharma > wrote: > > I believe there is some event which is getting fired > > To find out which event is

[wtr-general] Re: Issue with a Calendar in a Div /Table Object

2009-09-30 Thread Željko Filipin
On Wed, Sep 30, 2009 at 8:32 AM, Pallavi Sharma wrote: > I believe there is some event which is getting fired To find out which event is fired, install this Firefox add-ons: DOM Inspector (Event Spy need is) - https://addons.mozilla.org/en-US/firefox/addon/6622 Event Spy - https://addons.mozilla

[wtr-general] Re: Trying to get xpath to recognize long string with possible special characters... not working

2009-09-30 Thread Željko Filipin
On Wed, Sep 30, 2009 at 3:55 AM, bert wrote: > I have tried several of the following and not sure what Im doing > wrong. XPath is black magic for me, but there are a few tools that could help: XPather - https://addons.mozilla.org/en-US/firefox/addon/1192 XPath Checker - https://addons.mozilla.or

[wtr-general] Re: Cannot use the index in SafariWatir

2009-09-30 Thread Željko Filipin
On Wed, Sep 30, 2009 at 4:45 AM, yuping zhong wrote: > irb(main):013:0> sf.button(:index=>"1").click Does this work? sf.button(:index, "1").click Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir Gener

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

2009-09-30 Thread Željko Filipin
Would you put this on our wiki? I guess the best place is in `Learning More`section. http://wiki.openqa.org/display/WTR/Learning+More There are a lot of people that have UTF-8 related problems. Please let me know if you need help with wiki. Željko -- http://watirpodcast.com/ On Tue, Sep 29, 2

[wtr-general] Re: Trying to get xpath to recognize long string with possible special characters... not working

2009-09-30 Thread Bill Agee
Would it work to use just a fragment of the onclick value? If so, you can try locating the element using XPath string functions like this: ie.link(:xpath, "//a[starts-with(@onclick, 'dijit')]").click ie.link(:xpath, "//a[contains(@onclick, 'taskId=6')]").click I may be missing a less complicate