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

What are the 5 common software development problems solutions?

0 Answers  


what is the difference or comparison between QTP and rational? and which tool is better to use?

1 Answers  


What automated tools are you familiar with?

1 Answers  


What is Automation Testing Framework

5 Answers   Covansys,


What is a framework for automation testing?

0 Answers  






On Test Complete I recorded some keyword test. while I'm running the batch test, if one test case failed, then how test complete skip the failed test case and again continue to run the test case? please provide some way to resolve this issue.

0 Answers   STFC,


What is an automation testing framework?

0 Answers  


Types of F/w in Automation

0 Answers  


Tell me what are the different types of navigation commands?

0 Answers  


Tell me an example of the languages supported by webdriver?

0 Answers  


Name the frameworks that are used in software automation testing?

0 Answers  


How do you start Selenium RC?

2 Answers  


Categories