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 questions that are generally asked in an interview if a person is having 3-4 years of exp..and in ds exp 2 yrs exp is wd automation testing
please guide me to get some automation tool for functional testing in freeware and how to work with it?Its emergency
diff b/w DBMS & RDBMS?
69 Answers BirlaSoft, Infosys, Mind Tree, TCS,
wat is difrenc btwn test case and test senario . can anybody know the answer just post it
What are Keyword and Data driven frameworks in Selenium RC
what is the importance of action in QTP & When it need to use it ? I m getting it please expian it me with proper example.
How did you use WR in your project? Please can i get in detail answer for this?
What automating testing tools are you familiar with?
What is javascriptexecutor and in which cases javascriptexecutor will help in selenium automation?
Which test cases can be automated?
Hi Friends, I'm testing a SharePoint application by QTP 8.2 I face a problem that really difficult to me, please take a look on the description below: As you may know, SharePoint is an application is allow customize function from user, so that, user can add many web parts and put at any place they like. For ex: if there are two web parts existing in the SharePoint site When I using QTP to recognize a Web Table on any web part, it has the properties as "Index" and "html tag" only. Problem is: If there is any user changes the display of my web part, the "Index" of Web table is changed as well, so that QTP cannot identify exactly my object. Can anyone help me how to make that object as unique or another way to identify that web table object? Hope to receive many solutions from you. Thanks a lot.
What is difference between selenium and QTP tools Which is best tool... Which is most used tool