we have a link in a website or webtable How can we record
link in that table or site? link is not static we don't
know exact location of that link? how ? if u know pls give
reply with script also?

Answer Posted / geeta

rowcount=b().p().webtable().rowcount()
for i=2 to rowcount
set obj_lnk=b().P().Webtable().childitem(i,j,"Link",0)
obj_lnk.click

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to test results for qtp ?

780


How will you check a web application for broken links using qtp?

543


How you calling actions in qtp?

622


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1422


Both static and dynamic arrays are handled by the vb script. Is it true?

552






what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

2306


Which environments are supported by hp qtp?

594


What are the different recording modes and how do they work?

609


I want to do QTP Certification what is the pattern of Question paper.

1737


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1623


Where we can use the synchronization?

568


Define object spy ?

554


can u please explain what is the exact difference between qtp8.2 and 9.0

1675


If created one virtual object? Next time I changed the window position will it work?

571


In qtp, explain what is crypt object

590