Advertisement
fedorm

Untitled

Feb 7th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.54 KB | None | 0 0
  1. 10:22:38.191: [ERROR] Unable to load and read scancodes from 'config/plugins/kbd-preh-default.xml'. Default ones for standard keyboard will be used
  2. ru.crystals.setrobot.toolkits.exceptions.TestException: Unable to load and read scancodes from 'config/plugins/kbd-preh-default.xml'. Default ones for standard keyboard will be used
  3. at ru.crystals.setrobot.toolkits.RemoteCashConfig.getKeyCodesFromFiles(RemoteCashConfig.java:215)
  4. at ru.crystals.setrobot.toolkits.RemoteCashConfig.<init>(RemoteCashConfig.java:52)
  5. at ru.crystals.setrobot.toolkits.displays.CashDisplay.<init>(CashDisplay.java:52)
  6. at ru.crystals.setrobot.toolkits.CashBundle.<init>(CashBundle.java:64)
  7. at ru.crystals.setrobot.toolkits.SetRobot.createCashBundle(SetRobot.java:95)
  8. at ru.crystals.setrobot.toolkits.SetRobot.start(SetRobot.java:188)
  9. at ru.crystals.setrobot.loader.RobotLoaderInner.<init>(RobotLoaderInner.java:11)
  10. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  11. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  12. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  13. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  14. at java.lang.Class.newInstance(Class.java:442)
  15. at ru.crystals.pos.loader.LoaderInner$1.initClass(LoaderInner.java:487)
  16. at ru.crystals.bundles.ClassScanner.initClassesForInterfaces(ClassScanner.java:256)
  17. at ru.crystals.pos.loader.LoaderInner.startRobot(LoaderInner.java:482)
  18. at ru.crystals.pos.loader.LoaderInner.initSpring(LoaderInner.java:313)
  19. at ru.crystals.pos.loader.LoaderInner.<init>(LoaderInner.java:100)
  20. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  21. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  22. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  23. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  24. at java.lang.Class.newInstance(Class.java:442)
  25. at ru.crystals.pos.loader.Loader.<init>(Loader.java:86)
  26. at ru.crystals.pos.loader.Loader.main(Loader.java:145)
  27. Caused by: java.io.FileNotFoundException: config/plugins/kbd-preh-default.xml (No such file or directory)
  28. at java.io.FileInputStream.open0(Native Method)
  29. at java.io.FileInputStream.open(FileInputStream.java:195)
  30. at java.io.FileInputStream.<init>(FileInputStream.java:138)
  31. at java.io.FileInputStream.<init>(FileInputStream.java:93)
  32. at ru.crystals.setrobot.utils.StringUtilities.readXml(StringUtilities.java:639)
  33. at ru.crystals.setrobot.toolkits.RemoteCashConfig.getKeyCodesFromFile(RemoteCashConfig.java:597)
  34. at ru.crystals.setrobot.toolkits.RemoteCashConfig.getKeyCodesFromFiles(RemoteCashConfig.java:210)
  35. ... 23 more
  36. 10:22:38.213: Getting keyboard frame...
  37. Trace:
  38. Start to wait frame "Any javax.swing.JFrame" opened
  39. Trace:
  40. Frame "Any javax.swing.JFrame" has been opened in 0 milliseconds
  41. ru.crystals.pos.visualization.components.MainFrame[frame0,0,0,640x480,invalid,layout=java.awt.BorderLayout,title=Crystal cash,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,640x480,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
  42. 10:22:39.348: {Class=ru.crystals.pos.visualization.components.MainFrame, Y=0, Height=480, X=0, toString=ru.crystals.pos.visualization.components.MainFrame[frame0,0,0,640x480,invalid,layout=java.awt.BorderLayout,title=Crystal cash,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,640x480,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true], Resizable=true, Showing=true, Title=Crystal cash, Visible=true, State=NORMAL, Width=640, Name:=frame0}
  43. Trace:
  44. Start to wait frame "Any javax.swing.JFrame" opened
  45. Error:
  46. Frame "Any javax.swing.JFrame" has not been opened in 2002 milliseconds
  47. 10:22:41.352: Keyboard frame got within 00:03.139
  48. 10:22:41.352: Getting main window...
  49. 10:22:41.353: Main window got within 00:00.000
  50. 10:22:41.413: RMI server is started on 172.16.2.253:8002
  51. 10:22:41.421: Socket server is started on port 8001
  52. 10:22:42.915: Manzana service emulator started!
  53. 10:22:43.030: Cash object is created within 00:05.429
  54. 10:38:59.971: URI: /
  55. 10:38:59.972: http://172.16.2.253:8086/callback/?uuid=f4713911-a03e-4243-ac53-c2575feb8deb==runTest
  56. 10:38:59.972: process: /
  57. 10:38:59.977: callback==http://172.16.2.253:8086/callback/?uuid=f4713911-a03e-4243-ac53-c2575feb8deb
  58. 10:38:59.977: shopNumber==1186
  59. 10:38:59.977: cashNumber==60
  60. 10:38:59.977: command==runTest
  61. 10:38:59.978: testName==ru.crystals.setrobot.tests.autosetup.SetupKeyboardAndShopNumber
  62. 10:39:00.051: requestQueue: CashRequest [callbackURL=http://172.16.2.253:8086/callback/?uuid=f4713911-a03e-4243-ac53-c2575feb8deb, command=runTest, parameters={callback=http://172.16.2.253:8086/callback/?uuid=f4713911-a03e-4243-ac53-c2575feb8deb, shopNumber=1186, cashNumber=60, command=runTest, testName=ru.crystals.setrobot.tests.autosetup.SetupKeyboardAndShopNumber}]
  63. 10:39:00.051: requestQueue: added to requestExecutionQueue
  64. 10:39:00.151: requestExecutionQueue: CashRequest [callbackURL=http://172.16.2.253:8086/callback/?uuid=f4713911-a03e-4243-ac53-c2575feb8deb, command=runTest, parameters={callback=http://172.16.2.253:8086/callback/?uuid=f4713911-a03e-4243-ac53-c2575feb8deb, shopNumber=1186, cashNumber=60, command=runTest, testName=ru.crystals.setrobot.tests.autosetup.SetupKeyboardAndShopNumber}]
  65. 10:39:00.239: added
  66. 10:39:00.245: Начало тестирования: 06.02.2018 10:39:00
  67. 10:39:00.245: ____________________________________________________________
  68. 10:39:00.245: 1
  69. 10:39:00.246: autosetup.SetupKeyboardAndShopNumber
  70. 10:39:00.246: Настройка клавиатуры, номера магазина и номера кассы
  71. 10:39:00.246: ------------------------------------------------------------
  72. 10:39:00.340: ------------------------------------------------------------
  73. 10:39:00.344: Шаг 1. Настройка клавиатуры
  74. 10:39:00.454: [test] Экран FIRST_RUN_KEYBOARD_PRESS_KEY_UP (Первое подключение клавиатуры, нажмите клавишу Вверх) появился через 00:00.014
  75. 10:39:00.663: [toolkit] Key (Up:38) is pressed and released
  76. 10:39:00.663: [test] Нажата клавиша VK_UP[kbdUp]:38
  77. 10:39:00.664: [test] Экран FIRST_RUN_KEYBOARD_PRESS_KEY_DOWN (Первое подключение клавиатуры, нажмите клавишу Вниз) появился через 00:00.001
  78. 10:39:00.865: [toolkit] Key (Down:40) is pressed and released
  79. 10:39:00.865: [test] Нажата клавиша VK_DOWN[kbdDown]:40
  80. 10:39:00.867: [test] Экран FIRST_RUN_KEYBOARD_PRESS_KEY_ENTER (Первое подключение клавиатуры, нажмите клавишу Ввод) появился через 00:00.002
  81. 10:39:01.068: [toolkit] Key (Enter:10) is pressed and released
  82. 10:39:01.068: [test] Нажата клавиша VK_ENTER[kbdEnter]:10
  83. 10:39:01.070: [test] Экран FIRST_RUN_KEYBOARD_PRESS_KEY_CANCEL (Первое подключение клавиатуры, нажмите клавишу Отмена) появился через 00:00.001
  84. 10:39:01.270: [toolkit] Key (Escape:27) is pressed and released
  85. 10:39:01.271: [test] Нажата клавиша VK_ESCAPE[kbdCancel]:27
  86. 10:39:21.802: Скриншот сохранен в modules/setrobot/logs/2018-02-06/pics/2018-02-06_10-39-21-272_autosetup.SetupKeyboardAndShopNumber.png
  87. 10:39:21.802: [ERROR] Экран FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) так и не появился через 10.0+ сек
  88. ru.crystals.setrobot.toolkits.exceptions.ScreenNotDisplayedException: Экран FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) так и не появился через 10.0+ сек
  89. at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:556)
  90. at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:538)
  91. at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:525)
  92. at ru.crystals.setrobot.tests.autosetup.SetupKeyboardAndShopNumber.testSteps(SetupKeyboardAndShopNumber.java:63)
  93. at ru.crystals.setrobot.testfoundation.TestScenario.run(TestScenario.java:216)
  94. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  95. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  96. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  97. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  98. at java.lang.Thread.run(Thread.java:745)
  99. Caused by: ru.crystals.setrobot.toolkits.exceptions.ScreenNotDisplayedException: FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) не отображается Отсутствующие элементы: [ScreenItem [ClassType=ru.crystals.pos.visualization.configurator.view.components.SettingsTypeLabel, text=модель, tm=EQUALS_IGNORE_WS], ScreenItem [ClassType=ru.crystals.pos.visualization.configurator.view.components.SettingsTypeLabel, text=раскладка, tm=EQUALS_IGNORE_WS], ScreenItem [ClassType=ru.crystals.pos.visualization.configurator.view.components.StatusTextLabel, text=Клавиатура успешно подключена, tm=EQUALS_IGNORE_WS], ScreenItem [ClassType=ru.crystals.pos.visualization.configurator.view.components.Button, text=Далее, tm=EQUALS_IGNORE_WS]]
  100. at ru.crystals.setrobot.toolkits.ScreenToolkit.verifyScreen(ScreenToolkit.java:433)
  101. at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:552)
  102. ... 9 more
  103. 10:39:21.802: ------------------------------------------------------------
  104. 10:39:21.803: 1. Экран FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) так и не появился через 10.0+ сек
  105. ru.crystals.setrobot.toolkits.exceptions.ScreenNotDisplayedException: Экран FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) так и не появился через 10.0+ сек
  106. at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:556)
  107. at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:538)
  108. at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:525)
  109. at ru.crystals.setrobot.tests.autosetup.SetupKeyboardAndShopNumber.testSteps(SetupKeyboardAndShopNumber.java:63)
  110. at ru.crystals.setrobot.testfoundation.TestScenario.run(TestScenario.java:216)
  111. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  112. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  113. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  114. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  115. at java.lang.Thread.run(Thread.java:745)
  116. Caused by: ru.crystals.setrobot.toolkits.exceptions.ScreenNotDisplayedException: FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) не отображается Отсутствующие элементы: [ScreenItem [ClassType=ru.crystals.pos.visualization.configurator.view.components.SettingsTypeLabel, text=модель, tm=EQUALS_IGNORE_WS], ScreenItem [ClassType=ru.crystals.pos.visualization.configurator.view.components.SettingsTypeLabel, text=раскладка, tm=EQUALS_IGNORE_WS], ScreenItem [ClassType=ru.crystals.pos.visualization.configurator.view.components.StatusTextLabel, text=Клавиатура успешно подключена, tm=EQUALS_IGNORE_WS], ScreenItem [ClassType=ru.crystals.pos.visualization.configurator.view.components.Button, text=Далее, tm=EQUALS_IGNORE_WS]]
  117. at ru.crystals.setrobot.toolkits.ScreenToolkit.verifyScreen(ScreenToolkit.java:433)
  118. at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:552)
  119. ... 9 more
  120. 10:39:21.875: ------------------------------------------------------------
  121. 10:39:21.875: ERROR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement