leanft

LeanFT C# automation; Clicking on a wpf button control throwing exception

大城市里の小女人 提交于 2021-01-28 06:08:21
问题 Getting HP.LFT.SDK.GeneralReplayException: One or more specified arguments are not valid , while trying to click on a wpf button (using LeanFT with C# integrated in Visual Studio 2015 ) Given the code below: // Identify the "LicensingButton" button var LicensingButton = objAdminApplicationModel.wnd_Adminstration.Describe<IButton>(new ButtonDescription { Text = @"Licensing", ObjectName = @"Licensing" }); // Click the Licensing button. LicensingButton.Click(); But I am getting below exception

LeanFT - Running tests remotely results in random SocketClient Exceptions

梦想的初衷 提交于 2020-01-16 17:05:09
问题 We have a large automated test suites that seperates test out into 4 groups. These 4 groups are ran on different remote machines. Occasionaly, tests will start to fail and we get the following error message HP.LFT.Communication.SocketClient.CommunicationException : Send: client is not connected This just happens out of no where and it causes all the tests afterwards to fail. Is there anyway to fix this issue? 回答1: client is not connected issues are often thrown when multiple tasks are

LeanFT - Running tests remotely results in random SocketClient Exceptions

耗尽温柔 提交于 2020-01-16 17:04:05
问题 We have a large automated test suites that seperates test out into 4 groups. These 4 groups are ran on different remote machines. Occasionaly, tests will start to fail and we get the following error message HP.LFT.Communication.SocketClient.CommunicationException : Send: client is not connected This just happens out of no where and it causes all the tests afterwards to fail. Is there anyway to fix this issue? 回答1: client is not connected issues are often thrown when multiple tasks are