How to search and validate results in Global search in usin ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2022 10:53 PM
I want to test a Global Search bar.
I am using "Set component filed value"
Next i want enter or click on the magnifying glass for the search to proceed ? how to do that
Also i want to verify the search results and number of results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 01:19 AM
Hi Smruti Das1,
I hope you are referring to the Global Search on the Service Portal. If yes, please try the following.
1. You can use the step 'Set Component Values (Custom UI)' and retrieve the components in the service portal. (The previous step has to be the navigation to your service portal).
2. Out of the retrieved components search for the Global Search which is a combo box <input>.
3. Then use the step 'Set Component Values (Custom UI)' to send values to the search element.
4. Use the 'Click Component (Custom UI)' to click on the search button. You need to pick the correct component.
Hope this helped! 🙂