i have 100 check box in a link,out of 100 check box in 25
check box their written qtp(any where i dont know),i have to
select first check box where 1st qtp found.

Answers were Sorted based on User's Feedback



i have 100 check box in a link,out of 100 check box in 25 check box their written qtp(any where i ..

Answer / tom chruise

you need to create child object then use of GetRO fetch the
expected value

Is This Answer Correct ?    2 Yes 0 No

i have 100 check box in a link,out of 100 check box in 25 check box their written qtp(any where i ..

Answer / boomi

Hi below code is the answer. You can make it as a function if you want to use this in multiple places.

Set objDesc = Description.Create()
objDesc("ClassName").Value = "WebCheckBox"

Set objText = ObjHierarchy.ChildObjects(objDesc)

For intItem = 1 To objText.Count - 1


strChkVal = ObjHierarchy.WebCheckBox("index:=" & intItem).GetROProperty("value")

If (StrComp(strChkVal, "QTP", vbTextCompare) = 0)
ObjHierarchy.WebCheckBox("index:=" & intItem).Click
Exit For
End If

Next

Is This Answer Correct ?    2 Yes 0 No

i have 100 check box in a link,out of 100 check box in 25 check box their written qtp(any where i ..

Answer / soumya

plzzz help me how i find this answer

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Automation Testing AllOther Interview Questions

Which institute is good for testing tools course in HYD?

5 Answers  


how is mind q venkat training in testing for weekend or general batches.and any other good institutes in ameerpet

1 Answers  


Is automation testing a black box testing or white-box testing?

0 Answers  


If automating - what is your process for determining what to automate and in what order?

1 Answers  


Hi All, Is there any free automation tool for windows application and it's easy to use? I usually take a lot of time to regression test my application when there is a new build on live environments (about same 10 environments) I wish I know a automation tool to regression test and ofcourse it's free, easy to use (maybe using C#) Could anybody can advise to me a tool like that? I very appreciate ^^

0 Answers  






how many steps in functional testing?

4 Answers   TCS,


What is open source tool and give example?

0 Answers  


Does automation testing have any disadvantages?

0 Answers  


List down the primary features of a good automation tool?

0 Answers  


Manually in a page 10 check boxes is there.so 5 check box "on" and 5 check box "off" so using descriptive program how to know how many "on" and how many "off" plz help me this question answer?

0 Answers   IBM,


Could someone educate me on automation testing process followed in a company. I have a vague idea, but i need concrete answers. And thank you all in advance.

0 Answers  


Tell me what databases can test director reside on?

0 Answers  


Categories