This is a migrated thread and some comments may be shown as answers.

Running Webaii tests without installing Visual Studio

4 Answers 183 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kashyap
Top achievements
Rank 1
Kashyap asked on 07 Jan 2011, 03:08 AM
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 

4 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 08 Jan 2011, 12:48 AM
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
0
Kashyap
Top achievements
Rank 1
answered on 08 Jan 2011, 02:48 AM
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.
0
Cody
Telerik team
answered on 13 Jan 2011, 04:28 PM
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
0
Kashyap
Top achievements
Rank 1
answered on 07 Feb 2011, 11:35 PM
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
Tags
General Discussions
Asked by
Kashyap
Top achievements
Rank 1
Answers by
Cody
Telerik team
Kashyap
Top achievements
Rank 1
Share this question
or