Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- 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
- at ru.crystals.setrobot.toolkits.RemoteCashConfig.getKeyCodesFromFiles(RemoteCashConfig.java:215)
- at ru.crystals.setrobot.toolkits.RemoteCashConfig.<init>(RemoteCashConfig.java:52)
- at ru.crystals.setrobot.toolkits.displays.CashDisplay.<init>(CashDisplay.java:52)
- at ru.crystals.setrobot.toolkits.CashBundle.<init>(CashBundle.java:64)
- at ru.crystals.setrobot.toolkits.SetRobot.createCashBundle(SetRobot.java:95)
- at ru.crystals.setrobot.toolkits.SetRobot.start(SetRobot.java:188)
- at ru.crystals.setrobot.loader.RobotLoaderInner.<init>(RobotLoaderInner.java:11)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at java.lang.Class.newInstance(Class.java:442)
- at ru.crystals.pos.loader.LoaderInner$1.initClass(LoaderInner.java:487)
- at ru.crystals.bundles.ClassScanner.initClassesForInterfaces(ClassScanner.java:256)
- at ru.crystals.pos.loader.LoaderInner.startRobot(LoaderInner.java:482)
- at ru.crystals.pos.loader.LoaderInner.initSpring(LoaderInner.java:313)
- at ru.crystals.pos.loader.LoaderInner.<init>(LoaderInner.java:100)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at java.lang.Class.newInstance(Class.java:442)
- at ru.crystals.pos.loader.Loader.<init>(Loader.java:86)
- at ru.crystals.pos.loader.Loader.main(Loader.java:145)
- Caused by: java.io.FileNotFoundException: config/plugins/kbd-preh-default.xml (No such file or directory)
- at java.io.FileInputStream.open0(Native Method)
- at java.io.FileInputStream.open(FileInputStream.java:195)
- at java.io.FileInputStream.<init>(FileInputStream.java:138)
- at java.io.FileInputStream.<init>(FileInputStream.java:93)
- at ru.crystals.setrobot.utils.StringUtilities.readXml(StringUtilities.java:639)
- at ru.crystals.setrobot.toolkits.RemoteCashConfig.getKeyCodesFromFile(RemoteCashConfig.java:597)
- at ru.crystals.setrobot.toolkits.RemoteCashConfig.getKeyCodesFromFiles(RemoteCashConfig.java:210)
- ... 23 more
- 10:22:38.213: Getting keyboard frame...
- Trace:
- Start to wait frame "Any javax.swing.JFrame" opened
- Trace:
- Frame "Any javax.swing.JFrame" has been opened in 0 milliseconds
- 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]
- 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}
- Trace:
- Start to wait frame "Any javax.swing.JFrame" opened
- Error:
- Frame "Any javax.swing.JFrame" has not been opened in 2002 milliseconds
- 10:22:41.352: Keyboard frame got within 00:03.139
- 10:22:41.352: Getting main window...
- 10:22:41.353: Main window got within 00:00.000
- 10:22:41.413: RMI server is started on 172.16.2.253:8002
- 10:22:41.421: Socket server is started on port 8001
- 10:22:42.915: Manzana service emulator started!
- 10:22:43.030: Cash object is created within 00:05.429
- 10:38:59.971: URI: /
- 10:38:59.972: http://172.16.2.253:8086/callback/?uuid=f4713911-a03e-4243-ac53-c2575feb8deb==runTest
- 10:38:59.972: process: /
- 10:38:59.977: callback==http://172.16.2.253:8086/callback/?uuid=f4713911-a03e-4243-ac53-c2575feb8deb
- 10:38:59.977: shopNumber==1186
- 10:38:59.977: cashNumber==60
- 10:38:59.977: command==runTest
- 10:38:59.978: testName==ru.crystals.setrobot.tests.autosetup.SetupKeyboardAndShopNumber
- 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}]
- 10:39:00.051: requestQueue: added to requestExecutionQueue
- 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}]
- 10:39:00.239: added
- 10:39:00.245: Начало тестирования: 06.02.2018 10:39:00
- 10:39:00.245: ____________________________________________________________
- 10:39:00.245: 1
- 10:39:00.246: autosetup.SetupKeyboardAndShopNumber
- 10:39:00.246: Настройка клавиатуры, номера магазина и номера кассы
- 10:39:00.246: ------------------------------------------------------------
- 10:39:00.340: ------------------------------------------------------------
- 10:39:00.344: Шаг 1. Настройка клавиатуры
- 10:39:00.454: [test] Экран FIRST_RUN_KEYBOARD_PRESS_KEY_UP (Первое подключение клавиатуры, нажмите клавишу Вверх) появился через 00:00.014
- 10:39:00.663: [toolkit] Key (Up:38) is pressed and released
- 10:39:00.663: [test] Нажата клавиша VK_UP[kbdUp]:38
- 10:39:00.664: [test] Экран FIRST_RUN_KEYBOARD_PRESS_KEY_DOWN (Первое подключение клавиатуры, нажмите клавишу Вниз) появился через 00:00.001
- 10:39:00.865: [toolkit] Key (Down:40) is pressed and released
- 10:39:00.865: [test] Нажата клавиша VK_DOWN[kbdDown]:40
- 10:39:00.867: [test] Экран FIRST_RUN_KEYBOARD_PRESS_KEY_ENTER (Первое подключение клавиатуры, нажмите клавишу Ввод) появился через 00:00.002
- 10:39:01.068: [toolkit] Key (Enter:10) is pressed and released
- 10:39:01.068: [test] Нажата клавиша VK_ENTER[kbdEnter]:10
- 10:39:01.070: [test] Экран FIRST_RUN_KEYBOARD_PRESS_KEY_CANCEL (Первое подключение клавиатуры, нажмите клавишу Отмена) появился через 00:00.001
- 10:39:01.270: [toolkit] Key (Escape:27) is pressed and released
- 10:39:01.271: [test] Нажата клавиша VK_ESCAPE[kbdCancel]:27
- 10:39:21.802: Скриншот сохранен в modules/setrobot/logs/2018-02-06/pics/2018-02-06_10-39-21-272_autosetup.SetupKeyboardAndShopNumber.png
- 10:39:21.802: [ERROR] Экран FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) так и не появился через 10.0+ сек
- ru.crystals.setrobot.toolkits.exceptions.ScreenNotDisplayedException: Экран FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) так и не появился через 10.0+ сек
- at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:556)
- at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:538)
- at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:525)
- at ru.crystals.setrobot.tests.autosetup.SetupKeyboardAndShopNumber.testSteps(SetupKeyboardAndShopNumber.java:63)
- at ru.crystals.setrobot.testfoundation.TestScenario.run(TestScenario.java:216)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- 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]]
- at ru.crystals.setrobot.toolkits.ScreenToolkit.verifyScreen(ScreenToolkit.java:433)
- at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:552)
- ... 9 more
- 10:39:21.802: ------------------------------------------------------------
- 10:39:21.803: 1. Экран FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) так и не появился через 10.0+ сек
- ru.crystals.setrobot.toolkits.exceptions.ScreenNotDisplayedException: Экран FIRST_RUN_KEYBOARD_CONNECTED_SUCCESSFULLY_NEXT (Первое подключение клавиатуры, клавиатура успешно подключена модель) так и не появился через 10.0+ сек
- at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:556)
- at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:538)
- at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:525)
- at ru.crystals.setrobot.tests.autosetup.SetupKeyboardAndShopNumber.testSteps(SetupKeyboardAndShopNumber.java:63)
- at ru.crystals.setrobot.testfoundation.TestScenario.run(TestScenario.java:216)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- 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]]
- at ru.crystals.setrobot.toolkits.ScreenToolkit.verifyScreen(ScreenToolkit.java:433)
- at ru.crystals.setrobot.toolkits.ScreenToolkit.waitFor(ScreenToolkit.java:552)
- ... 9 more
- 10:39:21.875: ------------------------------------------------------------
- 10:39:21.875: ERROR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement