techgirlbb
6 years agoContributor
How can I click through the submenu items
I have a panel("submenubar") listed with 10 services.
when browse through the object , content text of Panel(Submenubar) listed all the services.
How can I create function to click on each service by using the for loop.
do i need to get the submenu names from conent tex
EX:
one of submenu pannel :
Sys.Browser("iexplore").Page("https://gft.test.bremeronline.net/webapp/showpage.jsp").Frame("mainFrame").Panel("subMenuBar").Panel("DCMPOSTRPT")
What I would do is do a FindAllChildren against the parent of those panels. This will return an array of objects that you can iterate through using the number of objects in the array as your index for the loop.