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
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 |
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 |
What are the 5 common software development problems solutions?
what is the difference or comparison between QTP and rational? and which tool is better to use?
What automated tools are you familiar with?
What is Automation Testing Framework
What is a framework for automation testing?
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.
What is an automation testing framework?
Types of F/w in Automation
Tell me what are the different types of navigation commands?
Tell me an example of the languages supported by webdriver?
Name the frameworks that are used in software automation testing?
How do you start Selenium RC?