Can we click AI search buton through ATF

Ravi Sharma
Tera Contributor

Hi Team,

 

I m trying to perform click action on Search button  in Service Portal which where the search functionality is create on AI.

 

Currently my ATF step is failing as page is not navigating . Do anybody has ideas weather is possible

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Ravi Sharma 

ATF cannot test everything and has it's own limitations.

One of this is custom UI steps. You may not succeed in the custom UI steps since it depends on if the HTML element is found or not.

Please inform your customer about this

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Shaqeel
Mega Sage

Hi @Ravi Sharma 

 

Try retrieving the search icon with the help of Manual Page Inspector,

If it is retriable then you can perform search by using Custom UI steps by first setting the field and then clicking the search component.

 

Mark it as helpful/solution if this helps.

 

Regd

ShQl

I did this search thing for one of my project,


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

Hi Shaqeel,

 

I already performed the manual page inspector by chrome browser developer tool and its their. However when perform same with Custom UI and execute the step, in this case its showing step is passed but page is not navigating to other page. However when i perform same step manually it works.

For Custom UI you mean when you try to retrieve the element not execute, right?

And try to use click component and select the search icon.

 

 


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

Yes when i performed retrieve component. I got the component, but after execution that particular step is showing as pass, however page is not getting navigated