How to test a Web page - 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: How to test a Web page (/Thread-How-to-test-a-Web-page) |
How to test a Web page - Monica Soneja - 04-07-2013 hi all, In one of the interview i was asked the following question: There is a web page having one edit box, 2 drop down boxes, one button labelled search. After clicking Search button a web table is populated in the lower half page as per the search criteria entered in edit box, selected from drop down box. This web table contains some links. How will you test this page using QTP? What should be the ideal answer to this? Thanks in advance. RE: How to test a Web page - basanth27 - 04-08-2013 There are two parts to this, 1. To automate the flow 2. To validate the flow The first part is simple. You just automate to enter data into the respective edit boxes and click on search. The validation part would be to verify on the webtable if the specified data you entered appears as the link. You will have to use, childobjects on the webtable. The links would be the child in the parent webtable. Obtain the total rows and columns of the webtable. Iterate through until you find the necessary link. Voila ! and you should get through the interview RE: How to test a Web page - Monica Soneja - 04-08-2013 --------------------------------------------------- Thanks for your reply. I dint get selected.. RE: How to test a Web page - basanth27 - 04-09-2013 Good Luck for your next one, you will get through |