Ctrl-N worked for me. The drop down looks like select_list, but it turns out text_field. And they looks like Ajax. That's another story. But thank you for all your suggestions. I appreciate it.
Hiroko On Mon, Oct 19, 2009 at 2:57 AM, venkat <[email protected]> wrote: > Hi all, > > Thanks for the info proveded in this thread group. > Actually I am currently facing the same issue. My aplication has similar > kind of page which does not have title and tool bars, and if i wnat to to > use the following function to identify the objects on that window. > ie = Watir::IE.attach(:title, 'search: Incident Report') > The window consists a text box for input text and a drop down list to > select an item and a button to click for search records. I want attach the > window for continuos functional flow to select the oblject to get the search > results on the same page. > > Please help me how to do. > > Thanks, > Venky > > On Sun, Oct 18, 2009 at 8:45 AM, Alan Baird <[email protected]> wrote: > >> 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 <[email protected]> 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 <[email protected]>wrote: >>> >>>> >>>> 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:* [email protected] >>>> > [mailto:[email protected]] *On Behalf Of *H Kogi >>>> > *Sent:* Friday, October 16, 2009 2:44 PM >>>> > *To:* [email protected] >>>> > *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= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAAddOnMultipleQuantityConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAEcommDesignConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSASEVConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAOrderConfirmationContainer.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAOLMConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSADIFMStandardConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAEVContactPanel.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAAttrAddOnMinuteConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAAttrAddOnPageConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSADIFMRedesignConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAAddOnMaintConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAAttrAddOnKeywordConfig.js >>>> > text/javascript id= >>>> src=/sales/javascript/app/com/xxx/storefront/dsa/ui/ >>>> > DSAServiceAgreementPanel.js >>>> > text/javascript id= src= >>>> > text name=prod id=product-list value=Select a product alt= >>>> > src= >>>> > button name= id=ext-gen219 value=Add >>>> > name= id= >>>> > name= id= >>>> > name= id= >>>> > name= id=ext-gen176 >>>> > checkbox name=manualProcessing id=manual-processing value=on alt= >>>> > src= >>>> > text name=couponField id=coupon-field value= alt= >>>> > src= >>>> > button name= id=ext-gen101 value=Redeem >>>> > name= id= >>>> > name= id= >>>> > name= id= >>>> > name= id= >>>> > name= id= >>>> > name= id= >>>> > name= id= >>>> > name= id= >>>> > name= id= >>>> > name= id=ext-gen124 >>>> > button name= id=ext-gen48 value=Back >>>> > button name= id=ext-gen57 value=Next >>>> > => nil >>>> > >>>> > Regards, >>>> > >>>> > Hiroko >>>> > >>>> > >>>> > >>>> > > >>>> >>>> >>>> -- >>>> Bret Pettichord >>>> Lead Developer, Watir, www.watir.com >>>> Blog, www.io.com/~wazmo/blog >>>> Twitter, www.twitter.com/bpettichord >>>> >>>> >>>> >>>> >>> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
