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 is Database Testing?
How will you choose a tool for test automation?
how is the best faculty for Selenium in Hyderabad?
How to Rcognize the Objects in the Web Page Dialog Using QTP
I am looking for selenium RC Training in Hyderabad. can any one tell me the best institute ?
Tell us how to login into any site if it's showing any authentication pop-up for username and password?
what r the diffence between QTP 8.2 & QTP9.0?
pls suggest me a good institute for loadrunner in hyderabad also what about a practice project?
How is Jmeter tool very useful in projects when it does not have features like online monitoring,WAN emulation,caching like other performance tools.
What are the main attributes of test automation?
What is client side validation? Write a snippet.
how many steps in functional testing?