Hi guys,
I am pretty new to Katalon and I am trying to do a test run on Jira. I recorded some steps where I create manually some Epics, Topics, User-Stories etc in Chrome.
A simple example:
I created a topic in Jira from scratch and recorded it
Then I created separately 2 user-stories, test, test execution etc and linked them to the previously created topic issue
The structure looks like this: story XXX with the following linked issues:
So far so good - now the issue is that when I execute the test script in Katalon Studio, it starts with the creation of the topic, then the other tickets. In the end they are linked to the topic as I did it manually…
The next step however is to go from the topic into all of the linked issues - but they have different IDs since they have been created by the test skript just now in the test run…
The only sure thing is that every time the amount of linked issues will be constant. And although the IDs will be different, the names will be always “Pre-Condition of User-Story#1 of Epic#3” etc… so this could be used as identifier…
The problem is that once I run it again the script will not know which ticket to click and it will click always on the first one. (since the previously recorded test object have different IDs anyway)
That is the code for the one elemen (the whole row)
How can I create a manual test object which will be able to detect any random linked issue based only on its name, for example name.contains(“Pre-Condition of User-Story#1 of Epic#3”) and so on without checking the id…?