On 22-May-20 5:20 PM, Tejpal Rebari wrote:
Hi prasanta,
On 22-May-2020, at 4:10 PM, Prasanta Sadhukhan
<prasanta.sadhuk...@oracle.com
<mailto:prasanta.sadhuk...@oracle.com>> wrote:
If Alt+F4 is not working, then why dont we try with Alt+F+X which
does close the notepad app.
I meant that alt + f4 is woking fine in my local windows machine ,
but it lefts the Notepad window open in nightly testing as reported
in JBS.
How did you know Notepad window is kept open in nightly testing. Did you
enable failure-handler or use Robot.createScreenCapture to capture the
screenshot after test?
If alt+f4 is working then it should close the notepad window also, no?
Maybe there is some timing issue which is not allowing alt+f4 to close
the notepad app in mach5?
Regards
Prasanta
I also tried running the original test in nightly testing and it was
passing
as commented in the JBS.
There is one more problem, the test fails if the default share on disk
c$ is disabled or different disk is used,
Which I think can be changed only manually.
Regards
Prasanta
On 22-May-20 3:36 PM, Tejpal Rebari wrote:
Begin forwarded message:
*From: *Tejpal Rebari <tejpal.reb...@oracle.com
<mailto:tejpal.reb...@oracle.com>>
*Subject: **<Swing Dev> RFR: 8239827: The test
OpenByUNCPathNameTest.java should be changed to be manual*
*Date: *22 May 2020 at 3:32:45 PM IST
*To: *swing-...@openjdk.java.net <mailto:swing-...@openjdk.java.net>
Hi All,
Please review the following test only fix for jdk15.
Bug: https://bugs.openjdk.java.net/browse/JDK-8239827
Webrev : http://cr.openjdk.java.net/~trebari/swing/8239827/webrev00/
This test regularly left open Notepad window in the nightly testing.
So it was added to problem list.
The test opens file by local path name and UNC path name in windows
and
then try to close the file using alt + f4, which is not working.
So changed the test to manual test and removed from problem list.
Tested on Windows Platform.
Thanks and Regards
Tejpal
Regards
Tejpal