Contributions
Using Variables for Numbers that Increase
Hello, I want to create a test that goes in to our system and tests the function of creating and saving a work order. It needs to open up a new work order and assign that work order a unique number. I believe using a variable in the work order number field is the answer, but a but stumped on how to do it. Our system won't allow a work order to be saved if it shares the same number as another that is already in the database. So, I need a way to open a new work order, enter the number of the order created the last time the test ran +1. For instance if I run the test on Monday and it creates Work Order # 151, when I run the same test on Tuesday, I'd like it to create work order # 152, and on Wednesday #153, and so on for infinity. If it's possible to make suggestions keyword-test-style instead of scripting-style, that would be so much appreciated. Thanks in advance!Solved616Views0likes3CommentsDelay VS Auto-wait
We're working with older software and finding long load times to be a problem while using TestComplete. We're using delays and auto-wait to manage the issue, but I'm still foggy on the difference between the two, and more specifically -- which situations are better suited for the use of each option. I don't have a programming background, and I'd appreciate any clarification anyone might offer on this. Thanks in advance.Solved618Views0likes3Comments- 684Views1like0Comments
Accommodating Dynamic Row Counts in TestComplete
I'm trying to bring in some formerly manual regression tests that include checking row counts in a table. Depending on the number of entries at any given time, the count could be different each time the test is run. I'm looking for advice on the best way to add a checkpoint that 1)counts the number of rows at testing time and 2) validates that the row count indicated at the bottom of the table is correct. Further, that dynamic row count value is currently used in subsequent tests. Any advice on how to go back to that value and use it in a separate test? I'm using TestComplete15.40.421.7 x64 on a desktop. Thanks in advance!Solved702Views0likes2Comments