Contributions
Re: testscripts from jenkins not running on testExecute
Hi, Here is some more information on the issue. The system we are using is a EC2 VM with windows. Using cloudbees agent service controller and Test Execute 15.40 on the machine. The cloudbees agent service have the credentials for login and from Jenkins we don't need to provide any credentials to login to the VM. All we provide is the machine label. And in TestComplete service 15 we have selected "use local user session". Here in this service should we use same credentials similar to cloudbees or use local user session should be good. Sorry for not providing any screenshots as I don't have access to the VM. For everything we need to ask our admins to perform. Please let me know if any other information is needed.142Views0likes0CommentsRe: testscripts from jenkins not running on testExecute
This is the settings I see for Remote desktop connections in the slave machine And when we looked in the logs we see an error "SetAllAppPackagesPermissionsForProductDirectory: RegOpenKeyEx(HKEY_LOCAL_MACHINE\SOFTWARE\SmartBear\TestComplete\15.0\Setup) failed with error = 0x00000002." log trace 2023-08-31 15:31:23.711 6748 The beginning of the trace file. 2023-08-31 15:31:23.711 6748 Process information: 2023-08-31 15:31:23.712 6748 Name: TestCompleteService15_2924 2023-08-31 15:31:23.712 6748 PID: 2924 2023-08-31 15:31:23.712 6748 Priority: 32 2023-08-31 15:31:23.712 6748 Session: 0 2023-08-31 15:31:23.712 6748 Host: W1IPRRAVJEN001 2023-08-31 15:31:23.712 6748 CmdLine: "C:\Program Files (x86)\SmartBear\TestExecute 15\Bin\TestCompleteService15.exe" 2023-08-31 15:31:23.712 6748 OS: 6.2.9200.2 2023-08-31 15:31:23.713 6748 Module information: 2023-08-31 15:31:23.713 6748 Path: C:\Program Files (x86)\SmartBear\TestExecute 15\Bin\TestCompleteService15.exe 2023-08-31 15:31:23.771 6748 ctor CTestCompleteServiceModule 2023-08-31 15:31:23.776 6748 TestCompleteService v15.40.0421.0 2023-08-31 15:31:23.776 6748 HKCR\AppID\{25575D8C-C512-427E-977F-D6F20C7EE4F2} 2023-08-31 15:31:23.777 6748 = 'TestCompleteService15' 2023-08-31 15:31:23.777 6748 LocalService = 'TestComplete 15 Service' 2023-08-31 15:31:23.777 6748 HKLM\SOFTWARE\SmartBear\TestCompleteService\15.0 2023-08-31 15:31:23.777 6748 C:\Program Files (x86)\SmartBear\TestExecuteLite 15\bin\TestCompleteService15.exe = '' 2023-08-31 15:31:23.777 6748 C:\Program Files (x86)\SmartBear\TestExecute 15\Bin\TestCompleteService15.exe = '' 2023-08-31 15:31:23.777 6748 NetworkSuitePort = DWORD:0x000017d9 (6105) 2023-08-31 15:31:23.783 6748 Dumps folder: C:\Windows\system32\config\systemprofile\AppData\Local\SmartBear\TestComplete\15.0\Logs\ 2023-08-31 15:31:25.189 6748 Service::Start 2023-08-31 15:31:25.190 4724 SetAllAppPackagesPermissionsForProductDirectory: RegOpenKeyEx(HKEY_LOCAL_MACHINE\SOFTWARE\SmartBear\TestComplete\15.0\Setup) failed with error = 0x00000002. 2023-08-31 15:31:25.194 4724 SetAllAppPackagesPermissionsForProductDirectory: Calling SetNamedSecurityInfo(C:\Program Files (x86)\SmartBear\TestExecute 15\) 2023-08-31 15:31:25.195 9752 CTestCompleteServiceModule::PreMessageLoop 2023-08-31 15:31:25.209 9752 start Service::OnStart 2023-08-31 15:31:25.536 9752 end Service::OnStart 2023-08-31 15:31:34.384 4724 SetAllAppPackagesPermissionsForProductDirectory: SetNamedSecurityInfo(C:\Program Files (x86)\SmartBear\TestExecute 15\) returned 2023-08-31 15:31:34.385 4724 SetAllAppPackagesPermissionsForProductDirectory: succeeded.244Views0likes0CommentsRemoving a row from Table variable
I am trying to remove a row from the table variable, but I am getting the following error. tab.$remove is not a function var tab = ProjectSuite.Variables.VariableByName(tabelName) var rowCount = tab.RowCount for (i=0; i<rowCount; i++) { var rowCellValue = tab.$get(ColumnName, i) if (rowCellValue == cellValue){ break; } } tab.$remove("Item", ColumnName, i, cellValue) I can't find documentation on how to remove the row item. Thanks391Views0likes3CommentsRe: testscripts from jenkins not running on testExecute
Hi, We tried roll back to previous working version 15.40, We also updated the Group policies as listed in the documentation. Still the testExecute is not running when kiccked off from Jenkins buils. We noticed that the SessionCreator.exe got started in the VM under the user account when the job ran, but the testExecute was not launched. We even tried to run the same command that was passed from the jenkins in the VM command window, that time the TestExecute got launched and run fine. So we are not sure whats going on and got stuck in no where. Any inputs might help us. https://support.smartbear.com/testexecute/docs/working-with/integration/jenkins/requirements-and-limitations.html?sbsearch=group%20policy#2--configure-group-policies Thanks465Views0likes0CommentsRe: Getting error
Without a sample code and screenshots of where the issue is, it will be very hard to provide any solution. All I can assume that you are trying to click on an object and there might be some thing else overlaping on that object. Check if the object is visible on screen before clicking or taking action on that object.323Views1like0CommentsRe: testscripts from jenkins not running on testExecute
Hi, We have rollbacked the version for TestExecute on our VM, but still having same issue. It's not running the tests. I feel like there should be some connection between Jenkins and VM to run on Selenium grid and that part seems to be missing. Do I need to provide any selenium IP address on TestExecute? In our code when launching the browser, we have the following capabilities. var server = "http://w1idvrvnqas101.xxx.com:4444/"; //This is our selenium node server /**/ var capabilities = { "browserName": "chrome", "goog:chromeOptions": { "args": [ "--headless", "screenResolution=1920x1080", "--window-size=1920,1080", "--page-size=90", "--disable-gpu", "--disable-dev-shm-usage", "--no-sandbox", ] } } Do we need to provide selenium address in the TestExecute Options>Integration also even though we are providing it from our script556Views1like1CommentRe: testscripts from jenkins not running on testExecute
no not yet. Before doing that we are trying to rule out all the possible scenarios. And for installing TestComplete in our local machine we are using On-premises license with an IP address. Can we use same IP address for TestExecute for licensed version?587Views0likes0Comments