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
    Jun 2009
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    IE RunAs Won\'t Detect Browser

    I'm running QTP 9.1 with Web add-in and am trying to test the functionality of an internal site when logged in as different users.

    My problem comes once the IE window is open, using the Object spy, clicking on any part of the browser only detects WinObject (regardless of web page). This only happens when I am doing RunAs. When I open IE under default user all Browser (WebTable, WebEdit etc) objects populate correctly. I tried using DP but only get errors. I have a feeling QTP just isn't detecting correctly, which becomes a problem when I can't interact with any html objects.

    Is there any way I can force QTP to recognize the IE window as a browser under RunAs?

    Note: Running IE 7

  2. #2
    Member
    Join Date
    Dec 2007
    Posts
    54
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IE RunAs Won\'t Detect Browser

    Please be descriptive with your queries. Also, a sample of your code with the error will help us a lot.

    Check the below,

    1. Have you disabled tabbed browsing on IE 7 ?

    2. Are you opening QTP first & then the browser ??

    3. What do you mean by "RunAs" ?? Where is this option & how are you using it ??
    Basanth
    Give a Fish to a Man and you feed him for a day.Teach a Man to fish and you feed him for Life

    http://www.learnqtp.com/forums/

  3. #3
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: IE RunAs Won\'t Detect Browser

    If you use RunAs then QTP and IE needs to run under same credential which means you need to run QTP also using RunAs

 

 

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 11:50 PM.

Copyright BetaSoft Inc.