SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Browser Minimize in IE 8

    Hi ,

    I am using this code for minimize in IE6 but this code is not working in IE 8 . Its giving "The operation cannot be performed"

    Code :
    hWnd = Browser("browser_name").GetROProperty("hwnd")
    Window("hwnd:=" & hWnd).Minimize

    Can anyone please help me in this I am working with QTP 10

    Thanks in Advance

  2. #2
    Senior Member
    Join Date
    May 2008
    Posts
    652
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Browser Minimize in IE 8

    hai friend,

    1.
    I am not sure but check by disabling Tabbed browsing in IE and re run the test.

    2.second try
    Instead of hWnd use title of the browser and check what happens.

    Let us know what happens so that somebody can help.

    Thanks
    testking123
    The issue what you have listed does not exist, works fine in my machine- stupid comment from the developer

  3. #3
    Junior Member
    Join Date
    Apr 2009
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Browser Minimize in IE 8

    Hi friend,

    I got the solution from Dev people somehow this GetROProperty is doing something else.

    We have to use
    hWnd = Browser("browser_name").Object.HWND
    Window("hwnd:=" & hWnd).Minimize


    Thanks

 

 

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 11.54%
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 10:05 PM.

Copyright BetaSoft Inc.