dsq30861 2010-08-17 12:47
浏览 83
已采纳

任何自动化 - 测试 - 人类依赖行为的方法?

I wonder if there are any good / possible ways to automate - for a unit test perhaps - a human-dependent action on an eCommerce website?

For example, could I have a macro or a script to simulate "can user put items in basket?" or "can user reach the payment gateway?".

I am currently managing a very heavily used eCommerce code base and would like to be able to quickly verify that any changes I implement are not going to goof things up for the end user.

  • 写回答

1条回答 默认 最新

  • dpr81047 2010-08-17 12:51
    关注

    Check out Selenium... All the tests execute in a browser, so you can test your JS, etc...

    Edit:

    Oh, and the REALLY cool thing, is if you use Selenium Grid, you can then scale out your already written tests to multiple browsers and platforms. So you write your test once, and then can run it (simultaneously) on literally dozens of different browser/platform combinations. You'll still need to intelligently write your test cases, but once you do you can use it to detect problems on other browsers (Test for JS errors/crashes)...

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作