Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: OPA testing: View to be tested is embedded in App.view.xml

$
0
0

HelloVincenzo,


Are you using any routing in your Component.js?

Even though you are setting the rootView as App.view.xml, the routing pattern for ../index.html in which case is pattern : "" may be referring to another view.

 

If your App.view.xml is just to initialize the application, like below and you just want to access your application, you can set the viewName in your test to the view that is loaded from the routing pattern.

<mvc:Viewxmlns:mvc="sap.ui.core.mvc"xmlns="sap.m"displayBlock="true">

<SplitAppid="idAppControl"/>

</mvc:View>

Regards,

Armin


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>