how you test broken link using the automated tool QTP ?
Answers were Sorted based on User's Feedback
Answer / sonal
When I follow the answer 2, i canf ind the option to click
on Broken Links but after checking the broken link, My test
shows the Fail result.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / deven mehta
There can be two ways to do this:
1.Using Automatic Page checkpoint.
2.By manually creating a Page checkpoint.
Using Automatic Page checkpoint: Go to Tools > Options >
Web > Advanced and check the two boxes labeled “Create a
checkpoint for each page while recording” and “Broken Links”
Now every time you record a new page, QTP will
automatically include a checkpoint for broken links.
By manually creating a Page checkpoint: QTP does not
provide a direct menu option to incorporate a page
checkpoint. You need to take the help of standard
checkpoint. Start recording session > Insert > Checkpoint >
Standard Checkpoint (OR press F12). Place and click the
hand pointer anywhere on your web page. Select Page (As
shown in picture below) and Click OK.
Check “Broken Link” checkbox down below and click OK.
Now, how will you verify page checkpoint and hence broken
links?
Run the above script. Go To Test Results > Your Check
Point. Check the status of all links under “Broken Links
Result”
If you want to verify links pointing only to the current
host check the box titled “Broken Links- check only links
to current host” under Tools > Options > Web. Similarly If
you want to verify links pointing to other hosts as well,
uncheck it.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / ashish
Go to Tools > Options > Web > Advanced and check the two
boxes labeled “Create a checkpoint for each page while
recording” and “Broken Links”.Now every time you record a
new page, QTP will automatically include a checkpoint for
broken links.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / chakram-smile,smile
Gofor Insert->Standered check point->select one object-
>then select it's parent page->
so i t displays page ckeck point properties
then select "Broken link" option from that wizard
This the way we can check the broken links..
| Is This Answer Correct ? | 3 Yes | 7 No |
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
What are the types of Object Repository’s in QTP?
what are the areas that cannot be tested using an automated tool? list a few
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?
What is the another extension name of library file. If that is exist than what's the difference between them.
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2
How do u write a regular expression for date (dd/mm/yyyy) field ?
how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance
How to use the object spy in quicktest professional (qtp) 8.0 version?
Is there a function to find the number of occurrences of sub strings within a string?
What In-string function will do?
what is the use of Text output value in Qtp?