简体   繁体   English

实际项目中的 GUI 测试用例有多详细?

[英]How detailed are GUI test cases in real projects?

Let's say I need to test a main page of a crm system.假设我需要测试 crm 系统的主页。 It has a menu and many elements on the page.它有一个菜单和页面上的许多元素。 My undestanding is prior to checking the functionality it's needed to test the GUI.我的理解是在检查测试 GUI 所需的功能之前。 Do I write a test case for each link/element to check their presence as per specification?我是否为每个链接/元素编写测试用例以根据规范检查它们的存在? A test case for each element to check that they are correctly aligned and responsive?每个元素的测试用例来检查它们是否正确对齐和响应? Or is it enough to just say in one test case that everything is at its place and all the links work correctly?或者仅仅在一个测试用例中说一切都在它的位置并且所有链接都正常工作就足够了吗?

There's lots of ways to test the main page of a CRM system.有很多方法可以测试 CRM 系统的主页。 But before you do that, what is your goal or testing mission?但在此之前,您的目标或测试任务是什么? Based on your mission, it will inform how you test and what tests you select to run.根据您的任务,它将告知您如何测试以及您选择运行哪些测试。 As an example of tests you can run:作为测试的示例,您可以运行:

  • Specification-Based Testing (confirming specifications have been met)基于规范的测试(确认已满足规范)
  • Functional Testing (Testing individual / complete functions)功能测试(测试单个/完整的功能)
  • UI/UX Testing (Testing to understand how easy the UI is to navigate or how well designed the user experience is) UI/UX 测试(测试以了解 UI 导航的难易程度或用户体验的设计程度)

You can't test everything, so you need to figure out what is most important to test at this time and then that becomes your mission.您无法测试所有内容,因此您需要弄清楚此时最重要的是要测试什么,然后这成为您的任务。 You'll have to determine the best way to document and support your testing in a way that helps you test and can be done in a timely manner.您必须确定记录和支持测试的最佳方式,以帮助您进行测试并且可以及时完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM