[wtr-general] Re: Identifying objects when browser window has no toolbar
Maybe Firebug can. Please try it. Thanks. Wesley Chen. For life, the easier, the better. On Sun, Oct 18, 2009 at 4:10 AM, Alan Baird aba...@bairdsnet.net wrote: We have about the same situation in our office. We were able to issue a CTRL-N on the new browser, which copies the security info and opens another browser. When the new browser came up, we had the title bar and could use the IE developer toolbar on it. Maybe you have the same kind of window. Alan On Fri, Oct 16, 2009 at 9:57 PM, Bret Pettichord b...@pettichord.comwrote: These are good suggestions. Years ago i had this same problem, and i was able to find a OLE method on the browser object that let me turn on the toolbars. Knowing, this i was able to use irb to turn it on. Bret Jason Trebilcock wrote: It seems like a simple solution would be to press Ctrl-N from within the ‘small browser’ to open a full browser. (Idea from: http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/fdc9c290-7fce-413c-bdec-d1985b6b4290/ comment by Rob Adams on 1/17/2008 – gotta give credit where credit is due.) (I had two other options – copying and pasting the URL into a new window…or using Firefox/Firebug…but the above seems to be the easiest.) *From:* watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] *On Behalf Of *H Kogi *Sent:* Friday, October 16, 2009 2:44 PM *To:* watir-general@googlegroups.com *Subject:* [wtr-general] Identifying objects when browser window has no toolbar I am hoping someone can point me to the right direction since I was not able to find answers anywhere. My application opens a small browser (almost like a popup) that has no toolbar (screenshot attached). With no toolbar, I cannot use IE develper toolbar (if I can, please let me know.). And the page is javascript. All I can find is via irb using ie.show_all_objects that I provided below. This does not provide me enough information such as items in the pulldown list, etc. I have other similar window that has more objects. How can I identify objects? ---Objects in page - text/css id= text/javascript id= src=/sales/javascript/ext/adapter/jquery.js text/javascript id= src=/sales/javascript/ext/adapter/ext-jquery-adapter .js text/javascript id= src=/sales/javascript/ext/ext-base.js text/javascript id= src=/sales/javascript/ext/ext-all-debug.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/nam espace.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/app /App.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/app /Framework.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAApplication.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAAddProductContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/uti l/DSAProductReader.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/mod el/DSAProductHelper.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/mod el/DSAProductList.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductConfigContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductConfigPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADomainConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSASEOConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSASEONATConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSATOP10Config.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPopPPCConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPPCAdAgentConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADIFMCustomConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADIFMPremiumConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOLMBundleConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductListForm.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/uti l/DSAUIUtil.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ser vice/DSAServiceChannel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAShoppingCartPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOrderPaymentContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOrderReviewPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPaymentInfoPanel.js
[wtr-general] Re: Identifying objects when browser window has no toolbar
man...I'm such a dork...sorry Jason...I didn't see you had already suggested this. Alan On Sat, Oct 17, 2009 at 3:10 PM, Alan Baird aba...@bairdsnet.net wrote: We have about the same situation in our office. We were able to issue a CTRL-N on the new browser, which copies the security info and opens another browser. When the new browser came up, we had the title bar and could use the IE developer toolbar on it. Maybe you have the same kind of window. Alan On Fri, Oct 16, 2009 at 9:57 PM, Bret Pettichord b...@pettichord.comwrote: These are good suggestions. Years ago i had this same problem, and i was able to find a OLE method on the browser object that let me turn on the toolbars. Knowing, this i was able to use irb to turn it on. Bret Jason Trebilcock wrote: It seems like a simple solution would be to press Ctrl-N from within the ‘small browser’ to open a full browser. (Idea from: http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/fdc9c290-7fce-413c-bdec-d1985b6b4290/ comment by Rob Adams on 1/17/2008 – gotta give credit where credit is due.) (I had two other options – copying and pasting the URL into a new window…or using Firefox/Firebug…but the above seems to be the easiest.) *From:* watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] *On Behalf Of *H Kogi *Sent:* Friday, October 16, 2009 2:44 PM *To:* watir-general@googlegroups.com *Subject:* [wtr-general] Identifying objects when browser window has no toolbar I am hoping someone can point me to the right direction since I was not able to find answers anywhere. My application opens a small browser (almost like a popup) that has no toolbar (screenshot attached). With no toolbar, I cannot use IE develper toolbar (if I can, please let me know.). And the page is javascript. All I can find is via irb using ie.show_all_objects that I provided below. This does not provide me enough information such as items in the pulldown list, etc. I have other similar window that has more objects. How can I identify objects? ---Objects in page - text/css id= text/javascript id= src=/sales/javascript/ext/adapter/jquery.js text/javascript id= src=/sales/javascript/ext/adapter/ext-jquery-adapter .js text/javascript id= src=/sales/javascript/ext/ext-base.js text/javascript id= src=/sales/javascript/ext/ext-all-debug.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/nam espace.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/app /App.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/app /Framework.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAApplication.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAAddProductContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/uti l/DSAProductReader.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/mod el/DSAProductHelper.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/mod el/DSAProductList.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductConfigContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductConfigPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADomainConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSASEOConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSASEONATConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSATOP10Config.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPopPPCConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPPCAdAgentConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADIFMCustomConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADIFMPremiumConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOLMBundleConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductListForm.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/uti l/DSAUIUtil.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ser vice/DSAServiceChannel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAShoppingCartPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOrderPaymentContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOrderReviewPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPaymentInfoPanel.js
[wtr-general] Re: Identifying objects when browser window has no toolbar
On Fri, Oct 16, 2009 at 9:43 PM, H Kogi hko...@gmail.com wrote: My application opens a small browser (almost like a popup) that has no toolbar (screenshot attached). With no toolbar, I cannot use IE develper toolbar (if I can, please let me know.). How can I identify objects? What do you want to do? You can use collections to see only elements that you are interested in: http://wiki.openqa.org/display/WTR/Collections+of+HTML+Elements browser.select_lists.each { |select_list| select_list.flash } Since the page is simple, you can use index to locate elements: browser.select_list(:index, 1).flash Try this: open any page in IE, activate IE dev toolbar, close IE with dev toolbar still open. When you open IE the next time dev toolbar should be activated. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: Identifying objects when browser window has no toolbar
These are good suggestions. Years ago i had this same problem, and i was able to find a OLE method on the browser object that let me turn on the toolbars. Knowing, this i was able to use irb to turn it on. Bret Jason Trebilcock wrote: It seems like a simple solution would be to press Ctrl-N from within the ‘small browser’ to open a full browser. (Idea from: http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/fdc9c290-7fce-413c-bdec-d1985b6b4290/ comment by Rob Adams on 1/17/2008 – gotta give credit where credit is due.) (I had two other options – copying and pasting the URL into a new window…or using Firefox/Firebug…but the above seems to be the easiest.) *From:* watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] *On Behalf Of *H Kogi *Sent:* Friday, October 16, 2009 2:44 PM *To:* watir-general@googlegroups.com *Subject:* [wtr-general] Identifying objects when browser window has no toolbar I am hoping someone can point me to the right direction since I was not able to find answers anywhere. My application opens a small browser (almost like a popup) that has no toolbar (screenshot attached). With no toolbar, I cannot use IE develper toolbar (if I can, please let me know.). And the page is javascript. All I can find is via irb using ie.show_all_objects that I provided below. This does not provide me enough information such as items in the pulldown list, etc. I have other similar window that has more objects. How can I identify objects? ---Objects in page - text/css id= text/javascript id= src=/sales/javascript/ext/adapter/jquery.js text/javascript id= src=/sales/javascript/ext/adapter/ext-jquery-adapter .js text/javascript id= src=/sales/javascript/ext/ext-base.js text/javascript id= src=/sales/javascript/ext/ext-all-debug.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/nam espace.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/app /App.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/app /Framework.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAApplication.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAAddProductContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/uti l/DSAProductReader.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/mod el/DSAProductHelper.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/mod el/DSAProductList.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductConfigContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductConfigPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADomainConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSASEOConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSASEONATConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSATOP10Config.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPopPPCConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPPCAdAgentConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADIFMCustomConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSADIFMPremiumConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOLMBundleConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAProductListForm.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/uti l/DSAUIUtil.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ser vice/DSAServiceChannel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAShoppingCartPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOrderPaymentContainer.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAOrderReviewPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPaymentInfoPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSACreditCardPanel.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/uti l/DSAShoppingCartReader.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAPressReleaseConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSASLVConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAAddOnProductConfig.js text/javascript id= src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ DSAAddOnMinutesConfig.js text/javascript id=