简体   繁体   English

我们可以在不安装JDK的情况下在Selenium Webdriver中编写和运行脚本吗?

[英]Can we write and run scripts in Selenium Webdriver without installing JDK?

I am new to selenium webdriver. 我是Selenium Webdriver的新手。 We are working on creating a POC for automation testing using Selenium. 我们正在努力创建用于使用Selenium进行自动化测试的POC。 I wanted to know if we can write and run selenium webdriver test cases in Java without installing JDK? 我想知道是否可以在不安装JDK的情况下用Java编写和运行Selenium Webdriver测试用例? I do have JRE installed on my machine but in my project we cannot install JDK. 我的机器上确实安装了JRE,但是在我的项目中我们无法安装JDK。 Also, if we cannot, then what are the things we can and cannot perform if JDK is not installed? 另外,如果我们做不到,那么如果未安装JDK,我们将能做哪些事情而不能做?

If you are developing in Java you will need to have JDK installed. 如果您使用Java开发,则需要安装JDK。 You cannot develop with JRE. 您不能使用JRE进行开发。

If you are doing this as only proof of concept you can explore other languages like Ruby, perl, python for quick development. 如果您仅将其作为概念证明,则可以探索其他语言,例如Ruby,perl和python,以进行快速开发。

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

相关问题 我们可以在一个浏览器中运行多个Selenium WebDriver脚本吗? - can we run multiple selenium WebDriver scripts in a single browser? 有没有一种方法可以在不安装Eclipse的情况下运行Selenium Java脚本? - Is there a way to run selenium Java scripts without installing Eclipse? 我们可以让selenium webdriver等到用户在运行时点击网页链接而不使用隐式等待吗? - Can we make selenium webdriver to wait until user clicks on a webpage link at run-time without using implicit wait? 没有Webdriver的情况下,我可以在真正的浏览器中运行selenium 2吗? - can I run selenium 2 on real browser without webdriver? 我们可以通过 maven 的构建 plagin 构建 java 应用程序而不安装本地 JDK - Can we build java application through build plagin of maven without installing local JDK 我们可以在 Selenium WebDriver 中使用抽象类吗? - Can we use Abstract Class in Selenium WebDriver? 我们可以使用Selenium Webdriver构建应用程序吗? - Can we build an application using selenium webdriver? Selenium多个Webdriver脚本 - Selenium Multiple Webdriver Scripts 我们可以不通过Selenium Webdriver使用switchTo()方法来切换到另一个窗口吗? - Can we switch to another window without using switchTo() method through Selenium webdriver? 没有sudo安装jdk? - Installing jdk without sudo?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM