Project Playback Properties
Hello, I had a few questions about the Project playback properties. I have my project properties set to continue running on error, but I've had test items stop running on errors or failed checkpoints, but my test items still stop on failed checkpoints. This leads to a few questions. 1. Why is the test item being stopped despite the playback properties? 2. Whats the difference between project properties and default project properties accessed through Tools > Default Project Properties? 3. For unexpected window property, how does TC know that a window is unexpected? Thanks!Solved963Views0likes2CommentsProblem with Object Extended Properties and Actions recognition in one specific case
Hi all, We have a set of tests coded with TestComplete 12.50 (12.50.4142.7 to be perfectly exact), working with common functions, and one day, one of these tests started logging errors dealing with interaction with objects like Tree Widget or Line Edit, which are manipulated in common functions. I mean all tests except it keep working correctly. The problem is systematic since 3 weeks ago, we use SVN to versionning our test scripts and we did not identify any change on this test or on the common functions concerned when the problem appeared. More details below : - We have a project suite with one project for each test (each test has one test item running the test) - We develop test on VM with TestComplete and execute them on other VM with TestExecute - On VMs, OS is Microsoft Windows 10 Business, 64-bit (10.0 Build 17134) - The test runs well on my development VM, on another execution VM too (which is currently use for other tests), but fails on the execution VM which it has to run - The application we are testing is a Qt application - Objects causing problem are custom Tree Widget or Line Edit inherited from QTreeWidget or QLineEdit - These custom objects are well presents in our Object Mapping where they have to be (Qt Object Mapping, Tree Widget and Line Edit, for Current and Default Project Properties) - We get errors like : Unable to find the object wItems. See Additional Information for details. Additional Info : The object with the specified attributes does not exist. ... The object "wItems" does not exist. Additional Info : You are trying to call the "Item" method or property of the "wItems" object that does not exist. ... The object "wItems.Item("TESTCOMPLETE")" does not exist. Additional Info : You are trying to call the "Selected" method or property of the "wItems.Item("TESTCOMPLETE")" object that does not exist. ... Unable to find the object ClickItem("TESTCOMPLETE"). See Additional Information for details. Additional Info : The object with the specified attributes does not exist. ... Unable to find the object wText. See Additional Information for details. Additional Info : The object with the specified attributes does not exist. - In these messages note that "TESTCOMPLETE" is the caption of the item we want to click on; and we check the item currently selected before. Besides, note that for each error, we got a screenshot and our application is well opened ans visible (we tried to force it with a SetFocus call before trying to interact with but it did not change nothing) We do not manage to explain what could be the reason of this problem and what could bring it about suldenly. We tried to go through Object Mapping and other Project Properties, VMs OS versions, TestExecute version, comparing all these elements between each VM and each project (because other projects work well). We read many forums on SmartBear Community but although we tried some suggestions found for other problems, we did not find solution. Please, can somebody help us go through this problem ?Solved1.3KViews0likes2Commentsset StopOnError via script
I am trying to write a simple script that runs each time a project starts. It is to loop through the test items and shut off the StopOnError property. Here is the code I have right now that doessn't work (JScript): var i; for(i = 0; i < Project.TestItems.ItemCount; i++) { Project.TestItems.TestItem(i).StopOnError = 0; } This throws and error: "Invalid number of arguments or invalid property assignment" Is this specific task even possible?Solved1.2KViews0likes2Comments