Automated test open a child record by parent record

pyuen
Kilo Contributor

Hi All,

After i created an incident, the incident task will be generated by a business rule.

The incident task 's are linked to the incident.

How can I open the incident task after the "Submit a Form" step ?

Say my testing script is following

1)Open a New Incident form

2)populate the incident caller and short description

3)Submit a Form

4)Open the existing incident task by the step 3's incident ID ?

6 REPLIES 6

kvamsikrishna
Mega Expert

Hi






















Hi Vamsi,



Thanks for the answer. However, what i mean here is incident task table, so incident task is the child of incident.


It is two different table, incident and incident task, may be this cause the confusion.


It will be generated by a business rule.



My question here is when a form (incident submit), an incident task record will be generated as well.


How can I pass the newly generated incident id to the incident task table to open the incident task record ?



Say,


INC001001 (incident)is the one generated


INT001002 (incident_task)is the incident task genrated by business rule.



Their relationship would be INC001001 is the parent of INT001002


How can I open the INT001002 after submission of INC001001 ?



I know I can open the incident, but not the incident task, may be jasimine ? but I don't want to do many scripting if possible.



Regards,


Patrick


I have the same question. Opening a child task, setting it as complete.


sjmoodyiii
Tera Contributor

Unfortunately, as far as I know, this is not possible. (though, I would love to be proved wrong)