Running Webaii tests without installing Visual Studio

5 posts, 0 answers
  1. Kashyap
    Kashyap avatar
    6 posts
    Member since:
    Oct 2008

    Posted 06 Jan 2011 Link to this post

    Hi,

    I am trying to run tests on XP 32 bit /Win7 32 bit with WebAii framework installed and NUnit installed but not visual studio. I have gone through all the setup for the different browser need for webaii to work. I got IE, Safari and FireFox to work. IE was not simple and it required me to GAC Microsoft.mshtml.dll - version 7.0.0330.

    But I cannot get Chrome to work without visual studio installed. On our development machines we have visual studio and it works fine then. When running the test the browser open and tries to navigate to http://localhost:XXXX/WebUI?XXXXXX (X are random numbers which changes for every new browser launch) which should then start WebUI extension to start running by displaying a message "Preparing for automation". Hence it times out waiting for getting control of the browser. 

    Any type of help in this matter will help.

    Thanks
    Kashy 
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 07 Jan 2011 Link to this post

    Hello Kashyap,

    It sounds like our WebUI extension is somehow not installed or has been disabled. Please try following this KB article and see if that clears up the problem.

    Regards,
    Cody
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
  3. Kashyap
    Kashyap avatar
    6 posts
    Member since:
    Oct 2008

    Posted 07 Jan 2011 Link to this post

    I tried all the steps in KB article and none of the them helps. The extension is installed and enabled as described in article.

    I just found out that Chrome has released the new update and hence my browser is now at version 8.0 and this could be something to do with that. But my dev machine works without any issue. Still looks like something is missing.

    I tried installing older version but it quickly updates to the latest version before I could cancel it.

    Let me know if you find anything other I can try.
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 13 Jan 2011 Link to this post

    Hi Kashyap,

    The only suggestion I have at this point is to eliminate NUnit from the picture. To do this you need to create a simple .exe application that just launches the browser and navigates to any website. Let's see if that very very simple .exe works in your dev and test environment.

    Kind regards,
    Cody
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
  5. Kashyap
    Kashyap avatar
    6 posts
    Member since:
    Oct 2008

    Posted 07 Feb 2011 Link to this post

    Finally figured out the issue after a long time. Since we were sitting behind the proxy and when browser was going to http://localhost:XXXX/WebUI?XXXXXX url, proxy was trying to resolve localhost which it could not. So simply checking a checkbox on Connection tab on IE Internet option (Chrome uses IE settings behind the scene) to bypass proxy for local addresses makes chrome to work on our virtual images.

    I would have expected more technical help (to help me do more debugging to reach bottom of the issue) when I was investigating this issue but did not get any technical help from telerik. I guess thats the pain of working with free products.

    Thanks,
    Kashyap
Back to Top