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

2009-09-30 Thread Pallavi Sharma
Hey Srikanth That actually worked... :) thanks but the problem still remains. I believe there is some event which is getting fired, coz the desired results are not being produced somehow. Any idea? if thats the case, or something else could be the reason? Thanks Pallavi. On Wed, Sep 30, 2009

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

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

[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 littlezhong...@gmail.com 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

[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 tumbaol...@yahoo.com 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 -

[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 write2pall...@gmail.com 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 -

[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 write2pall...@gmail.com 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

[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 write2pall...@gmail.com 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 -

[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 write2pall...@gmail.com wrote: The App doesn't work on FireFox It actively refuses to open the page? It says Sorry, no

[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 write2pall...@gmail.comwrote: 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

[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 write2pall...@gmail.com 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

[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 zeljko.fili...@wa-research.ch wrote: On Wed, Sep 30, 2009 at 12:18 PM, Pallavi Sharma

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

[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

[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 greet.ven...@gmail.com wrote: Thanks for your response Raveendran, I have executed the

[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 bpettich...@gmail.com wrote: ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)} Watir::HTMLElement Watir::Link Watir::Image

[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

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

2009-09-30 Thread Angrez Singh
In text_field you can add textarea 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

[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 InputElement text_field column On Wed, Sep 30, 2009 at 6:09 PM, Angrez Singh ang...@gmail.com wrote: In text_field you can add textarea as well. On Wed, Sep 30, 2009 at 5:46 PM, Željko Filipin

[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 zeljko.fili...@wa-research.ch 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

[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

[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 billa...@gmail.com 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

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

2009-09-30 Thread Angrez Singh
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. - 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 ang...@gmail.com

[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: 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 zeljko.fili...@wa-research.ch wrote: I have: - moved Methods Supported by Element wiki page from Start Here to Summary - created Summary