raju


{ City }
< Country > india
* Profession *
User No # 31960
Total Questions Posted # 1
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 1968

Users Marked my Answers as Correct # 1
Users Marked my Answers as Wrong # 1
Questions / { raju }
Questions Answers Category Views Company eMail

What is object state in trigger events,in recovery scenario.write a script to handle this.

QTP 1968




Answers / { raju }

Question { 4032 }

how can i count the number of links???


Answer

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