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!Solved963Views0likes2CommentsHow to Set or Get "Test Step" Properties from another Test Case.
Hi. I am pulling my hair out. I have 2 test cases, the 1st one I created a "Properties" test step and I can set and get to that using Groovy within that test case. I also have also created another "Properties" test step in the 2nd Test case and from within that Test Case (in Groovy) I want to Set a value in the 1st ones "Properties" test step, but cannot figure out how to do this. Any help would be appreciated, please. Thanks, Cliff.Solved3.1KViews0likes1CommentLoading Property Values Dynamically from a File
I need to load a section of my request dynamically each time. I created a property at the test case level called Message ( ${#TestCase#Message} ) and added a Property step that is supposed to read the value from a file. There are 3 steps in my test case: Load the Message property (the value of the property is defined in the file) Execute the request (inserts the property value into the request) Property Transfer (returns the response status) The request has the property name substituted for the dynamic section.However the value is not read when I execute the test case, it only contains the value from when I manually execute from the Property step editor. It merges the property request into the request just fine, and the property transfer is also working, but the value is static and not dynamically loaded. How do I get it to update the property value every time I execute the test case? I am using an external tool that interfaces with SOAP UI so I want to stay away from scripting, just want to use standard SOAP UI steps. Screen shots attached, any and all help greatly appreciated!Solved1.5KViews0likes1CommentProblem 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.3KViews0likes2CommentsCorrupted UTF-8 content when reloading a source file in a Properties step
Hi, In both 5.3.0 and 5.4.0 versions of SoapUI (free version), I load a properties source file which contains a property value containing the character Ã. If I use the "Loads property value from an external file" button, the import is ok: I can see the à in the loaded value. But if I click on the "Reloads the current properties from the selected file" button (after having chosen the same file on disk), the loaded value is corrupted. It seems to be a bug. Thanks in advance for your support.1.8KViews0likes5Commentsset 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.2KViews0likes2CommentsAccess thread count number
Hi. Is there a possibility to acces the current thread count as a property or something else? I would like to write some properties into an external file, but I also have to know the actual thread count when testing with several threads. I'm accessing my file as follows: File file = new File("D:/saveLabel.properties") file.delete() file << ("\r\n") file << ("PickupCode: ") file << (testRunner.testCase.getPropertyValue("PickupCode").toString()) So, my question: Is there a possibility to acces the number of the thread which is actually running? (Like testRunner.testCase.getPropertyValue("actualThreadCount").toString()) or something like this..) Thanks in advance.Solved1.8KViews0likes1Comment