How to search with the keyword in portal through ATF

shweta urmaliya
Tera Contributor

We are trying to search with the keyword for ex. "password" in portal search bar through ATF but it is not redirecting to the next page. We used set component and click component both the step in ATFs but still not working. Could you please take a look and let us know.

4 REPLIES 4

Shaqeel
Mega Sage

Hi @shweta urmaliya 

 

I had same requirement for one project.

 

It is not possible through ATF.

So what I did is after setting the field, we have done manual enter by pressing the Enter key on keyboard.

 


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

Thanks @Shaqeel for your update.

Hi Shaqeel,

Please find my other response in the same thread. I have confirmed that we can implement ATF to test the search bar in the portal. We can also enter the input in search bar and able to click Search on the search bar, eliminating the need for manual typing.

 

 

Please mark my answer helpful if it helps you and accept it as a solution to assist the ServiceNow community.

Ujjwal019
Tera Guru

Hello Shweta, 

Yes, we can do this, we can test the search bar on the portal

See the below screenshot for your reference, follow the Test Steps it's working for me,

 

image_2024-07-25_224640966.png

 

 

Please mark my answer helpful if it helps you and accept it as a solution to assist the ServiceNow community.