SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2005
    Location
    India
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Closing the browser

    Frnds, How to close the current active browser. I dont want to use browser_htmlBrowser().close().

    Suggest me some other method.
    Sachin

  2. #2
    Senior Member
    Join Date
    May 2006
    Location
    Scotland
    Posts
    123
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Closing the browser

    That's how I would close the browser. Is there a specific reason you don't wnat to take this option?

    G

  3. #3
    Member
    Join Date
    Jan 2005
    Location
    India
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Closing the browser

    Thanks for your reply Graeme. I am writing keyword for closing the browser and to use browser_htmlBrowser().close() we need to use .rftxmap which I dont want to use.
    Sachin

  4. #4
    Junior Member
    Join Date
    May 2007
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Closing the browser

    Hi Sachin,

    What exactly do you mean by current active browser? Do you mean the browser is the current active window? If that is the case, following code should work:

    if (getScreen().getActiveWindow().getWindowClassName( ).equalsIgnoreCase("IEFrame") == true)
    getScreen().getActiveWindow().close();

    Regards,
    Ankur

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.34%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:02 PM.

Copyright BetaSoft Inc.