I have a java applet to be run in browser, when it is started by jre plugin its console starts but before i could see something, it gets closed. Is there a way to chcek these console logs even if it is closed? may be some file or something where it is saved.
Enable Tracing in Java Control Panel. This way the console outputs are saved in a file here:
<User Application Data Folder>\Sun\Java\Deployment\log
More info here: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/tracing_logging.html
Related
Requirement:I want to automate application using selenium which is built using cef and some windows control.to launch the application we need to create shortcut and edit target with the url alone with file location or.Other way to launch the cef application is to pass the url along with the file address on cmd.
Exact issue I am facing is that I am able to tell webdriver to open the cef application using options.setbinary but for some reason webdriver is not accepting the url when I am passing the url using options.addargumnets().
Options.setBinary("my application.exe address");
Options.addArgument("url");
//Initialized driver with options
I forgot to update I have resolved this issue, I had to check the development code. when I asked dev to attach remote debugging port while initialising new browser from exe and then I used chromeoptions setexperimentaloptions() property to control already running chrome browser.
The extent report that I generate running a Java Selenium project on a CentOS machine with jenkins it is showing partially correct.
The issue comes when trying to view the screenshots that I have attached into the extent report on Jenkins on png format
I am using HTML Publisher plugin on the latest version
I have already set this command on the jenkins command line
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
Extent Report on Jenkins
The strange thing is when navigating directly on the CentOS file explorer and going to that path inside the jenkins workspace and opening the html report it is showing correctly as expected
Extent Report opened inside CentOS explorer
Has someone faced this issue before?
Edit:
This is the way I have the report inside a folder, including the jpg or png images at the same level of the html report files at same level of html report
EDIT: I have found a new important information for the issue. I contacted a security teammate and he told me this was related to a configuration issue since port 8080 is listening correctly.
Since Jenkins standalone is using a Jetty Http server it might be an issue with this.
Entering the jenkins logs I got this new information filtering the Jetty logs:
JETTY LOGS
Now I am working on troubleshooting this with the information with the logs
When requesting image not found, the file not allowed
Update your Jenkins Content Security Policy. With type into console the following commands:
System.clearProperty("hudson.model.DirectoryBrowserSupport.CSP");
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox allow-scripts; default-src *; img-src * data: ;");
Go to Manage Jenkins -> Script Console on your jenkins
I want to run a simple test using OxygenHQ, of opening wikipedia and then search for hello world. The script written is working fine for Chrome and Firefox but in case of IE mutiple windows are opening without the page and then it fails eventually.
Is there any way to fix this? I went through the docs provided at http://docs.oxygenhq.org/guide-web-intro.html but could not get a concrete answer on why this is only happening for IE. Here is a console output and screenshot for reference.
Console Output :
Initializing...
Starting iteration #1
UNKNOWN_ERROR - undefined: args[0].endsWith is not a function at line 1Test finished with status --> FAILED
Details:
Browser: Internet Explorer
Version: 11.535.18362.0
OS: Windows 10
This might be connected to your internet settings
make sure that the IE screen size is 100%
make sure all Internet options in Security Tab (Internet, Local Internet etc') are either with the Enable protected mode on or off (should be the same for all)
see picture
Have a look again at the Oxygen web site, it has had a major facelift and a lot of new content
I am trying to clear Web logic server console logs, to check latest logs without turning off server.
I have tried to clear logs by pressing "Ctrl+C" on console, but not working and logs was not cleared from console.
In case you are using Mac, use cmd + k to clear the logs and check the latest ones.
I would say you should not run Weblogic using the Command Prompt because if someone closes the console the service is going to crash. With this in mind, you should configure the your servers as service on Windows so please read this document.
https://docs.oracle.com/cd/E23943_01/web.1111/e13708/winservice.htm#START144
The Dude
I followed the help page here
and I created my application through the eb tools command line tools. I can see the application on command line, however when I log into my AWS Management console and select the region area, and click on "elastic beanstalk" I see the welcome screen asking me to create a new application,my question is why cant I see my application on the web interface? Also the application is running on the web because when I visit the url the link is active, but I see this message "Could not find rake-10.0.2 in any of the sources (Bundler::GemNotFound)" (which if anyone knows how to fix that would also help)
Thanks in advance
It turns out that somehow amazon changed my secret keys, and my instanced where not showing. When I updated the keys on my local machine everything began working correctly.