-
Contributing Member
How can we use nested For-Each in a function??
Hi,
I want to use two "For Each" in a function.
Eg; a=array("object1","object2","object3")
b=array("a","b","c")
For each i in a
For each j in b
Browser("asdas").Page("sdfd").webEdit(i).set j
Exit for
Next
Next
But wat is happening is, the First ForEach is not getting incremented but the second ForEach is incrementing. We want both i and j to increment simultaneously.
Please let us know.
Thanks,
Sowmya
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules