on 10-16-2015 10:56 AM
Hi Team
JAVA jar files need to execute in SAPUI5 project.
How can we do . kindly do need ful
Please suggestion and help...
Regards
Kamal.M
Hi Kamal,
Where you want to put java jar files & purpose for this in your SAPUI5 Project.
regards,
Kherwa
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 it on client side,
This documentation is available from selenium,
Link: WebDriverJs · SeleniumHQ/selenium Wiki · GitHub
In addition to node, WebDriverJS may also be used directly in the browser. To compile the browser module, which has a smaller set of dependencies than node, run:
% ./go //javascript/webdriver:webdriver
The WebDriverJS client must be used with the Selenium server. Just as with node, you can create a WebDriver instance using the webdriver.Builder
class:
<!DOCTYPE html> <script src="webdriver.js"></script>
<script>
var driver = new webdriver.Builder().
usingServer('http://localhost:4444/wd/hub').
withCapabilities(webdriver.Capabilities.chrome()).
build();
driver.get('http://www.google.com');
driver.findElement(webdriver.By.name('q')).sendKeys('webdriver');
driver.findElement(webdriver.By.name('btnG')).click();
driver.getTitle().then(function(title)
{
if (title !== 'webdriver - Google Search') {
throw new Error(
'Expected "webdriver - Google Search", but was "' + title + '"');
}
});
driver.quit();
</script>
Regards,
Kherwa
We have two questions on the topic for this week 🙂
Hi Kamal
Can you share more information on what you want to do here. SAPUI5 is using javascript and how do you want to execute java classes?
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 |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.