简体   繁体   English

如何使用硒(JAVA)自动执行SAP Fiori

[英]How to Automated SAP Fiori Using Selenium (JAVA)

I want to know how to automate SAP Fiori (Browser) using Selenium in Java? 我想知道如何在Java中使用Selenium自动执行SAP Fiori(浏览器)吗?

Did I need to install some external tools or need to enable some SAP configuration in order to read the element inside Fiori interface? 我是否需要安装一些外部工具或需要启用一些SAP配置才能读取Fiori界面中的元素?

I already tried to read Fiori element but the selenium keep on telling that the element cannot be found. 我已经尝试读取Fiori元素,但是硒不断告诉我们找不到该元素。

thanks for your kind respond guys i try with Xpath that include (contains) it seem working but with normal get by.id/class/tag it seem some value cannot be read by Selenium. 感谢您的友好回答,我尝试使用Xpath包含(包含)它似乎有效,但是使用正常的get by.id/class/tag似乎Selenium无法读取某些值。 just one thing i did not sure did HTTP / HTTPS affected the Selenium detection? 我不确定HTTP / HTTPS是否影响硒检测?

This question is pretty generic. 这个问题很笼统。 It should be possible, to use Selenium for testing UI5 apps. 应该可以使用Selenium来测试UI5应用程序。 Here it says that you need to install additional Selenium web drivers. 这里说您需要安装其他Selenium Web驱动程序。

You might also want to check out OPA5, as described under Testing and under Integration Testing with One Page Acceptance Tests (OPA5) . 您可能还想检出OPA5,如“ 测试”和“ 带有一页接受测试的集成测试(OPA5)”中所述

This blog compares Selenium and OPA5. 该博客比较了Selenium和OPA5。

This thread Automated UI tests for SAP UI5 might also be helpful. 该线程针对SAP UI5的自动UI测试也可能会有所帮助。

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

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