Cannot Open Sys Object Tree
Hello! I'm using testComplete for my application testing. In the object browser, Mobile and Sys are listed. I can open the Mobile object tree but cannot open the Sys object tree. More detail: I’m not able to get sys object tree, when I go with Object Spy > Highlight object in the object tree I receive message "cannot highlight this object in the object tree" but this object exists on the screen and when I use function 'Highlight object on the screen' it is highlighted. It happens to each object I tried (WPFobject such as buttons, cells). What I did: I updated the latest version of TestComplete(v 15.73.16), then sys object tree appeared. However, as I opened my file and start working, the object tree was not opened. Please give me any advice to solve this problem.Solved105Views0likes2CommentsProjectSuite.Variables.Path is undefined in OnStartTestHandler
I would like the pjs path in the OnStartTestHandler event handler to prefix to a TestedApps application. When I run my test ProjectSuite.Variables.Path is undefined. Is there another way to get the pjs path in the OnStartTestHandler event handler? This is my javascript code function UpdateFilePath(testedApp, path) { let app; // Obtains the tested application's item app = TestedApps.Items(testedApp); Log.Message(`Start: ${app.Path} --- ${app.FileName}`); app.Path = ProjectSuite.Variables.Path + path; Log.Message(`End: ${app.Path} --- ${app.FileName}`); return app; }Solved29Views0likes1CommentName Mapping not working on remote browser
The name mapping and test cases work fine on local browsers, but would complain about page or object not found when running headless remote browsers and in parallel testing. I have the following setup for browser name mapping: For headless setup I have: server = "localhost" capabilities = { "browserName": "chrome", "headless" : "true", "screenResolution": "1920x1080", "platform" : "Headless", "record_video": "true" } Browsers.RemoteItem[server, capabilities].Run(url) Is this the correct way to work with name mapping on headless browser?1KViews0likes15CommentsTestexecute enters ` or ~ in textbox
When running tests sometimes TC or TE enters chars into a textbox, mostly this char: ` I've seen it enter ~ aswell Example : I can not find where this char comes from, it happens only sometimes and at different moments/tests Anyone have any ideas where this could come from? In this test because it entered a invalid number I get an error screen (from my software) and the tests goes to timeout which stops the entire rest of the project from being run.1.2KViews0likes16CommentsAzure Pipelines - Runs on TestComplete instead of TestExecute
Hi all, So it seems like my UI tests are running with TestComplete instead of TestExecute and im trying to figure out why. In my pipeline i do request to use/prefer TestExecute: But for some reason it will run them with TestComplete and therefore consume a license which are supposed to be dedicated to my testers. So 5 TC licenses and 7 TE licenses and 6 agents running UI tests at night. Since they seem to run TC many pipeline are failing since they cannot acquire a license. I guess my next solution would be to install only TE on the agent's machines but i like to have TC there for debugging purposes. It was working just fine a few weeks ago... What could be causing this issue?26Views0likes2CommentsTestComplete cannot find chrome webdriver
Hello, I am trying to get TestComplete to run headless tests. I am following this guide https://support.smartbear.com/testcomplete/docs/app-testing/web/supported-browsers/headless.html#local and I am running into the issue that TestComplete cannot download/see the needed WebDriver. This is the JavaScript used in the guide. function Test_Chrome_Headless() { var server = "localhost"; var capabilities = { "browserName": "chrome", "screenResolution": "1920x1080" }; var url = "myurl"; Browsers.RemoteItem(server, capabilities).Run(url); } I downloaded the chrome driver manually and created the path as shown above. But even with the driver in the correct location he cannot seem to open it. When I try to open the driver myself, it works. Does anyone have an idea what I am doing wrong? Kind regards, Luuk641Views0likes4Commentshow to run different sets of tests via TestExecute
Hi guys, I'm curious, what's your strategy to run different sets of tests from command line/CI? I found no way to dynamically enable/disable items in Execution plan. I mean, I have a set of tests to delete/create some reference resources (CreateResources). This set needs to be run once a day. And then I have RegressionTests group, which I want to run once or multiple times a day. I tried to utilize /t: parameter with the name of appropriate test group. Unfortunately, TestExecute starts, but no test stored in either group is started. And yes, all tests and groups/subgroups are enabled (TC doc says that TC will run only the enabled test items). Thanks for any idea.Solved34Views0likes2Comments