ATF - Set field values - Adding sub category to a Technical Service

KevinC23
Tera Contributor

I'm building a Test in Istanbul - Automated Testing Framework, and setting the field values. One of the fields is Technical Services, and depending on which one is selected, may have a Sub component which needs an appropriate input value from the choice list. I have tried adding Sub component which is listed as a Sub component=Technical but it does not allow me to populate with the appropriate value. I have had an error message stating that I need to break out the Technical Service field as it has a sub component. The screen shot below shows the Technical Service field and the Sub component field which I subsequently added to for clarity, but this doesn't work, even manually populating the with Online Office Suite which is one of the sub values. If I run the test with out the Sub component, the test fails due to it not being populated

find_real_file.png

1 ACCEPTED SOLUTION

vitaly_sukharev
Kilo Guru

Hi Kevin,



There is a business rule "Check for dependent fields" over Test Step table that prevents depended fields to be populated on the same step.


You would need to remove 'Sub component' from this step, and to add this field to the next 'Set Field values' step.


View solution in original post

3 REPLIES 3

vitaly_sukharev
Kilo Guru

Hi Kevin,



There is a business rule "Check for dependent fields" over Test Step table that prevents depended fields to be populated on the same step.


You would need to remove 'Sub component' from this step, and to add this field to the next 'Set Field values' step.


Hi Vitaly,


I have followed your suggestion and successfully added in the sub component as a new "Set Field values" step followed by "Field state validation" and it works.. Thanks for the help


Community Alums
Not applicable

This is not working for me. Am I missing anything?

I am trying to set select box options through an onchange script. This is dependent on previous field. This is not working with ATF. Any suggestions?

 

Example: How many server commissioned? (Field 1), Server Type (Dependent Field for Field 1).