Write a QTP script to print all the link names displayed in
a web page
Answer Posted / siba
set linkObj=description.create()
linkObj("micclass").value="link"
set linkChildObj=Browser("Google Accounts").page("Google
Accounts").childobjects(linkObj)
childCount=linkChildObj.count
msgbox(childCount)
for i=0 to childCount-1
linkName=linkChildObj(i).getROProperty("innertext")
print( linkName)
next
Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
How to handle dynamic objects in quicktest professional?
What is the process of synchronizing qtp and aut?
What is the use of Debug Viewer?
What is the use of sendkeys and what are send keys
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
How to capture a window in QTP?
how to disable the pop ups through QTP using a script
What are the different types of recovery operation?
How to use conditional loops in qtp ?
Which functionalities of QTP used in banking project? pls any say answer?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly