in qtp how i can retrive from a browser how many links are
there.means total no of links used in a browser
Answer Posted / rajanikanthreddy
set desc=description.create()
desc("html tag").value="A"
set a=browser("name:=Book Store").page("title:=Book
Store").ChildObjects(desc)
print a.count
For i=o to a.count-1
b=a(i).getroproperty("text")
print b
next
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain different types of action in qtp?
How to use checkpoints in qtp ?
Is it possible to call win runner script in qtp?
Mention the test steps of qtp.
How software tester can use constants and variables in scripts?
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
What is the meaning Work bench?
Hi All, How to Compare two strings character by character in QTP
How to record a qtp script ?
what is the difference between the modular framework and datadriven frame work
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
How many tabs are available to view your test in a test pane and what are they?
How the exception handling can be done using quicktest professional (qtp)?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
Explain sub procedure of vbscript.