How to check for objects that did not exist at test start
I have a test that creates new items on our website. This consists of multiple parts that each create pieces of what will come together at the end as a fully functional program.
One of the steps creates savings information for another piece created earlier in the tests. To do this, TestComplete has to click an add button, then find the new item in a table. Unfortunately this is where i am having issues. With each new version we run this test and it cannot identify the checkbox next to the new name without me manually adding the checkbox into the namemapping before running.
Then after the checkbox is enabled and the dialog is closed, the new item is added to an existing list and i have to identify an edit button next to the new item. Same issue as these do not exist before test execution.
Is there a way to identify these newly created items during test execution? or a way to parameterize/variableize the namemapping for the checkbox/edit button?