-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于框架的内容 #3
Comments
java.lang.IllegalStateException: The driver is not executable: /Users/liwenjian/Downloads/webuitest4j-master/target/test-classes/driver/chromedriver.exe
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
框架使用 java+selenium+testng,其中还是用了 redis 用于做页面之间数据传递,不过没有 redis 的小伙伴也不要紧,因为没有 redis 丝毫不影响框架,即使控制出现 redis 连接报错,但是对于框架执行测试用例没有丝毫影响!丝毫!
还有,大家可能更喜欢 allure2 的测试报告,目前框架中的测试报告样式为 BeautifulReport 样式和 ExtentReport 样式,且二者都有!之后不久我会再集成一个 allure2 进去!尽请关注,(#^.^#)
框架使用 PageObject 思想,但是本人把 PO 中的数据和元素定位单独拎出来,因为考虑到项目过大,业务过于复杂,元素过多的情况!
驱动初始化操作本人放在了 BaseTest,不少人把驱动放在 Page 中,其实两种方式都是可以的!BaseTest 是所有测试用例类的父类,做测试配置初始化的工作,PageCommon 是所有页面类的父类,其关注的页面的详细操作!
OK 说了这么多,大家有问题请咨询我,我的邮箱在 github 介绍页面,WeChat:a463279708
只要我人还在,优化和扩展就不会停止……
The text was updated successfully, but these errors were encountered: