Re: [wtr-general] Ruby Debugger for Netbeans issue
On Tue, May 25, 2010 at 7:24 AM, Prashant prashantshirbh...@gmail.com wrote: When I ran below command using visual studion command promot then I got the error How is this Watir related? Ž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.com
Re: [wtr-general] how to click on the element with the id = logoutLink
This also work: $browser.frame(:id,frameMain).link(:text,Logout).click $browser.frame(:id,frameMain).link(:id,navSignout).click On Tue, May 25, 2010 at 12:10 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: Hey Friend, Got the solution. Use browser.frame(:index,2).link(:id=logoutLink).click() this piece of code to click on Logout link, as this link is under a frame with index 2 it was unable to identify Logout link. Try and let me know if it works or not. On Tue, May 25, 2010 at 12:17 AM, Cristina cristina.toro...@gmail.comwrote: Reattached the script.I deleted the last line. On Mon, May 24, 2010 at 2:46 PM, Cristina cristina.toro...@gmail.comwrote: Hi, I attached the script and screen snapshot. You can run it. That is our email application and I would like to start automating the functional testing. I do not know how to make working: #1.- #2. from the script. How to logout and simple select a link. Thanks a lot, Cristina On Mon, May 24, 2010 at 12:16 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: try with ie.link(:text=LogOut, :index=1).click() or ie.link(:text=LogOut, :index=2).click() or ie.link(:text=LogOut, :index=3).click() try with diff index values by trail and error or you can include parent of that link and try example ie.div(just example).link(:text, LogOut).click() Else give us your source we can try to help you :) On Mon, May 24, 2010 at 9:37 PM, Cristina cristina.toro...@gmail.comwrote: I am using firefox. Just try and not working. I am receiving the following err: Unable to locate element, using :text, Logout (Watir::Exceptio... On Sun, May 23, 2010 at 4:36 PM, Felipe Knorr Kuhn fkn...@gmail.comwrote: Hello, Cristina, have you tried $ie.link(:text, Logout).click $ie.link(:text, Logout).fire_event(onClick) ? On Sun, May 23, 2010 at 5:29 PM, Cristina cristina.toro...@gmail.com wrote: Hi, please can one help me with that:: i do not know how to click on the logout. That is the snippet code: #- tr td id=topToolbar /td td id=greeting Welcome q...@qa.hemt.ca | a id=helpText href=# onclick=showHelp();return false;nbsp;/a | a id=logoutLink href=javascript:confirmLogout(); Logout /a /td /tr # I've try $browser.cell(:id = logoutLink).click or $browser.link(:text, Logout).click or $browser.link(:id, LogoutLink).click but is not working. Best regards, Cristina -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- ~~ Cristina -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- ~~ Cristina -- ~~ Cristina -- 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.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:
Re: [wtr-general] how to click on the element with the id = logoutLink
For click the Mail,pls use: $browser.frame(:id,frameMain).link(:text,Mail).click or $browser.frame(:id,frameMain).link(:id,settingsMailLink).click On Tue, May 25, 2010 at 4:55 PM, Yuping Zhong littlezhong...@gmail.comwrote: This also work: $browser.frame(:id,frameMain).link(:text,Logout).click $browser.frame(:id,frameMain).link(:id,navSignout).click On Tue, May 25, 2010 at 12:10 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: Hey Friend, Got the solution. Use browser.frame(:index,2).link(:id=logoutLink).click() this piece of code to click on Logout link, as this link is under a frame with index 2 it was unable to identify Logout link. Try and let me know if it works or not. On Tue, May 25, 2010 at 12:17 AM, Cristina cristina.toro...@gmail.comwrote: Reattached the script.I deleted the last line. On Mon, May 24, 2010 at 2:46 PM, Cristina cristina.toro...@gmail.comwrote: Hi, I attached the script and screen snapshot. You can run it. That is our email application and I would like to start automating the functional testing. I do not know how to make working: #1.- #2. from the script. How to logout and simple select a link. Thanks a lot, Cristina On Mon, May 24, 2010 at 12:16 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: try with ie.link(:text=LogOut, :index=1).click() or ie.link(:text=LogOut, :index=2).click() or ie.link(:text=LogOut, :index=3).click() try with diff index values by trail and error or you can include parent of that link and try example ie.div(just example).link(:text, LogOut).click() Else give us your source we can try to help you :) On Mon, May 24, 2010 at 9:37 PM, Cristina cristina.toro...@gmail.comwrote: I am using firefox. Just try and not working. I am receiving the following err: Unable to locate element, using :text, Logout (Watir::Exceptio... On Sun, May 23, 2010 at 4:36 PM, Felipe Knorr Kuhn fkn...@gmail.comwrote: Hello, Cristina, have you tried $ie.link(:text, Logout).click $ie.link(:text, Logout).fire_event(onClick) ? On Sun, May 23, 2010 at 5:29 PM, Cristina cristina.toro...@gmail.com wrote: Hi, please can one help me with that:: i do not know how to click on the logout. That is the snippet code: #- tr td id=topToolbar /td td id=greeting Welcome q...@qa.hemt.ca | a id=helpText href=# onclick=showHelp();return false;nbsp;/a | a id=logoutLink href=javascript:confirmLogout(); Logout /a /td /tr # I've try $browser.cell(:id = logoutLink).click or $browser.link(:text, Logout).click or $browser.link(:id, LogoutLink).click but is not working. Best regards, Cristina -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- ~~ Cristina -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- ~~ Cristina -- ~~ Cristina -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting,
Re: [wtr-general] Re: Fwd: [selenium-developers] Proposal for a Selenium StackExchange site
Just to let you know what is going on. Proposal for Watir site is on the second page of top-voted proposals: http://meta.stackexchange.com/questions/tagged?tagnames=site-proposalpage=2sort=votespagesize=15 How the site will be created: http://blog.stackexchange.com/post/628155535/interview-with-lead-developer-david-fullerton Is short: wait a week or two and I will let you know what needs to be done. Ž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.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
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.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
Re: [wtr-general] Radcombox automation
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.com
Re: [wtr-general] Radcombox automation
find the attached .rb file which will help you to understand how to deal with select_list. Else give us the screen shot I will try to send you the piece of code 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 selectbox_test.rb Description: Binary data
Re: [wtr-general] how to click on the element with the id = logoutLink
Thanks all, is working great. Have a wonderful day! Cristina On Tue, May 25, 2010 at 5:06 AM, Yuping Zhong littlezhong...@gmail.comwrote: For click the Mail,pls use: $browser.frame(:id,frameMain).link(:text,Mail).click or $browser.frame(:id,frameMain).link(:id,settingsMailLink).click On Tue, May 25, 2010 at 4:55 PM, Yuping Zhong littlezhong...@gmail.comwrote: This also work: $browser.frame(:id,frameMain).link(:text,Logout).click $browser.frame(:id,frameMain).link(:id,navSignout).click On Tue, May 25, 2010 at 12:10 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: Hey Friend, Got the solution. Use browser.frame(:index,2).link(:id=logoutLink).click() this piece of code to click on Logout link, as this link is under a frame with index 2 it was unable to identify Logout link. Try and let me know if it works or not. On Tue, May 25, 2010 at 12:17 AM, Cristina cristina.toro...@gmail.comwrote: Reattached the script.I deleted the last line. On Mon, May 24, 2010 at 2:46 PM, Cristina cristina.toro...@gmail.comwrote: Hi, I attached the script and screen snapshot. You can run it. That is our email application and I would like to start automating the functional testing. I do not know how to make working: #1.- #2. from the script. How to logout and simple select a link. Thanks a lot, Cristina On Mon, May 24, 2010 at 12:16 PM, kiran yajamanyam kiranyajaman...@gmail.com wrote: try with ie.link(:text=LogOut, :index=1).click() or ie.link(:text=LogOut, :index=2).click() or ie.link(:text=LogOut, :index=3).click() try with diff index values by trail and error or you can include parent of that link and try example ie.div(just example).link(:text, LogOut).click() Else give us your source we can try to help you :) On Mon, May 24, 2010 at 9:37 PM, Cristina cristina.toro...@gmail.com wrote: I am using firefox. Just try and not working. I am receiving the following err: Unable to locate element, using :text, Logout (Watir::Exceptio... On Sun, May 23, 2010 at 4:36 PM, Felipe Knorr Kuhn fkn...@gmail.com wrote: Hello, Cristina, have you tried $ie.link(:text, Logout).click $ie.link(:text, Logout).fire_event(onClick) ? On Sun, May 23, 2010 at 5:29 PM, Cristina cristina.toro...@gmail.com wrote: Hi, please can one help me with that:: i do not know how to click on the logout. That is the snippet code: #- tr td id=topToolbar /td td id=greeting Welcome q...@qa.hemt.ca | a id=helpText href=# onclick=showHelp();return false;nbsp;/a | a id=logoutLink href=javascript:confirmLogout(); Logout /a /td /tr # I've try $browser.cell(:id = logoutLink).click or $browser.link(:text, Logout).click or $browser.link(:id, LogoutLink).click but is not working. Best regards, Cristina -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- ~~ Cristina -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- ~~ Cristina -- ~~ Cristina -- 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:
[wtr-general] Re: how do i select from ctrls?
It looks to me like what you have here is a custom UI of some sort that is implemented all in client side javascript. There's surely nothing there that looks like a normal HTML selection list control. what will probably help the most in terms of trying to manipulate this stuff is using either the IE Developer Toolbar, or Firebug, to examine the contents of the DOM (Document Object Model) after the page is rendered, and use the function (each tool has one) which allows you to identify stuff by clicking on it That would give you a better idea of exactly what HTML element type contains the text you are trying to click on, and would give you a better handle of what you need to do in terms of 'clicking' the thing. THe one thing I can tell you is that I don't see anything there that looks like a 'normal' vanilla HTML selection list, so don't even bother trying to treat it like one. Normal $browser.select_list(how,what).method stuff is NOT gonna work. What you appear to have is something done all in javascript, rendered up to look visually like a selection list, and driven by events. it might require a specific sequence of events to be fired off that the javascript is reacting to. Fortunately the most common things (mouse down, mouse up etc) are usually fired when you do a .click method, so that's the first thing I'd try doing, ONCE that is you figure out how to identify the thing to be clicked on. A trick to working with this kind of stuff that has helped me is that if there's some action that makes the list 'appear', I perform that action, then click the 'refresh' button in the tool to have it rescan the contents of the dom, then use the 'select element by click' to identify the element you need to click on in the list Hard for the rest of us to help you much on this one without seeing the site itself, or a lot more of the code that's making it run On May 24, 11:46 am, dave bitdo...@yahoo.com wrote: if this helps... i was able to do: from :0irb(main):064:0 browser.text = Infor EAM\r\n\r\nTRAINING\r\n START CENTER MY ACCOUNT HELP ABOUT LOGOUT \r\ n\r\n\r\n MY ACCOUNT HELP ABOUT LOGOUT \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r \n\r\n \r\ n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r \n\r\n\r\ n\r\n\r\n\r\n\r\n\r\nWorkMaterialsEquipmentPurchasing\r\n\r\n\r\n\r\n\r \n OK\r \n\r\n \r\n\r\n\r\nWorking . . . irb(main):065:0i want to click on the select list Materialstia dave On May 24, 12:41 pm, dave bitdo...@yahoo.com wrote: accessing and clicking on CTRLS that appear as select_lists how to click on the inner most sub-list... the select_list in this web page is based on ctrls with this xpath /html/body/ctrl/attrs/attr and... contains multiple sub-select lists the root is Materials attrs attr name=dispTextMaterials/attr attr name=linkText/attr attr name=linkTarget/attr /attrs the next level contains is the fourth selection of and then which in the lowest level i want to click on Quick Store-to-Store Transfer attrs attr name=dispTextTransactions/ attr /attrs ctrls ctrl attrs attr name=dispTextInternal Repair Receipts/attr attr name=linkTextjavascript:MM_goToSubframe('MAINIFRAME','../work/ SSRCVI?USER_FUNCTION_NAME=SSRCVI')/attr /attrs /ctrl ctrl attrs attr name=dispTextIssue/ Return Parts/attr attr name=linkTextjavascript:MM_goToSubframe('MAINIFRAME','../work/ SSISSU?USER_FUNCTION_NAME=SSISSU')/attr /attrs /ctrl ctrl attrs attr name=dispTextNon-PO Receipts/attr attr name=linkTextjavascript:MM_goToSubframe('MAINIFRAME','../work/ SSCOMP?USER_FUNCTION_NAME=SSCOMP')/attr /attrs /ctrl ctrl attrs attr name=dispTextPart Inspections/attr attr name=linkTextjavascript:MM_goToSubframe('MAINIFRAME','../work/ SSPINS?USER_FUNCTION_NAME=SSPINS')/attr /attrs /ctrl ctrl attrs
[wtr-general] Re: Radcombox automation
I doubt that code sample will help much. That's great for actual HTML selection list elements, but he's dealing with 'rad' controls which are javascript driven controls that emulate the normal HTML selection list, but add other functionality (like a 'prompt' value that's in the control space to start with, but is not once of the choices in the list) For these kind of controls it's all about using either the developer toolbar, or firebug to identify what elements have been rendered into the dom (or modified and moved or made visible) by the javascript, and then 'activate' them using standard methods like click (which fires a number of events under the covers), or firing the specific events that the javascript might be looking for, such as 'onMouseOver' It can get particularly tricky because some of these things use (IMHO) rather insane practices like popping up little frames with the 'list' elements in them etc. and that means you have to click them from within a frame, something you might have no clue to expect just from looking at portions of the HTML. On May 25, 4:27 am, kiran yajamanyam kiranyajaman...@gmail.com wrote: find the attached .rb file which will help you to understand how to deal with select_list. Else give us the screen shot I will try to send you the piece of code 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 readhttp://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 readhttp://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed tohttp://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com selectbox_test.rb 8KViewDownload- Hide quoted text - - Show quoted text - -- 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] anyone want to do a watir version?
http://seleniumexamples.com/blog/examples/play-pacman-with-selenium-2/ -- 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] anyone want to do a watir version?
Very nice! Since I've been using Selenium a lot lately (don't blame me!) I might try those challenges first :) FK On Tue, May 25, 2010 at 3:13 PM, Paul Rogers paul.rog...@shaw.ca wrote: http://seleniumexamples.com/blog/examples/play-pacman-with-selenium-2/ -- 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 -- 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] how do simply activate this javascript....from watir
...javascript:MM_goToSubframe('MAINIFRAME','../work/SSRECV? USER_FUNCTION_NAME=SSRECV') Quick Store-to-Store Transfer -- 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] Re: how do i select from ctrls?
Since you're in beginner mode, you may want to download Webmetrics RIA Script Recorder. You can see the code it creates and can cut and paste it into your scripts. It doesn't work on everything, but will get you started. Kim On May 24, 11:41 am, dave bitdo...@yahoo.com wrote: accessing and clicking onCTRLSthat appear as select_lists how to click on the inner most sub-list... the select_list in this web page is based onctrlswith this xpath -- 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] select_list() does not get saved when I go to the next text field
ie.frame(:name,NodeInfo).div(:id, Clist).table(:name,main).cell(:id,detailList).div(:index, 1).select_list(:index,1).select Internal Company sleep 5 while the script is executed the item called Internal Company gets highlighted but when I it goes to the next text field it disappears: The same thing happens to all the combo box in that page Thanks suerama50 Html page code: HTML xmlns:msxsl=urn:schemas-microsoft-com:xslt xmlns:rs=urn:schemas-microsoft-com:rowset xmlns:util=urn:schemas- esp-net:util xmlns:z=#RowsetSchema HEAD META http-equiv=Content-Type content=text/html; charset=windows-1252 script language=javascript src=scripts/ecoListExt.js/ scriptscript language=javascript src=scripts/ListCustom.js/ scriptscript language=javascript src=scripts/utlGeneral.js/ scriptscript language=javascript src=scripts/ utlCrossBrowser.js/scriptscript language=javaScript src=scripts/ListColumns.js/scriptscript language=javaScript src=scripts/ListRows.js/scriptscript language=javaScript src=scripts/PageNavigation.js/scriptscript language=javaScript src=scripts/ListBase.js/scriptscript language=javaScript src=scripts/HListBase.js/scriptscript language=javaScript src=scripts/List.js/scriptscript language=javaScript src=scripts/HList.js/scriptscript language=javascript src=scripts/opsADMIN_Constants.js/scriptscript src=scripts/ opsADMIN_CompanyDetail.js type=text/javascript/scriptlink rel=stylesheet type=text/css href=opsStyleSheet.css link rel=stylesheet type=text/css href=List.css link rel=stylesheet type=text/css href=ListArray.css link rel=stylesheet type=text/css href=popcalendar.css /HEADxml id=ildDummy/xmlbody language=javascript style=margin-top: 0px; onload=InitPage('') onunload=UnloadPage() onbeforeunload=QueryUser() FORM method=post name=frmCompanyDetail id=frmCompanyDetail onclick=submitForm() table width=730px cellspacing=0 tr td colspan=2 id=tdErrorMsg name=tdErrorMsg height=15px style=color: red;font-weight: bold;/td /tr tr td colspan=2 div id=Clist name=Clist width=100%/div /td /tr tr td valign=top width=50% style=padding-top: 30px; div id=ParentsList name=ParentsList width=100%/div /td td valign=top style=padding-top: 30px; div id=ChildrenList name=ChildrenList width=100%/div /td /tr /table /FORMscript language=javascript var list1, plist, clist, gSession, gCompany, gDBFlag, gMOID, gADMIN; var col = null; gSession= {10DCA7F6-3F22-4156-BCFB-957DD84F5333}; gCompany= 1; gDBFlag = 2; gMOID = 0; gADMIN = 1; list1 = new HList('detailList','Detail List'); list1.listType = 1; list1.itemName = Clist; list1.divElement= document.getElementById(Clist); list1.formElement = document.getElementById(frmCompanyDetail); list1.szTitle = 'Company Details'; list1.popupCalendar = 1; list1.bEditInline = 1; list1.bMultiSelect = 1; list1.highlightRow = 0; list1.selectRow = 0; list1.charWidth = 7; list1.bSingleLineText = 1; list1.bBlankEntryRow= 1; list1.bNoAlign = 1; list1.bNavigationBar= 0; list1.szXmlRoot = DL; list1.szRowXMLRoot = DR; list1.getColumnStyle= getColumnStyleH; list1.getColumnWidth= form_getColumnWidth; list1.onChange = formChanged; list1.gEditCell=null; list1.onEditRowEx=ecoOnEditRowEx; list1.OnBlurEx=ecoOnBlurEx; list1.header.addColumn(* Company Name, 400, COLUMN_DATA_TYPE_STRING, COLUMN_TYPE_DATA, NAME); col = list1.header.addColumn(* Company Type, 400, COLUMN_DATA_TYPE_NUMBER, COLUMN_TYPE_DATA, TYPE); col.setDrowdownPickList( '3', 'Brokerage Firm'
[wtr-general] Query: Books of Watir
Hello All, I am developing watir automation script for web application. My web application is developed using .Net, Java jquery, could any one let me know where i can get book on Watir. Cheers, -- Anil Menon Victory is not the measure of the position where you are, rather than it is the amount of obstacles crossed by you to reach that position. -- 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