on 10-15-2015 2:43 PM
Hi Experts,
I have java related jars and I have to use it in ui5 controllers.
Since our controller will be of java script how should I import those jars in my code.
Thanks and Regards,
Vevek P J
We are trying to create an UI5 user interface through which we can
send the data to selenium, and after testing the result has to be displayed in
customized format through UI5.
Provide with some suggestions.
Regards,
Vevek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually I am trying to develop an UI5 web application to do automated testing
based on selenium jars. I kept those jars in lib folder of Web-Inf. When I tried using a class present in that lib it throws some error.
Here are some screenshots.
Suggest some ways to use those libraries.
Regards,
Vevek P J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to do automated tests on SAPUI5 apps you can use OPA. Check the following examples:
https://sapui5.hana.ondemand.com/explored.html#/entity/sap.ui.test.Opa5/samples
Kind regards,
Wouter
javascript files should be assembled as war ( and then ear if we are talking about SAP Java WAS)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vevek,
Javascript is not the same as Java. Java runs on the server-side while Javascript runs on the client. You'll need a Java server. On that Java server, you could create a Java project with your jar files. If you want to use it in javascript. You'll have to create a servlet and use json to communicate with ajax calls in your javascript.
http://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm
Kind regards,
Wouter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vevek
Sorry I do not know how this will work. Why do you need java jars to be in SAPUI5 controller (in Javascript)
Thanks
-D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.