[wtr-general] click the nodes in Rad Tree view
Hi All, Can anybody have any idea to click the nodes in a Rad Tree view. Rad tree view have the 10 nodes and i have to click 1st node, 2nd node and 3rd node and so on. Thanks, Khajs Shariff -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Radcombox automation
Hi All, We got the solution to click Rad combox drop down list and to select the value. $ie.link(:id,rcb__Arrow).click # It should be the link that will trigger the div to appear with the items # $ie.div(:id,what ).div(:class, what).ul(:class,what).li(:text,what).click Thanks, Khaja shariff On Tue, May 25, 2010 at 4:48 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: 2010/5/25 khaja shaik khaja.sh...@gmail.com Actually after clicking the drop down arrow in the combo box , values displayed in the separate iframe, thats why i cannot able to automate check tha attached screen shot Relevant code snippet is worth a thousand screen shots a wise man would say. You still did not say what is the problem. What did you try? Did you try this? browser.frame(how, what).select_list(how, what).set(something) Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Radcombox automation
Hi all, I am trying to select the value from drop down list of Rad combo box with watir. Is there any solution for this Thanks, Khaja shariff -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Radcombox automation
Actually after clicking the drop down arrow in the combo box , values displayed in the separate iframe, thats why i cannot able to automate check tha attached screen shot Thanks, Khaja shariff On Tue, May 25, 2010 at 4:08 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, May 25, 2010 at 12:36 PM, khaja shaik khaja.sh...@gmail.com wrote: I am trying to select the value from drop down list of Rad combo box with watir. Is there any solution for this Sure: http://wiki.openqa.org/display/WTR/Selection+Boxes Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] gems installtion
Hello, my machine was formatted and i was trying to install again watir. Hi all, I am trying to install watir in my PC. while I am running the command gem update --system or gem install watir It always throws following error ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find watir ( 0) in any repository I have tried to delete the C:\ruby\lib\ruby\gems\1.8\source_cache file but it doesn't help me in any way as it recreated in the same location I am using WIndows-Xp OS. Pls help me out to solve of this problem Thanks, Kkhaja shariff -- 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] watir supports rad editor of Telerik
Hi , In our project, we need to enter the data in Rad editor of Telerik controls. I am automating this process. $ie.text_field(:id,rad_Editor).set(test) i have used this code after executing my script i got below mentioned error IN32OLERuntimeError: unknown property or method `readOnly' HRESULT error code:0x80020006 Unknown name. (eval):3:in `invoke' (eval):3:in `readonly?' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/input_elements.rb:238:in `assert_not_readonly' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/input_elements.rb:324:in `set' publicpolicy.rb:26:in `test_gmaildemo' can anybody give me help on this Thanks, Khaja shariff --~--~-~--~~~---~--~~ 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: Watir support java applets
HI All, Good news today i have automated entering the text in java editor(java applets) using win320le. If our java editor (which running in browser) having the element id then this code works. require 'watir/WindowHelper' require 'win32ole' def test_addmission $ie.document.getElementByid ( ELJ_detail_Control_elj_editor) sleep(3) $ie.send_keys ( Thisistesttestdata.) end Thanks, Khaja shariff 2009/7/23 Chuck van der Linden sqa...@gmail.com most of the attachements appear to be empty. (nor for that matter, am I sure that Elcom would be terribly happy if you posted all the code for their app.) Unless there is a test or demo site that could be accessed via the internet to sort of 'play' with the application we may be limited here to just giving you general advice as to how to approach solving the problem. Watir isn't hard to learn, at least not the basics. Unless you are new to web UI testing and also trying to learn how HTML, the DOM, javascript, HTTP, etc all work at the very same time, and/or are completely new to programming or scripting of any kind. in that case it can take weeks. If you are new to all of this, the expect to spend time learning some basic coding skills along with how web UI's work in general, because basically no matter what tool you use (and no matter what the tool vendor promises) trust me you WILL end up having to learn a far bit about web based technology to effectively write automation against it. The same goes for getting up to at least a basic level of profficiency in the language your tool uses be it Ruby, Java, C#, VB, or gods-help-you some propriatary vendorscript language. But if you are familiar with web UI testing and the tech behind it, and have at least a little experince coding or scripting in any language, then you can probably pick up water and ruby in a few hours (for the basics) by going through the tutorial. Enough to get yourself to a point where you could try a few things against your site to see if you can figure out the right .fire_event calls you'll ned to use to make it dance to your tune. If you have the foundational skills needed for the job, then I'd say a day or so maybe to be able to install ruby and watir, go through the tutorial and start trying stuff to see if you can get it to do what you need. depending on complexity of your site of course, and how rapidly you pick stuff up. On Jul 23, 3:31 am, Rohan Ojha rohan.o...@bsil.com wrote: Hi, Please look into the html attached, I want to select one of the available approval plans and move it to the selected plans. Thanks, Rohan Ojha _ From: watir-general@googlegroups.com [mailto: watir-gene...@googlegroups.com] On Behalf Of Željko Filipin Sent: Thursday, July 23, 2009 1:16 PM To: watir-general@googlegroups.com Subject: [wtr-general] Re: Watir support java applets On Thu, Jul 23, 2009 at 6:08 AM, Rohan Ojha rohan.o...@bsil.com wrote: So does that mean I can still use Watir to drive this applet since the object seems to be available to me in the view source ? If you post some html and tell us what you want to do, we can try to do it. Željko image001.jpg 43KViewDownload [ Attached Message ]From:Saved by Windows Internet Explorer 8To:Date:Thu, 23 Jul 2009 14:05:46 +0530Local:Thurs, Jul 23 2009 1:35 amSubject:PECOS Internet Procurement Manager, version 11.0 - Administration image_gif_part 2KViewDownload image_gif_part 1KViewDownload image_gif_part 1KViewDownload image_gif_part 1KViewDownload text_css_part 23KViewDownload text_css_part 23KViewDownload application_octet-stream_part 3KViewDownload application_octet-stream_part 1KViewDownload text_css_part 5KViewDownload application_octet-stream_part 16KViewDownload --~--~-~--~~~---~--~~ 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] Watir support java applets
Hi All, Can anybody tell me is watir supports java aaplets? Is it will support in future? any work going on Thanks Khaja shariff --~--~-~--~~~---~--~~ 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: Watir work with java editor
Hi Yes in our product, javaeditor was already implemented and i need to enter the text using editor. can is there any way to automate this process. Thanks, Khaja Shariff On 7/11/09, Chuck van der Linden sqa...@gmail.com wrote: Are you talking about something implemented via the browser? (e.g. an editor written in java) or something optimized for editing javascript and html code? On Jul 9, 6:04 am, khaja shaik khaja.sh...@gmail.com wrote: *Watir work with java editor* HI all, i have to automate : to enter the text in java editor (HTML editor) is it possible with watir Thanks, Khaja shariff --~--~-~--~~~---~--~~ 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: getting error while running watir script on firefox 3.0.11
Hi, I am also getting same error on windows xp. after running the command i got error saying that Connection failed Thanks, Khaja shariff On Thu, Jul 9, 2009 at 11:51 AM, Angrez Singh ang...@gmail.com wrote: After enabling it do this: Start - run - [firefox installation directory]\firefox.exe -jssh and then Start - run - cmd - type telnet localhost 9997 Let me know the results. - Angrez On Thu, Jul 9, 2009 at 11:03 AM, aparna aparna.m...@gmail.com wrote: Hi Angrez, I have enabled the telnet by following the steps given in the link and then typed telnet localhost 9997 on command prompt. Now am getting an error connecting to localhost...could not open connection to the host, on port 9997: connect failed Thanks, Aparna On Jul 8, 10:50 pm, Angrez Singh ang...@gmail.com wrote: telnet is not enabled by default in vista, I think that may be the cause of the problem. Can you try enabling telnet using the steps described here: http://www.gohacking.com/2008/09/how-to-enable-telnet-command-in-vist... After that repeat what I said in my last email and let me know the result. Thanks, Angrez On Wed, Jul 8, 2009 at 6:53 PM, aparna aparna.m...@gmail.com wrote: Hi Angrez, When i did this, Start - Run - [firefox installation directory] \firefox.exe -jssh firefox home page is getting opened. When i typed telnet localhost 9997 on command prompt, it is saying that telnet is not recognised as an internal or external command aparna On Jul 8, 5:05 pm, Angrez Singh ang...@gmail.com wrote: just try this: Start - Run - [firefox installation directory]\firefox.exe -jssh Now open command prompt and type telnet localhost 9997 Let me know the results. - Angrez On Wed, Jul 8, 2009 at 3:57 PM, aparna aparna.m...@gmail.com wrote: Hi, when i tried running the script through command prompt, firefox home page is getting opened but the url mentioned in the script is not being taken by the firefox. Immediately after firefox home page getting opened, am getting the error which i have mentioned earlier. The same is the case when i run the script by pressing F5 key. Thanks Regards, Aparna On Jul 8, 12:39 pm, aparna aparna.m...@gmail.com wrote: sure. I will try that and let you know if any issues. Thanks, Aparna On Jul 8, 11:17 am, Angrez Singh ang...@gmail.com wrote: Just to make sure, when you try running the scripts you get the error that you mentioned in your mail. After that does firefox opens up or nothing happens. Also, can you try running the Firefox executable with -jssh option from run command as suggested by Kiran and let us know the results - Angrez On Wed, Jul 8, 2009 at 11:24 AM, kiran gki...@gmail.com wrote: Hi, Open 'firefox -jssh' from Run command and start running your scripts. Thanks, kiran. On Jul 8, 10:08 am, aparna aparna.m...@gmail.com wrote: Hi, JSSH addon is enabled in firefox. I have checked and then only tried to run the scripts. Regards, Aparna On Jul 7, 8:19 pm, Angrez Singh ang...@gmail.com wrote: AFAIK, firewatir starts firefox with -jssh option automatically. Just check if jssh addon is enabled in Firefox using the menu as suggested by Anu? - Angrez On Tue, Jul 7, 2009 at 7:06 PM, Anu Gangavaram anuwri...@gmail.com wrote: Did you start the Firefox with jssh option? You can also check if the jssh add-on is in the firefox - Open Firefox - Goto Tools - Addons and check in jssh addon is in. I am using the same versions as you are and it works fine on my machine. Rgds, Anu On Tue, Jul 7, 2009 at 8:52 AM, aparna aparna.m...@gmail.com wrote: Hi, I have downloaded the JSSH XPI from the following url - http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn. .. The firefox version which am using is 3.0.11 and the OS is Windows Vista Regards, Aparna On Jul 7, 5:32 pm, Angrez Singh ang...@gmail.com wrote: can you let us know from where you have downloaded the XPI and which Firefox version are you using? On Tue, Jul 7, 2009 at 11:45 AM, aparna aparna.m...@gmail.com wrote: Hi Angrez, I have installed JSSH XPI with admin privileges but still am facing the same problem. Aparna On Jul 1, 4:03 pm, Angrez Singh
[wtr-general] Watir work with java editor
*Watir work with java editor* HI all, i have to automate : to enter the text in java editor (HTML editor) is it possible with watir Thanks, Khaja shariff --~--~-~--~~~---~--~~ 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: Firefox 3.5 compatible with FireWatir?
Hi everyone, today i am running the my watir tests on Firefox browser and i got below mentioned error: ruby news1.rb c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/container.rb:479:in `recv': An existing connection was forcibly closed by the remote host. - recvfrom(2) (Errno::ECONNRESET) from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/container.rb:479:in `read_socket' from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/container.rb:478:in `each' from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/container.rb:478:in `read_socket' from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:188:in `get_window_number' from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:162:in `initialize' from news1.rb:7:in `new' from news1.rb:7 Exit code: 1 Please can you please solve the problem for me Thanks Khaja shariff --~--~-~--~~~---~--~~ 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: Documentation about the select_list is wrong?
Hi all, i have installed jss and ran the watir script again. but i got this error ruby news1.rb c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:271:in `set_defaults': Unable to connect to machine : 127.0.0.1 on port 9997. Make sure that JSSh is properly installed and Firefox is running with '-jssh' option (Watir::Exception::UnableToStartJSShException) from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:161:in `initialize' from news1.rb:7:in `new' from news1.rb:7 Exit code: 1 how to resolve this issue thanks, khaja shariff --~--~-~--~~~---~--~~ 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] pop-up and select the value
HI All, In our asp.net application, we have one java script pop up window and we need to select the one value from list box in pop-up and need to click ok button. We are not able to write code for this. can anybody provide help on this Check the screen shot which i have to capture and need to select the text Thanks, Khaja shariff STE --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---