Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Choosing element from array
#2
Solved: 8 Years, 5 Months, 4 Weeks ago
Do you know the object name that you wish to work on? or is there any unique value for the web element that is available?


IF yes, you can use a for loop to iterate through each item in objInList.


Code:
For Each oEdit in objInList
 strValue = oEdit.GetRoProperty("<YouUniqueKnowProperty>")
 If Ucase(strValue)="<ExpectedValue>" THEN
    <You Further Steps>
End IF
Next
Reply


Messages In This Thread
Choosing element from array - by marvson - 05-11-2016, 05:28 PM
RE: Choosing element from array - by Ankesh - 06-29-2016, 02:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Page element keep changing chong67 4 4,613 11-08-2016, 09:17 PM
Last Post: Paul Rammone
  Web Element: Not able to select value from drop down in Web Element. Rajeev 4 5,277 08-04-2015, 06:03 PM
Last Post: kbhargava505
  How to capture tool tip within a web element frebuffi 3 3,729 11-10-2014, 10:06 AM
Last Post: learning_UFT
  How to connect two web element objects? zawarepradeep@gmail.com 1 2,630 07-23-2014, 11:23 PM
Last Post: Ankur
  How to convert a single dimension array to two dimensional array venkatesh9032 3 5,484 02-10-2014, 03:07 PM
Last Post: pranikgarg

Forum Jump:


Users browsing this thread: 1 Guest(s)