ATF - How to Interact with Buttons in a Risk Assessment Form During Test Automation?

Denisa B
Tera Contributor

Hello,

 

I am automating a change management flow and am currently trying to complete the risk assessment form. Though I can bring it up with custom UI, I can't interact with it, as setting the values only gives objects that work once. The object you identify when trying to run the test differs each time you run it. 

 

How do I interact with the buttons within the risk assessment form?

5 REPLIES 5

Shaqeel
Mega Sage

Hi @Denisa B 

 

You can use Custom UI steps like click Component.

For correctly analyzing the button element you should use manual Page inspector.

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

Denisa B
Tera Contributor

Hello,

 

I've tried this but the objects retrieved by the custom UI step have a different ID each time the test is run. How do I get around this issue? Is it possible to use a selector to find objects?

@Denisa B 

 

 

Like I said, you need to use manual page inspector to identify the correct element.

You are not using the correct one.

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

Denisa B
Tera Contributor

I've already tried using the manual page inspector. Just to clarify, I'm trying to interact with the pop-up version of the risk assessment within a change request form.