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

    Firefox isn\'t visible when script is run on VM

    Hi,

    I have developed a project on my local macine and now want to run it on a virtual machine (currently on my local machine) however I'm getting an error: "The '' window is invisible and thus cannot be activated".

    This happens when the script tries to type the username/password and click login on a login page. The website I'm testing on is the same as the one I've been testing on when not using the VM, and all the scripts are exactly the same. I'm using JScript.

    This is happening with firefox 3.0.14 (same version installed on the VM as on my local machine), and the version of TestComplete is the same as well - v6.53.

    Using the LogAppStructure(obj) I found on another thread here, I've found that the firefox textbox object's VisibleOnScreen property is false, and the same property when the script is run on my local machine is true.

    I have tried using IE instead of firefox and this works fine, however firefox is the browser we want to test the site on and the project would need quite a lot of changes to work completely with IE.

    Anyone know what could be going on here? Thanks.

  2. #2
    Senior Member
    Join Date
    Jul 2008
    Posts
    1,049
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Firefox isn\'t visible when script is run on VM

    Hi Richard,

    Can the problem be reproduced with a public web site? If it cannot, could you please provide us with access to your tested web application?

    Also, please check whether the problem can be reproduced with the latest version of TestComplete (v. 7.20). A free trial version of TestComplete 7 can be requested on the following page of our web site:
    http://www.automatedqa.com/downloads/testcomplete/

    [ QUOTE ]

    the project would need quite a lot of changes to work completely with IE.


    [/ QUOTE ]
    I recommend that you see the "Browser-Independent Scripting" help topic - this may help you make your scripts more flexible.
    Regards,
    Allen - SmartBear Support

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

    Re: Firefox isn\'t visible when script is run on VM

    Hi Allen,

    Thanks for the reply, and apologies for the duplicated request.

    I just wrote a script as you suggested to query google and it worked - I then checked my project again which also worked!

    The virtual machine restarted itself overnight due to XP autoupdate and I assume that this is what fixed the problem. (no idea why!)

    Thanks,
    Richard

 

 

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 12:33 AM.

Copyright BetaSoft Inc.