srikanth


{ City } bangalore
< Country > india
* Profession * software test engineer
User No # 109784
Total Questions Posted # 0
Total Answers Posted # 2

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

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




Answers / { srikanth }

Question { 5161 }

Hi...
Can anybody help me to write the vbscript for this
question..!!! Am having a string "HELLO WORLD", i want to
find how many "L"s are there.....?????

--> HANEEF <--


Answer

str = "HELLO WORLD"
str1=Replace(str,"L","")
cnt=len(str)-len(str1)

msgbox "Number of L's in str is:" cnt

Is This Answer Correct ?    0 Yes 0 No

Question { 4156 }

Hi..friends can anybody write the script for this question...
Am having some 20 nos of links in a web application, i want
to click some 5,13 & 17th links. So please....can anybody
give the answer....???

-->Hani<--


Answer

Set obj = Description.Create()
obj("micclass").value = "Link"
Set x =Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj)
for x= 1 to x.count
if x(i)=5 OR 13 OR 17 Then
x(i).Click
end if
Next

Is This Answer Correct ?    0 Yes 0 No