I’ve run into an issue where I have two of the same fields on the same page and katalon is unable to differentiate between the two. For example, the test case is creating a user providing a first name, last name, email, and phone number. You then have the option to create a second user at which point first name, last name, email, and phone number appear again. When Katalon runs the test, it appends the 2nd user data into the first users fields. Any thoughts on how I can get around this?
WebUI.waitForElementAttributeValue(findTestObject('Object Repository/Page_RP/input_First Name_firstName'), 'value', '', 10)
// Repeat for all other required fields...
Thanks for the feedback. I gave this a shot but still ended up with the same result. They key problem is when I do a web spy, both “First Name” fields are in the same repository. When Katalon is adding the text to first name “input_First Name_firstName”, it can’t tell it apart from the 2nd one (2nd user). Is there a different reference I can use for the second first name, last name, phone, and email fields so that Katalon knows to populate the new fields instead of adding to the first?