Answer Posted / raju
Using child objects we can count the links. script is as
given below
SystemUtil.Run "www.hdfcbank.com"
Set aa=description.Create
aa("html tag").value="TD"
set bb=Browser("name:=HDFC Bank.*").Page("title:=HDFC
Bank.*").childobjects(aa)
cc=bb.count
msgbox cc
For i=0 to cc-1
bb(i).highlight
Next
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
What is post recovery scenario?
How do you perform Regreession Testing?
Who uses qtp tool?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
how will you check how many members visited the website www.infosys.com?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
What are main panes available in qtp test browser?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
desribe a situation where u faced a stressful situation and how did u cope with it
How to open a new test using quicktest professional (qtp)?
What is data driver in qtp?
what is stepin & stepout?
write a script to verify the image path(src property) of the images which are in web pages.
whare exactly we have to use functions and sub routain