问题标签 [web-testing]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
7 回答
142 浏览

css - 我是否需要在跨浏览器测试中包含 Firefox 5?

Firefox 5 引入了自动更新。我注意到我安装的 FF5 已经更新到版本 6。

这是否意味着,与旧版本的 Chrome 一样,Firefox 5 真的不需要包含在我的跨浏览器测试电池中?或者是否有一些用户可能会阻止它更新我应该担心的方法?

0 投票
2 回答
1528 浏览

asp.net - 免费记录/回放网络测试工具

我有一个配置为在本地 IIS 上运行的 ASP.NET 应用程序。

任何人都知道任何免费的记录/重播网络测试工具,以便我可以使用例如 10 个并发用户来测试页面?

(我无权访问 Visual Studio 测试/终极版以使用其 Web 测试工具。)

谢谢

0 投票
1 回答
2921 浏览

python - WebDriverException:无法在 selenium python 脚本中加载配置文件错误

我在 python 中使用 selenium webdriver 来自动驱动 Firefox,python 脚本是从 Firefox 中的 selenium IDE 插件导出的。但是当我运行脚本时,它会引发错误:

WebDriverException:无法加载配置文件。配置文件目录:c:\users\ataosky\appdata\local\temp\tmpwpz

有人遇到过这个问题吗?如何解决这个问题?提前致谢。

EDIE :selenium 2.5 版本已经解决了这个问题。

0 投票
0 回答
118 浏览

java - Free Record / Replay solution for j2ee EJB layer

I'm looking for a free (if possible) solution where:

  • You can 'record' all the kinds of objects created during normal (production-like) usage of a webapp on an EJB application server (like Weblogic).
  • Afterwards you can 'replay' each page separately on an non-EJB application server like Tomcat.

Moreover, it would be fantastic if:

  • One could easily create test-suites from all the recorded scenarios and replay them in different browsers (to test regressions).
  • One could modify or substitute single recorded objects (for example changing the fields of a map etc.) Changed objects can be saved and added into a test suite.
  • It would be possible to integrate the solution with an IDE, optimally Eclipse.

I've tried googling and I've found Replay Solutions . Their product seems to be pretty well-suited to my requirements but unfortunately it is paid and they don't even put pricing directly on the webpage (it's available after contacting the company).

Does anybody know such a solution or am I demanding too much?

0 投票
4 回答
7953 浏览

asp.net - 请求失败:在测试上下文中找不到上下文参数“$HIDDEN1.__EVENTVALIDATION”

我正在寻找解决此问题的方法:

在运行我的自动网络测试时,我收到了一个失败的请求,这是我找到的响应: 请求失败:在测试上下文中找不到上下文参数'$HIDDEN1.__EVENTVALIDATION' 我弄清楚隐藏字段应该是从哪个请求中提取的(在之前的请求中),其中(Hidden1)我在之前的请求的提取规则中找到它,并且上下文参数名称的提取规则的值为1。

注意:我这次使用的是静态参数,HTTP 状态为 200。

在互联网上搜索后,我发现:http: //blogs.msdn.com/b/slumley/archive/2007/04/10/how-to-debug-a-web-test.aspx我没有找到我的解决方案在里面。

这个问题似乎很复杂,因为我保留了 2 天没有任何答案!如果有人想了解更多信息,我 24/24 在线 :) 非常感谢...

0 投票
1 回答
677 浏览

visual-studio-2010 - Visual Studio 2010 Web Test Url property supports data binding but how to validate Expected Response URL?

With a Visual Studio 2010 Web Test the Url property can be data bound to a list of URLs from a CSV file but it seems the Expected Response URL can't be data bound. The Expected Response URL just takes a string value. Am I missing something?

In this situation how could you test to see the URL of the page requested is actually the URL of the page you end up on and not a redirection to some other page?

0 投票
2 回答
2379 浏览

javascript - Visual Studio Web 性能测试,javascript

我正在网页上记录网络性能测试,我需要计算从单击按钮到呈现下一个想要的页面的时间。问题是我有很多在按钮单击时触发的客户端逻辑。因此,在 javascript 执行以及该请求被发送到服务器之后,已经过去了一段时间。

Web 性能测试只记录客户端和服务器之间的 Web 请求,从不记录 javascript 时间。

我需要记录实际时间,因为我点击按钮打开下一页(包括javascript时间)

这可以在 Visual Studio Web 性能中完成吗?如果没有,是否有其他选择?

非常感谢。

0 投票
1 回答
2442 浏览

selenium - Selenium 2 右键单击

我在 Linux 下使用 Selenium 2(Web 驱动程序)和 FireFoxDriver。

我无法使用坐标右键单击 WebElement 或另一个位置。我也无法移动鼠标指针。

我尝试使用“Actions”对象:

我也尝试过使用“鼠标”对象:

这些代码不会失败,但它们不会做任何事情。

但是,如果我在上面的两个示例中执行常规单击,它会按预期工作。

有人知道这是什么问题吗?

谢谢你。

0 投票
1 回答
356 浏览

debugging - Chrome 的开发者工具中阻止 Panopticlick 完全加载的原因是什么?

当我打开 Google Developer 工具时,我注意到在我关闭工具之前,点击 http://panopticlick.eff.org/上的“测试我”并没有完全加载。当然,一旦页面完全加载,我可以稍后重新打开工具,但我想了解为什么会发生阻塞操作。

为什么我必须关闭开发工具?这是一个错误吗?

0 投票
1 回答
193 浏览

web-testing - 在多个浏览器中测试网站

我想在我的本地机器上测试多个浏览器中的网页。我看到大多数在线服务都提供屏幕截图,但是当我单击网页上的链接时,我真的看不到会发生什么。

是否有任何软件可以让我看到网页在点击等用户事件上的实际运行情况?