Micro Focus QTP (UFT) Forums
need script for multiple web link validation. - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: need script for multiple web link validation. (/Thread-need-script-for-multiple-web-link-validation)



need script for multiple web link validation. - borlepankaj - 09-29-2009

Hi
I need to test 9000+ website links for links which are broken.
If the URL goes to a 404 error page "Not found - 404 error"
and if that link is working then status for that link should be Working. All the links are stored in excel sheet.
For this i need a script. Can any one help me?


RE: need script for multiple web link validation. - Saket - 09-29-2009

No Pankaj, I dont think anyone will be interested to write a script for you Smile
all we can do is, guide you how to do the things or try to resolve your issues if any.

So I would like to suggest you to first try with yourself and come back if you find any difficulty.
have you tried searching this forum, I think this has been discussed earlier in a thread.


RE: need script for multiple web link validation. - basanth27 - 09-29-2009

As saket already mentioned, it is a highly improbable task for anyone to write up the script for you no matter how simple it is.

It is a good practice to always say what you have tried so far and then ask questions wherein everyone can pitch in and help you.

Here are the first baby steps,

Learn about the below concepts and you can for sure write the code,

1. Datatable
2. Logical Loops
3. QTP Reporter statement

Let us know how far it has helped you.