[英]When writing end to end selenium tests, should I navigate to a page or just open the URL?
Say I need to submit a form on the 'Classes' page.假设我需要在“课程”页面上提交表格。 I am testing the 'enroll into class' feature.我正在测试“注册课程”功能。 Do I navigate to the page by clicking on the menu bar, or do I just directly open the URL of the page?是点击菜单栏导航到页面,还是直接打开页面的URL?
It depends on the scenario you need to test.这取决于您需要测试的场景。
As an autoimation engineer you need to work according to the documentation.作为自动化工程师,您需要根据文档进行工作。
If no scenario defined you can choose easiest way to do that.如果没有定义场景,您可以选择最简单的方法来做到这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.