Running htmlunit for .net selenium-webdriver? - webdriver

Does anyone have any instructions for a .net dev to run HtmlUnit and HtmlUnitDriver as a standalone server so that I can connect to it from .net tests, using selenium-webdriver's RemoteWebDriver?
I'm not interested in porting HtmlUnit, and I'm perfectly happy to run a jar file, I just don't know how to!
Thanks
Matt

Assuming you have Java installed, it should be as simple as downloading the standalone server jar from here, then running:
java -jar selenium-standalone-server.jar

Related

Azure Devops CI pipeline failing when adding SonarQube

I'm trying to add SonarQube into a CI pipeline on Azure DevOps.
My project is .Net Core 2.2 application. The error is related to Agent JDK. I don't know how can I specify the JDK of Microsoft Hosted Agent.
All the tutorials of SonarQube and .NET core pipelines are the same, but none mentioned anything about this issue.
Here's a snapshot about how my pipeline looks like:
Here's the error that's always happening with me. Shouldn't Microsoft Hosted Agent know what capabilities to use by its own?
Anyone have an idea about how we can solve this error?
The problem was in the JDK used in Micorosft Hosted Machine, for some reason the JDK used was not the supposed one.
The solution was following these steps:
Uploading a JDK zipfile to Azure blob storage
Running Java Tool Installer in my Pipeline, giving it the Uploaded zip file as resource
Run Code Analysis successfully finished then and results was published to my SonarQube server
Here's how my pipeline looks like right now:

Runtime server in Spring tools suite 3.9.4 OSX

I' m starting with Spring MVC.
I work in a MacBook Pro with Spring Tools Suite 3.9.4.
I configure a Pivotal Server but when I try to add the libraries in my Java Build Path, STS don't find my Runtime Server. Add I can add Libraries.
In Windows I don't have this problem.
Do you know if this is an issue in STS 3.9.4 Osx version?
Can you help me, please?
Look like a bug with Pivotal tc Server 4.0. If you download Pivotal tc Server 3.2.x and create a new runtime with tc Server 3.2.8 it would show up in the list of libs to add.
Can you please open an issue here: https://github.com/spring-projects/eclipse-integration-tcserver ?
Thanks very much :-)

How to use my own java in websphere 8.5.

My client refused to give access to WAS inbuilt JAVA and so I am not able to install my application. I have my own java installed at home/code/java. I set my JAVA_HOME as home/code/java but still when I am running the installation script in UNIX it is referring the same default JAVA_HOME under the Websphere.
Please suggest in which script I need to make the changes.
You can only use the Java that is shipped with the WebSphere Application Server full profile. It is not supported to use your own version of Java.
The WebSphere Application Server Liberty profile does support running with your own version of Java. See the Minimum supported Java levels section in the Knowledge Center.

Problems with SQLite JDBC driver under IntelliJ

So, I've got a problem, similar to this one, but with a WebApplication running with JBoss on RHEL: How to install SQLite JDBC Driver? but I cannot find a solution.
My problem is: If I build my code with IntelliJ I can run it locally (A Windows PC) but can't run it under a RHEL server. It throws: "java.sql.SQLException: RouteToMyDataBase"
However if I build my code with NetBeans it run's under both OS (RHEL and Windows), sooo, I don't think my code's wrong at all and I think there's something to do with my classpath, or the way I'm building my "artifacts" with IntelliJ.
I tried by copying my libs inside /opt/jbosseap51/jboss-as/server/default/lib/ as suggested somewhere else here (I lost the Question)
Please, don't tell me to build my project with netbeans, because it is a huge application build using intelliJ and would be too difficult to migrate all the project. It is working ok, but recently while migrating our project to different machines through SVN happend this.
¿Is there anything else I have to configure?

Executing PE files in ASP.Net on Linux without using Mono

Can anyone tell me is it possible to executing '.exe' or '.dll' file(s) to run Asp.net on Linux server?
I know its possible with the use of Mono project.
But is it possible with the use of Mono Project?
Thanks in advance.
Mhh... NOT(really)
You can't execute natively exes on Linux only with Wine. I don't know if is gonna work running an asp.net server (IIS) on Linux with Wine.
Maybe you should get a try.
BTW: why not use Mono? Is it very good now. It has evolved much

Resources