Micro Focus QTP (UFT) Forums
Testing Search box - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Testing Search box (/Thread-Testing-Search-box)



Testing Search box - kriday - 06-26-2013

hi
I have a search box in my application which accepts employee id' s(It can be up to 5000) (or) their SSN (ssn should be in format) . Depending on the value it shows corresponding information. (For ex ; if I enter 12, and, employee 12 exists then it shows that information) How to test this search box for different ids or different SSN values

Please I need help. Thanks in advance


RE: Testing Search box - basanth27 - 06-26-2013

1. Define your Data - You can use any of the filesystem like Excel, Notepad etc.etc. or Datatable to store your data for which you would want to test.

2. Define the logic - A "For" loop which will read the data from the filesystem and then substitute that data into the search edit box and validates the returned data.

Does it help?