[wtr-general] Re: adding utf-8 character to text fields
It will be 1.6.5. On Oct 3, 10:28 am, Jari Bakken jari.bak...@gmail.com wrote: Jari, can you please update the page? I am not sure what to do. Željko I've updated the page with an example of how to revert to the old behaviour. Since I'm not sure what version number the next Watir version (which includes the switch to UTF-8) will have, I just put 1.X.X there for now. --~--~-~--~~~---~--~~ 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: adding utf-8 character to text fields
Jari, can you please update the page? I am not sure what to do. Željko I've updated the page with an example of how to revert to the old behaviour. Since I'm not sure what version number the next Watir version (which includes the switch to UTF-8) will have, I just put 1.X.X there for now. --~--~-~--~~~---~--~~ 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: adding utf-8 character to text fields
On Thu, Oct 1, 2009 at 8:36 PM, Jari Bakken jari.bak...@gmail.com wrote: Actually, UTF-8 is the default in Watir Jari, can you please update the page? I am not sure what to do. Ž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 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: adding utf-8 character to text fields
This may cause issues for some of our test where we are using high ascii characters not encoded in UTF-8. All of our test are data driven through excel we may just have to change the values to be UTF-8 encoded. Is there any Idea when the next version of watir is due out On Oct 2, 8:07 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 1, 2009 at 8:36 PM, Jari Bakken jari.bak...@gmail.com wrote: Actually, UTF-8 is the default in Watir Jari, can you please update the page? I am not sure what to do. Ž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 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: adding utf-8 character to text fields
I feel like I'm taking the short bus to wiki school. I believe I figured out how to add my example to the correct place but adding myself as a contributer of documentation is not going well at all. Would one of you guys give me a quick tutorial. That would be great thanks. On Oct 1, 10:42 am, Ž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. 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 want to know more. http://wiki.openqa.org/display/WTR/Examples Thanks for the contribution. Please add yourself to documentation contributors at: http://wiki.openqa.org/display/WTR/Contributors Ž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 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: adding utf-8 character to text fields
On Fri, Oct 2, 2009 at 3:09 PM, Loft_Tester aaronr...@gmail.com wrote: adding myself as a contributer of documentation is not going well at all. Would one of you guys give me a quick tutorial. - log in to wiki - go to http://wiki.openqa.org/display/WTR/Contributors - click `Edit` (top lef) - click `Wiki Markup` (left) - optional, I just do not like to work with rich text - find: - [Karim Rayani|~karim.goa] -- Updated [Watir Methods Supported by HTML Element] - add under it (remove quotes): - [Aaron Roy|~lofttester] -- Created [Adding UTF-8 characters to text fields] - click `Preview` - optional, just to make sure everything looks fine - in `Comment` text box (bottom left) enter something like (remove quotes): `added myself to documentation contributors` - click `Save` (bottom right) - click `(view changehttp://wiki.openqa.org/pages/diffpages.action?pageId=12517382originalId=24117281 )` - optional, just to take a quick look what is actually changed Please let me know if you need more help with the wiki. Ž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 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: adding utf-8 character to text fields
Thanks that worked great On Oct 2, 9:33 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 2, 2009 at 3:09 PM, Loft_Tester aaronr...@gmail.com wrote: adding myself as a contributer of documentation is not going well at all. Would one of you guys give me a quick tutorial. - log in to wiki - go tohttp://wiki.openqa.org/display/WTR/Contributors - click `Edit` (top lef) - click `Wiki Markup` (left) - optional, I just do not like to work with rich text - find: - [Karim Rayani|~karim.goa] -- Updated [Watir Methods Supported by HTML Element] - add under it (remove quotes): - [Aaron Roy|~lofttester] -- Created [Adding UTF-8 characters to text fields] - click `Preview` - optional, just to make sure everything looks fine - in `Comment` text box (bottom left) enter something like (remove quotes): `added myself to documentation contributors` - click `Save` (bottom right) - click `(view changehttp://wiki.openqa.org/pages/diffpages.action?pageId=12517382origina... )` - optional, just to take a quick look what is actually changed Please let me know if you need more help with the wiki. Ž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 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: adding utf-8 character to text fields
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 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 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, 2009 at 5:11 PM, Loft_Tester aaronr...@gmail.com wrote: I got this to work. Here is the code: require 'win32ole' require 'watir' WIN32OLE.codepage = WIN32OLE::CP_UTF8 #UTF-8 ### $Browser = nil ENV[watir_browser]=ie $Browser = Watir::Browser.new $Browser.goto www.google.com $Browser.text_field(:name,'q').value = 考 $Browser.text_field(:name,'q').value = \xE8\x80\x83 ### --~--~-~--~~~---~--~~ 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: adding utf-8 character to text fields
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 want to know more. http://wiki.openqa.org/display/WTR/Examples Thanks for the contribution. Please add yourself to documentation contributors at: http://wiki.openqa.org/display/WTR/Contributors Ž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 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: adding utf-8 character to text fields
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: http://github.com/bret/watir/commit/466332be758a43c6045374c6c6ca03827688e151 See the commit message for how to revert to the old codepage. Perhaps that should be added to the wiki as well? --~--~-~--~~~---~--~~ 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: adding utf-8 character to text fields
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, 2009 at 5:11 PM, Loft_Tester aaronr...@gmail.com wrote: I got this to work. Here is the code: require 'win32ole' require 'watir' WIN32OLE.codepage = WIN32OLE::CP_UTF8 #UTF-8 ### $Browser = nil ENV[watir_browser]=ie $Browser = Watir::Browser.new $Browser.goto www.google.com $Browser.text_field(:name,'q').value = 考 $Browser.text_field(:name,'q').value = \xE8\x80\x83 ### --~--~-~--~~~---~--~~ 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: adding utf-8 character to text fields
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 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, 2009 at 5:11 PM, Loft_Tester aaronr...@gmail.com wrote: I got this to work. Here is the code: require 'win32ole' require 'watir' WIN32OLE.codepage = WIN32OLE::CP_UTF8 #UTF-8 ### $Browser = nil ENV[watir_browser]=ie $Browser = Watir::Browser.new $Browser.goto www.google.com $Browser.text_field(:name,'q').value = 考 $Browser.text_field(:name,'q').value = \xE8\x80\x83 ### --~--~-~--~~~---~--~~ 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: adding utf-8 character to text fields
Ok, I got this to work. Here is the code: require 'win32ole' require 'watir' WIN32OLE.codepage = WIN32OLE::CP_UTF8 #UTF-8 ### $Browser = nil ENV[watir_browser]=ie $Browser = Watir::Browser.new $Browser.goto www.google.com $Browser.text_field(:name,'q').value = 考 $Browser.text_field(:name,'q').value = \xE8\x80\x83 ### On Sep 28, 4:11 pm, Loft_Tester aaronr...@gmail.com wrote: This link will give more information about the character including Scripting-language stringhttp://www.isthisthingon.org/unicode/clipboard.php?add=25911 On Sep 28, 4:01 pm, Loft_Tester aaronr...@gmail.com wrote: I am trying to enter a japanese(UTF8) character into one of the fields on our web page and I keep having ç ¾ posted instead of 攷. I believe I have to let watir know that I am using UTF-8 but how. I had the same problem going to the google.com home page. I can copy and paste the character above and it works fine. Here is the code I have been working with. --- --- require 'watir' $KCODE='u' require 'win32ole' WIN32OLE.codepage = WIN32OLE::CP_ACP #UTF8 ### $Browser = nil ENV[watir_browser]=ie $Browser = Watir::Browser.new $Browser.goto www.google.com $Browser.text_field(:name,'q').set(攷) # This should be simple enough to do but I am not sure how. Thanks for your help --~--~-~--~~~---~--~~ 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: adding utf-8 character to text fields
This link will give more information about the character including Scripting-language string http://www.isthisthingon.org/unicode/clipboard.php?add=25911 On Sep 28, 4:01 pm, Loft_Tester aaronr...@gmail.com wrote: I am trying to enter a japanese(UTF8) character into one of the fields on our web page and I keep having ç ¾ posted instead of 攷. I believe I have to let watir know that I am using UTF-8 but how. I had the same problem going to the google.com home page. I can copy and paste the character above and it works fine. Here is the code I have been working with. --- --- require 'watir' $KCODE='u' require 'win32ole' WIN32OLE.codepage = WIN32OLE::CP_ACP #UTF8 ### $Browser = nil ENV[watir_browser]=ie $Browser = Watir::Browser.new $Browser.goto www.google.com $Browser.text_field(:name,'q').set(攷) # This should be simple enough to do but I am not sure how. Thanks for your help --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---