VS2012更新2 - 使用Chrome问题进行跨浏览器测试 [英] VS2012 with Update 2 - Cross Browser Testing with Chrome Issues

查看:57
本文介绍了VS2012更新2 - 使用Chrome问题进行跨浏览器测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

b


我目前正在为我们的应用程序实施跨浏览器测试,并且遇到了Chrome 26.0.1410.64 m的问题(包括一些问题)旧版本)。当我运行CUIT时,Chrome会启动然后保持闲置状态,没有生命迹象,一分钟后,CUIT会失败。$ / b>

我曾尝试安装早期版本的Chrome看看是否有帮助,但它仍然没有做到这一点。我最初使用最新版本的Firefox 20+时遇到了类似的经历,但是安装Firefox 17.0.1已经解决了这个问题。


我已经遵循了关于确保visual studio和环境支持的所有说明跨浏览器测试。


- 已安装VS 2012 Update 2(之前我没有更新1)


Microsoft Visual Studio Ultimate 2012

版本11.0.60315.01更新2

Microsoft .NET Framework

版本4.5.50709


- 安装了
编码用户界面跨浏览器的Selenium组件测试


这是我目前得到的错误:

结果消息:

测试方法Qa.CodedUiTests.Merchant.CodedUITests.LoginWithoutInputingDataMerchant引发异常:
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestExcep :服务器没有响应url http:// localhost:4584 / session / 095a4c4d4fed48cc1d20df5527fd22e3 / title

结果StackTrace:
at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.Utility .MapAndReThrow(异常异常)
at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserService.Launch(Uri uri)
at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserFactory.Launch (Uri uri)
at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.LaunchPrivate(Uri uri)
at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow。<> c__DisplayClass3d。< Launch> b__3c ()
at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod [T](Func`1 function,UITestControl control,Boolean firePlaybackErrorEvent,Boolean logAsAction)
at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow .Launch(Uri uri)
在Qa.CodedUiTests.Merchant.UIMap.LaunchA pp中的pp()c:\ project \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Qa \CodedUiTests\Merchant \CodedUITests.cs:第198行

任何帮助都将不胜感激。




解决方案

您好Oleg,


感谢您在MSDN论坛上发帖。


由于此问题是相关的对于扩展工具"用于编码UI跨浏览器测试的Selenium组件",它真的超出了我们论坛的支持范围。但为了帮助您解决此问题,您可以点击"Q AND A"

这里
,然后开始讨论,你会得到更好的支持。感谢您的理解。


最诚挚的问候,


Hi,

I am currently implementing cross browser testing for our application and have come across with an issue for Chrome 26.0.1410.64 m (including some older versions). When i run a CUIT, Chrome is launched and then remains idle with no sign of life, a minute later the CUIT fails.

I had tried installing earlier version of Chrome to see if that helps, but it still didn't do the trick. I had somewhat similar experience initially with latest version of Firefox 20+ but installing Firefox 17.0.1 has resolved this issue.

I have followed all instructions with regards to ensuring visual studio and the environment supports cross browser testing.

- Installed VS 2012 Update 2 (I did not have Update 1 before)

Microsoft Visual Studio Ultimate 2012
Version 11.0.60315.01 Update 2
Microsoft .NET Framework
Version 4.5.50709

- Installed Selenium components for Coded UI Cross Browser Testing

This is the Error I am currently getting:

Result Message:	

Test method Qa.CodedUiTests.Merchant.CodedUITests.LoginWithoutInputingDataMerchant threw exception: 
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException: No response from server for url http://localhost:4584/session/095a4c4d4fed48cc1d20df5527fd22e3/title

Result StackTrace:	
at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.Utility.MapAndReThrow(Exception exception)
   at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserService.Launch(Uri uri)
   at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserFactory.Launch(Uri uri)
   at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.LaunchPrivate(Uri uri)
   at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.<>c__DisplayClass3d.<Launch>b__3c()
   at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
   at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.Launch(Uri uri)
   at Qa.CodedUiTests.Merchant.UIMap.LaunchApp() in c:\project\Qa\CodedUiTests\Merchant\UIMap.cs:line 36
   at Qa.CodedUiTests.Merchant.CodedUITests.LoginWithoutInputingDataMerchant() in c:\project\Qa\CodedUiTests\Merchant\CodedUITests.cs:line 198

Any help will be greatly appreciated.


解决方案

Hi Oleg,

Thank you for posting in the MSDN forum.

Since this issue is related to the extension tool "Selenium components for Coded UI Cross Browser Testing", it is really out of support range of our forum. But to help you resolve this issue, you could click "Q AND A" here, and then start a discussion, and you would get better support there. Thanks for your understanding.

Best Regards,


这篇关于VS2012更新2 - 使用Chrome问题进行跨浏览器测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆