how to click all the children in one node?
Posted: Mon Aug 12, 2013 4:07 pm
Hi,
currently we are trying to use Ranorex to do multi-language testing, and here is the problem i am facing
in english the button is call "Schedule"
in Spanish the button is call "Programar"
there are no id available for this button.
but this button has a parent node which is call "TabBar"
so what i am trying to do is create an object TabBar, and click on the second child of TabBar, but i haven't have much luck. here are my code
currently we are trying to use Ranorex to do multi-language testing, and here is the problem i am facing
in english the button is call "Schedule"
in Spanish the button is call "Programar"
there are no id available for this button.
but this button has a parent node which is call "TabBar"
so what i am trying to do is create an object TabBar, and click on the second child of TabBar, but i haven't have much luck. here are my code
IList<Ranorex.Button> buttonList = repo.root.DashBoard.ShareDashboardOpp.TabBarInfo.CreateAdapters<Ranorex.Button>(); int i = buttonList.Count; Console.Out.WriteLine(i); foreach(Ranorex.Button button in buttonList){ button.Click(); }