com.kinective.techecks.testscripts.settingsManager.settingsManager
AddDeleteQueue
({TestID=AddDeleteQueue, ApplicationLogging=, Description=#TC1 Stop Windows Services, Add New Queue, Verify Queue Folders, Edit Queue, Repair Queue, Delete Queue and delete the queue folder and Start the services again, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=pckFilePath:E:\TeChecks\TestData\summitBatch.pck;, ProcessingTabMap=, QueueName=, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to repair queue in Setting Manager
at com.kinective.techecks.windows.SettingsManagerQueues.repairQueue(SettingsManagerQueues.java:152)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.AddDeleteQueue(settingsManager.java:84)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: FindFailed: C:\Users\immuser\Documents\eChecks\kinective_windows\src\test\resources\sikuli_images\stngMngr_expandMenu.PNG: (36x21) in R[0,0 1920x1080]@S(0)
Line 2291, in file Region.java
at org.sikuli.script.Region.find(Region.java:2291)
at com.kinective.support.Interaction.clickImage(Interaction.java:70)
at com.kinective.support.Interaction.clickImage(Interaction.java:96)
at com.kinective.techecks.windows.SettingsManagerQueues.repairQueue(SettingsManagerQueues.java:138)
... 14 more
(#TC1 Stop Windows Services, Add New Queue, Verify Queue Folders, Edit Queue, Repair Queue, Delete Queue and delete the queue folder and Start the services again)
AddQueueAndCheckLogs
({TestID=AddQueueAndCheckLogs, ApplicationLogging=, Description=#TC9 Add New Queue and verify text in Service Logs and Application Logs, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=pckFilePath:E:\TeChecks\TestData\UserChecks.pck;, ProcessingTabMap=, QueueName=, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.AddQueueAndCheckLogs(settingsManager.java:501)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: 51A4F871-CE36-43C8-9DC2-00D5FF486FE4
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC9 Add New Queue and verify text in Service Logs and Application Logs)
QueListTests
({TestID=QueListTests, ApplicationLogging=, Description=#TC2 Check the Queue List present or not, If Present, Close the list and reopen the queue list, get the queue names from the screen and exit the application, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=, ProcessingTabMap=, QueueName=, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.QueListTests(settingsManager.java:126)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: ED9D22CE-A529-41BB-931A-2FB57AC55934
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC2 Check the Queue List present or not, If Present, Close the list and reopen the queue list, get the queue names from the screen and exit the application)
VerifyApplicationLoggingTimeSettingServiceLoggingTab
({TestID=VerifyApplicationLoggingTimeSettingServiceLoggingTab, ApplicationLogging=logFileDir:E:\TeChecks\Queues\cashier6\AppLog;
maxLogSize:1000000;
maxLogCount:5;, Description=#TC4Verify all the fields of Application Logging Tab, Time Setting and Service Logging Tab, ServiceLogging=logFileName:E:\TeChecks\Queues\cashier6\CentralLog\TeChecksQueue.log;
logMaxSize:1000000;, TimeSetting=timeInterval:350;
waitTime:350;
zeroTimeOut:1000;
fileSaveLagTime:100;, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=, ProcessingTabMap=, QueueName=cashier6, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.VerifyApplicationLoggingTimeSettingServiceLoggingTab(settingsManager.java:226)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: 8CD76B03-540A-46AA-8C16-BCBCEF3C8B3A
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC4 Verify all the fields of Application Logging Tab, Time Setting and Service Logging Tab)
VerifyProcessingPrintingArchvingTab
({TestID=VerifyProcessingPrintingArchvingTab, ApplicationLogging=, Description=#TC3 Get the Queue to Monitor and Extention to Monitor(Should be XML or Dat) and Verify all the fields of Processing tab, Printing Tab and Archiving Tab, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=, ProcessingTabMap=exeToShell:E:\TeChecks\Queues\cashier6\TeChecks.exe;
exeToParams:!E:\TeChecks\Queues\cashier6\settings.xml;
folderToMove:E:\TeChecks\Queues\cashier6\data;
stopFilePath:E:\TeChecks\Queues\cashier6\Commands;
stopFileName:StopProcess.cmd;
tmpFilePath:E:\TeChecks\Queues\cashier6\Temp;
tmpFileName:check.txt;
errorDir:E:\TeChecks\Queues\cashier6\Error;
exactDefFile:E:\TeChecks\Queues\cashier6\66Online.enc;, QueueName=cashier6, PritingTabMap=pdfPrinterApp:E:\TeChecks\Queues\cashier6\PDFPrintApp.exe;
printerSelectionFile:E:\TeChecks\Queues\cashier6\PrinterSelection.xml;
printErrorDir:E:\TeChecks\Queues\cashier6\PrintError;, ArchivingTabMap=indexBuilderDir:E:\TeChecks\TeChecksIndexBuilder\PDF;
dataBackupDir:E:\TeChecks\Queues\cashier6\Backup;
dataBackupMaxDays:2;
auditBackupDir:E:\TeChecks\TeChecksIndexBuilder\Audit;})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.VerifyProcessingPrintingArchvingTab(settingsManager.java:173)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: 7378D7E0-5F61-48A7-BC21-5C14B92D91A4
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC3 Get the Queue to Monitor and Extention to Monitor(Should be XML or Dat) and Verify all the fields of Processing tab, Printing Tab and Archiving Tab)
VerifyQueuesMenu
({TestID=VerifyQueuesMenu, ApplicationLogging=, Description=Verify All Options of Queues Menu, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=, ProcessingTabMap=, QueueName=cashier6, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.VerifyQueuesMenu(settingsManager.java:322)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: 70559E51-42DA-4225-B26F-1CEF79185BB1
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC6 Verify All Options of Queues Menu)
VerifyToolsMenu
({TestID=VerifyToolsMenu, ApplicationLogging=, Description=#TC6 Verify All Options of Tools Menu, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=, ProcessingTabMap=, QueueName=cashier6, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.VerifyToolsMenu(settingsManager.java:375)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: 7FAF5549-0E41-42C1-9682-38D6D2BBAA5F
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC7 Verify All Options of Tools Menu)
deleteFilesAndRepairQueue
({TestID=deleteFilesAndRepairQueue, ApplicationLogging=, Description=#TC11 Delete Files from queue and repair the queue, verify deleted files are repaired, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=deleteFiles:E:\TeChecks\Queues\online44\PDFGen.dll,E:\TeChecks\Queues\online44\IMM.Data.DataExtractor.dll;
pckFilePath:E:\TeChecks\TestData\Online44.pck;, ProcessingTabMap=, QueueName=online44, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.deleteFilesAndRepairQueue(settingsManager.java:627)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: C6A54CBE-1707-44A5-B0CE-389EB3B43FCE
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC11 Delete Files from queue and repair the queue, verify deleted files are repaired)
processCorrectDatInQueue
({TestID=processCorrectDatInQueue, ApplicationLogging=, Description=#TC10 Place correct data file in correct package and verify application log and verify the dat file is there in backup folder, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=fromFilePath:E:\TeChecks\TestData\44batch.dat;
toFilePath:E:\TeChecks\Queues\online44\in;
backupFilePath:E:\TeChecks\Queues\online44\Backup;, ProcessingTabMap=, QueueName=online44, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.processCorrectDatInQueue(settingsManager.java:578)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: F15AE1C4-DF55-4CF1-AC0A-190371E2CB4E
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC10 Place correct data file in correct package and verify application log and verify the dat file is there in backup folder)
processWrongDatInQueue
({TestID=processWrongDatInQueue, ApplicationLogging=, Description=#TC8 Place wrong data file in wrong package and verify error is getting displayed in application log and verify the dat file is there in error folder, ServiceLogging=, TimeSetting=, LoginMap=password:gshn22/HQ9b2pkouLd5B+A==;
key:iAmWindows, QueueMap=fromFilePath:E:\TeChecks\TestData\66Gift.dat;
toFilePath:E:\TeChecks\Queues\online44\in;
ErrorFilePath:E:\TeChecks\Queues\online44\Error;, ProcessingTabMap=, QueueName=online44, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to Login to Setting Manager
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:31)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.processWrongDatInQueue(settingsManager.java:449)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: BFB60A26-88A6-422E-984F-3BA05C26C336
*** Element info: {Using=name, value=Password : }
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.sendKeysByName(WinUtils.java:296)
at com.kinective.techecks.windows.SettingsManagerLogin.login(SettingsManagerLogin.java:25)
... 14 more
(#TC8 Place wrong data file in wrong package and verify error is getting displayed in application log and verify the dat file is there in error folder)
repairAllQueues
({TestID=repairAllQueues, ApplicationLogging=, Description=#TC12 Delete dlls from multiple queues and use Queue updater utility to repair all queues and Check queues for dlls ( deleted dlls should be restored), ServiceLogging=, TimeSetting=, LoginMap=, QueueMap=deleteFiles:E:\TeChecks\Queues\online44\PDFGen.dll,E:\TeChecks\Queues\online44\IMM.Data.DataExtractor.dll,E:\TeChecks\Queues\cashier6\IMM.Data.DataExtractor.dll,E:\TeChecks\Queues\cashier6\PDFGen.dll,E:\TeChecks\Queues\summitb\IMM.Data.DataExtractor.dll,E:\TeChecks\Queues\summitb\PDFGen.dll,E:\TeChecks\Queues\SymitarO\IMM.Data.DataExtractor.dll,E:\TeChecks\Queues\SymitarO\PDFGen.dll;, ProcessingTabMap=, QueueName=, PritingTabMap=, ArchivingTabMap=})
java.lang.Exception: Unable to repair All queues in Setting Manager
at com.kinective.techecks.windows.SettingsManagerQueues.repairAllQueues(SettingsManagerQueues.java:186)
at com.kinective.techecks.testscripts.settingsManager.settingsManager.repairAllQueues(settingsManager.java:681)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'IMMVMSD2022A', ip: '192.168.11.134', os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22.0.1'
Driver info: io.appium.java_client.windows.WindowsDriver
Capabilities {app: Root, javascriptEnabled: true, platform: WINDOWS, platformName: Windows}
Session ID: C3DF30ED-FDFB-4935-ACBF-13FFB52B7B7F
*** Element info: {Using=name, value=QueuesUpdater}
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElement(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:404)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117)
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.findElementByName(WindowsDriver.java:1)
at com.kinective.support.WinUtils.switchToDialogWindow(WinUtils.java:717)
at com.kinective.techecks.windows.SettingsManagerQueues.repairAllQueues(SettingsManagerQueues.java:173)
... 14 more
(#TC12 Delete dlls from multiple queues and use Queue updater utility to repair all queues and Check queues for dlls ( deleted dlls should be restored))
C:\Users\immuser\Documents\eChecks\kinective_windows\testxml\settingsManager.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="500" name="TeChecks Automation" guice-stage="DEVELOPMENT" verbose="3">
<parameter name="projectKey" value="CHCKS"/>
<parameter name="deviceHost" value="localhost"/>
<parameter name="applicationUrl" value="E:\\TeChecks\\TeChecks Settings Manager.exe"/>
<parameter name="devicePort" value="4444"/>
<parameter name="windowsDriverUrl" value="http://127.0.0.1:4723"/>
<listeners>
<listener class-name="com.kinective.support.EmailReport"/>
</listeners>
<test thread-count="1" parallel="methods" name="TeChecks Automation" verbose="3">
<classes>
<class name="com.kinective.techecks.testscripts.settingsManager.settingsManager">
<methods>
<include name="AddDeleteQueue"/>
<include name="QueListTests"/>
<include name="VerifyProcessingPrintingArchvingTab"/>
<include name="VerifyApplicationLoggingTimeSettingServiceLoggingTab"/>
<include name="VerifyApplicationLoggingTimeSettingServiceLoggingTab"/>
<include name="VerifyQueuesMenu"/>
<include name="VerifyToolsMenu"/>
<include name="processWrongDatInQueue"/>
<include name="AddQueueAndCheckLogs"/>
<include name="processCorrectDatInQueue"/>
<include name="deleteFilesAndRepairQueue"/>
<include name="repairAllQueues"/>
</methods>
</class> <!-- com.kinective.techecks.testscripts.settingsManager.settingsManager -->
</classes>
</test> <!-- TeChecks Automation -->
</suite> <!-- TeChecks Automation -->
Tests for TeChecks Automation
- TeChecks Automation (1 class)
Groups for TeChecks Automation
P1
AddDeleteQueue
P10
processCorrectDatInQueue
P11
deleteFilesAndRepairQueue
P12
repairAllQueues
P2
QueListTests
P3
VerifyProcessingPrintingArchvingTab
P4
VerifyApplicationLoggingTimeSettingServiceLoggingTab
P6
VerifyQueuesMenu
P7
VerifyToolsMenu
P8
processWrongDatInQueue
P9
AddQueueAndCheckLogs
Smoke
AddDeleteQueue
AddQueueAndCheckLogs
QueListTests
VerifyApplicationLoggingTimeSettingServiceLoggingTab
VerifyProcessingPrintingArchvingTab
VerifyQueuesMenu
VerifyToolsMenu
deleteFilesAndRepairQueue
processCorrectDatInQueue
processWrongDatInQueue
repairAllQueues
eChecks Setting Manager
AddDeleteQueue
AddQueueAndCheckLogs
QueListTests
VerifyApplicationLoggingTimeSettingServiceLoggingTab
VerifyProcessingPrintingArchvingTab
VerifyQueuesMenu
VerifyToolsMenu
deleteFilesAndRepairQueue
processCorrectDatInQueue
processWrongDatInQueue
repairAllQueues
Times for TeChecks Automation
Total running time: 9 minutes
Reporter output for TeChecks Automation
VerifyProcessingPrintingArchvingTab({TestID=VerifyProcessingPrintingArchvingTab, ApplicationLogging=, Description=#TC3 Get the Queue to ...)
Unable to Login to Setting Manager [ScreenShot]
#TC3 Get the Queue to Monitor and Extention to Monitor(Should be XML or Dat) and Verify all the fields of Processing tab, Printing Tab and Archiving Tab
Steps:
Unable to Login to Setting Manager [ScreenShot]
VerifyQueuesMenu({TestID=VerifyQueuesMenu, ApplicationLogging=, Description=Verify All Options of Queues Menu, Servic...)
QueListTests({TestID=QueListTests, ApplicationLogging=, Description=#TC2 Check the Queue List present or not, If ...)
Unable to Login to Setting Manager [ScreenShot]
#TC2 Check the Queue List present or not, If Present, Close the list and reopen the queue list, get the queue names from the screen and exit the application
Steps:
Unable to Login to Setting Manager [ScreenShot]
VerifyToolsMenu({TestID=VerifyToolsMenu, ApplicationLogging=, Description=#TC6 Verify All Options of Tools Menu, Ser...)
AddQueueAndCheckLogs({TestID=AddQueueAndCheckLogs, ApplicationLogging=, Description=#TC9 Add New Queue and verify text in...)
Unable to Login to Setting Manager [ScreenShot]
#TC9 Add New Queue and verify text in Service Logs and Application Logs
Steps:
Unable to Login to Setting Manager [ScreenShot]
processCorrectDatInQueue({TestID=processCorrectDatInQueue, ApplicationLogging=, Description=#TC10 Place correct data file in ...)
Unable to Login to Setting Manager [ScreenShot]
#TC10 Place correct data file in correct package and verify application log and verify the dat file is there in backup folder
Steps:
Unable to Login to Setting Manager [ScreenShot]
deleteFilesAndRepairQueue({TestID=deleteFilesAndRepairQueue, ApplicationLogging=, Description=#TC11 Delete Files from queue an...)
Unable to Login to Setting Manager [ScreenShot]
#TC11 Delete Files from queue and repair the queue, verify deleted files are repaired
Steps:
Unable to Login to Setting Manager [ScreenShot]
AddDeleteQueue({TestID=AddDeleteQueue, ApplicationLogging=, Description=#TC1 Stop Windows Services, Add New Queue, ...)
Unable to repair queue in Setting Manager [ScreenShot]
#TC1 Stop Windows Services, Add New Queue, Verify Queue Folders, Edit Queue, Repair Queue, Delete Queue and delete the queue folder and Start the services again
Steps:
Unable to repair queue in Setting Manager [ScreenShot]
VerifyApplicationLoggingTimeSettingServiceLoggingTab({TestID=VerifyApplicationLoggingTimeSettingServiceLoggingTab, ApplicationLogging=logFileDir:E:\TeChe...)
Unable to Login to Setting Manager [ScreenShot]
#TC4 Verify all the fields of Application Logging Tab, Time Setting and Service Logging Tab
Steps:
Unable to Login to Setting Manager [ScreenShot]
processWrongDatInQueue({TestID=processWrongDatInQueue, ApplicationLogging=, Description=#TC8 Place wrong data file in wrong...)
Unable to Login to Setting Manager [ScreenShot]
#TC8 Place wrong data file in wrong package and verify error is getting displayed in application log and verify the dat file is there in error folder
Steps:
Unable to Login to Setting Manager [ScreenShot]
repairAllQueues({TestID=repairAllQueues, ApplicationLogging=, Description=#TC12 Delete dlls from multiple queues and...)
Unable to repair All queues in Setting Manager [ScreenShot]
#TC12 Delete dlls from multiple queues and use Queue updater utility to repair all queues and Check queues for dlls ( deleted dlls should be restored)
Steps:
Unable to repair All queues in Setting Manager [ScreenShot]
2 ignored methods
com.kinective.techecks.testscripts.settingsManager.settingsManager
VerifyServiceLogAndApplicationLogTab
checkFileVersion
checkFileVersion
Methods in chronological order
com.kinective.techecks.testscripts.settingsManager.settingsManager
initialize(org.testng.TestRunner@27443560)
0 ms
init(org.testng.TestRunner@27443560)
26343 ms
AddDeleteQueue({TestID=AddDeleteQueue, ApplicationLogging=, Description=#TC1 Stop Windows Services, Add New Queue, ...)
26444 ms
QueListTests({TestID=QueListTests, ApplicationLogging=, Description=#TC2 Check the Queue List present or not, If ...)
203685 ms
VerifyProcessingPrintingArchvingTab({TestID=VerifyProcessingPrintingArchvingTab, ApplicationLogging=, Description=#TC3 Get the Queue to ...)
225337 ms
VerifyApplicationLoggingTimeSettingServiceLoggingTab({TestID=VerifyApplicationLoggingTimeSettingServiceLoggingTab, ApplicationLogging=logFileDir:E:\TeChe...)
255068 ms
VerifyQueuesMenu({TestID=VerifyQueuesMenu, ApplicationLogging=, Description=Verify All Options of Queues Menu, Servic...)
278265 ms
VerifyToolsMenu({TestID=VerifyToolsMenu, ApplicationLogging=, Description=#TC6 Verify All Options of Tools Menu, Ser...)
299982 ms
processWrongDatInQueue({TestID=processWrongDatInQueue, ApplicationLogging=, Description=#TC8 Place wrong data file in wrong...)
321196 ms
AddQueueAndCheckLogs({TestID=AddQueueAndCheckLogs, ApplicationLogging=, Description=#TC9 Add New Queue and verify text in...)
342765 ms
processCorrectDatInQueue({TestID=processCorrectDatInQueue, ApplicationLogging=, Description=#TC10 Place correct data file in ...)
368890 ms
deleteFilesAndRepairQueue({TestID=deleteFilesAndRepairQueue, ApplicationLogging=, Description=#TC11 Delete Files from queue an...)
399061 ms
repairAllQueues({TestID=repairAllQueues, ApplicationLogging=, Description=#TC12 Delete dlls from multiple queues and...)
426827 ms