Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF - Click Component (Custom UI) : unable to click component checkbox <i> 3 in page are Helpzone.

Santhosh15
Tera Guru

Hello All,

 

Could you please help for this issue

 

When I am running test case in knowledge module I am getting below error.

 

"Click Component (Custom UI) : unable to click component checkbox <i> 3 in page area Helpzone KB Article rating component not found".

 

Thank you in ADVANCE

4 REPLIES 4

Shaqeel
Mega Sage
Mega Sage

@Santhosh15 

 

Use Set component test step insted.

 

*************************************************************************************************************
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


***********************************************************************************************************************
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

Santhosh15
Tera Guru

Hello @Shaqeel ,

 

Thanks for the response but here I need to click the button on the portal page.

 

For example: in helpful on kb article we have yes or no condition right. So, Those condition need to click either one but should take on single ATF test step.

 

Santhosh15_0-1724317240249.png

 

Could you please help on this?

@Santhosh15 

 

Use manual Page Inspector to identify the correct element.

 

*************************************************************************************************************
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


***********************************************************************************************************************
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

flawed_81
Tera Guru

Have you found a solution for this? I'm having the same issue. The odd thing is that the previous step manages to find the component but the step after fails to validate its value or set it to a value. The failure error also gives a different ID for the same component, e.g.:

FAILURE: Unable to set component 'Checkbox <input> [kytbo6ekfmc7-2344]

FAILURE: Unable to validate value of component 'Checkbox <input> [j5v2duepqvt6-1677]