On Tue, 20 Jul 2021 23:54:20 GMT, lawrence.andrews <[email protected]> wrote:
> 1) When the test is executed via jtreg user can see only print dialog with no > instruction to the user. User has to see the test case to see the instruction > and perform the test . > 2) With this fix User is instructed what he/she has to do with the print > dialog. > 3) I have added both success instruction as well as failure instruction. > > @shurymury I rewrote the test case to close the test ui if user click the OK or Cancel button & check for job.getCopies() value and make the testcase pass or fail. You are right even I have the same issue in deciding whether to make the test case pass or fail if prerequisites aren't met. I hope all the client test machines are configured with printer. Yes, Sysout is overkill, I am working just to show the test instruction in an frame & printDialog. ------------- PR: https://git.openjdk.java.net/jdk/pull/4850
