I'm currently running into an issue where Test Studio will not record elements added ot the repository before and/or after adding them. This occurs most frequently with continue buttons and radio dials which are javascript driven. The tool records them with generic labels such as continuespan, continuespan(), span1, etc.
I noticed that when attempting to edit the element, findlogic is capturing the div id and tagindex. The problem occurs when trying to re-use the element in other tests involging different parameters, causing the test to fail because for some reason the element cannot be located. I also noticed that when recording new tests with different parameters and selecting the same continuebutton, the span for the tagindex changes.
I have tried rearranging the order in which Test Studio finds elements, adding the "class" tag and no luck. It continues to pick up the div id and tagindex. Currently, we do not have individual label ids on all the elements in our system but before I investigate that route, I wanted to inquire there is a solution through the tool that can help alleviate this problem that I'm unaware of?
Screenshots are attached if needed.
I noticed that when attempting to edit the element, findlogic is capturing the div id and tagindex. The problem occurs when trying to re-use the element in other tests involging different parameters, causing the test to fail because for some reason the element cannot be located. I also noticed that when recording new tests with different parameters and selecting the same continuebutton, the span for the tagindex changes.
I have tried rearranging the order in which Test Studio finds elements, adding the "class" tag and no luck. It continues to pick up the div id and tagindex. Currently, we do not have individual label ids on all the elements in our system but before I investigate that route, I wanted to inquire there is a solution through the tool that can help alleviate this problem that I'm unaware of?
Screenshots are attached if needed.