Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljko The problem is that its not mentioned that the input is of type text, like it should in case its a text field. Will watir work with such html code, where its just written input ... Kindly answer this, the browser depicts its a text field. Thanks for the help so far. Regards Pallavi.

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Željko Filipin
On Tue, Jan 19, 2010 at 10:49 AM, Pallavi Sharma write2pall...@gmail.com wrote: The problem is that its not mentioned that the input is of type text, like it should in case its a text field. My browsers display it as text field. I think input tag defaults to text if no type attribute is

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Ok Zeljko Thanks, for the info i would check and revert back the same. Regards Pallavi. On Tue, Jan 19, 2010 at 3:28 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Jan 19, 2010 at 10:49 AM, Pallavi Sharma write2pall...@gmail.com wrote: The problem is that its not

[wtr-general] Re: How to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5

2010-01-19 Thread jnxgn
Thanks a lot, I had tried before but it did not work. On 1月19日, 上午10时45分, Wesley Chen cjq@gmail.com wrote: Try: $ie.text_field(:name, keyword).value = 你好 I have not replaced anything. Thanks. Wesley Chen. For life, the easier, the better. On Tue, Jan 19, 2010 at 12:11 AM, jnxgn

[wtr-general] Re: fire_event not fired in firewatir

2010-01-19 Thread al3kc
I use firewatir 1.6.5 but fire_event doesn't work properly for me too. I use the following cheat: module FireWatir module Container WINDOW_VAR = window BROWSER_VAR = browser DOCUMENT_VAR = document BODY_VAR = body end end and replace window_var and document_vat by

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljo I checked, but other elements are getting recognized with watir, but for this particula dojo kind element, we are not able to recognize. Anything else which we could try please.. Regards Pallavi. On Tue, Jan 19, 2010 at 3:48 PM, Pallavi Sharma write2pall...@gmail.comwrote: Ok Zeljko

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Željko Filipin
On Tue, Jan 19, 2010 at 2:38 PM, Pallavi Sharma write2pall...@gmail.com wrote: other elements are getting recognized with watir, but for this particula dojo kind element, we are not able to recognize. When you use the code I have provided, another element is recognized? Or you can recognize

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljko The latter one is true, its not indexing issue. The elements have different properties. Can it be possible, that the element doesn't allowing setting of text on it, in case of a dojo control...?? Regards Pallavi On Tue, Jan 19, 2010 at 7:12 PM, Željko Filipin

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Željko Filipin
On Tue, Jan 19, 2010 at 3:04 PM, Pallavi Sharma write2pall...@gmail.com wrote: Can it be possible, that the element doesn't allowing setting of text on it, in case of a dojo control...?? It is hard to tell when I can not see the page. Is it public? What do you get from this:

[wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-19 Thread tester86
Welsey, I changed my script according to what you mentioned above. When I run it in IE I get the following error message: NoMethodError: undefined method `text_field' for nil:NilClass All I am trying to do is to login to an application: $b.text_field(:name, username).set(user1)

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Pallavi Sharma
Zeljko Thanks for the help, the input elements were under a Span tag, so when i tried browser.span(:id,'sfg').text_field(:name,'dfrf) it worked... :) Thanks a lot for the help. The ip is not public, but i would surely share the screen shot with the IE developer tool bar for the same.

RE: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Dhruti Shah
Hello Zeljko: I try to unsubcribe this group. Is there any way you can remove my email id from this group.At one point i used to read it but not any more. My email id is gautamdhr...@hotmail.com. Dhruti Shah Family Fairfax, Virginia Date: Tue, 19 Jan 2010 19:34:37 +0530

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-19 Thread Željko Filipin
2010/1/19 Dhruti Shah gautamdhr...@hotmail.com Is there any way you can remove my email id from this group. Removed. Željko -- 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

[wtr-general] Re: fire_event not fired in firewatir

2010-01-19 Thread ad
I also have 1.6.5 on my machine. On Jan 19, 7:20 am, al3kc aleks.kiev...@gmail.com wrote: I use firewatir 1.6.5 but fire_event doesn't work properly for me too. I use the following cheat: module FireWatir   module Container     WINDOW_VAR = window     BROWSER_VAR = browser    

[wtr-general] Re: Bug in xpath parsing? (Regarding the call in nokogiri)

2010-01-19 Thread Matt Baker
You bet, thanks for producing such a great tool :) On Jan 18, 2:07 pm, Charley Baker charley.ba...@gmail.com wrote: Thanks for the submit. My systems are all kind of borked, after having played around with too many things to get prepped for a conference last week. Talked to Jari on IRC and got

Re: [wtr-general] Linux Firefox/JSSH issue

2010-01-19 Thread Aedorn Varanis
Well, knowing how to deal with the javascript popup isn't the issue. It's that the compiled version of Firefox that we are using, when JSSH is enabled, the popup does not come up whatsoever. Not using JSSH it works fine. Using the same compiling options in Firefox 3.6 (any version of it) works

[wtr-general] Re: Problem with authentication popup

2010-01-19 Thread AR
Howdy. Can you please paste the relevant code and any errors/output that you may be getting? What exactly happens instead of the expected behavior? Also, if you're able to share the site that you're testing, that might help. Thanks, Adam On Jan 19, 4:07 am, xguarder shams...@gmail.com wrote:

[wtr-general] Re: Problem with authentication popup

2010-01-19 Thread xguarder
Hi, I can't really share the site since it's a project still in development (hence why we have authentication to prevent outsiders from viewing the site). The code is pretty much just like the first example in the link above. I am calling handle_security_alert.rb from my main test exactly as done

Re: [wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-19 Thread Wesley Chen
You get that error message: NoMethodError: undefined method `text_field' for nil:NilClass Because the script can't find the browser, have you defined your browser?* require 'watir' require 'watir/testcase' class TestXXX Watir::TestCase def test_setup $b = Watir::IE.start(your url)

Re: [wtr-general] Re: How to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5

2010-01-19 Thread Wesley Chen
I use netbeans editor, it works. If you use different editor, please make sure the character set is right in the editor settings. Thanks. Wesley Chen. For life, the easier, the better. On Tue, Jan 19, 2010 at 7:32 PM, jnxgn s...@jnxgn.cn wrote: Thanks a lot, I had tried before but it did not

[wtr-general] Re: How to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5

2010-01-19 Thread jnxgn
Thanks a lot, I tried netbeans but failed after reading your post. Maybe operating systems and the encoding of firefox also counts, could you tell me what is your operating system and the encoding of your firefox. Best Wishes, On 1月20日, 上午10时53分, Wesley Chen cjq@gmail.com wrote: I use