Hi ,
I am trying to test an application with dropdownlist & combobox in it ..
and ranorex recognises them as combination of button and a text label .
and when i look at the code its using scroller and co-ordinates to navigate and click on list elements ..
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ComboBoxDropDownTest.OpenButton' at 103;12.", repo.ComboBoxDropDownTest.OpenButtonInfo, new RecordItemIndex(1));
repo.ComboBoxDropDownTest.OpenButton.Click("103;12");
Delay.Milliseconds(590);
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ComboBoxDropDownTest.Scroller' at 76;20.", repo.ComboBoxDropDownTest.ScrollerInfo, new RecordItemIndex(2));
repo.ComboBoxDropDownTest.Scroller.Click("76;20");
Delay.Milliseconds(370);
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ComboBoxDropDownTest.OpenButton' at 95;8.", repo.ComboBoxDropDownTest.OpenButtonInfo, new RecordItemIndex(3));
repo.ComboBoxDropDownTest.OpenButton.Click("95;8");
Delay.Milliseconds(430);
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ComboBoxDropDownTest.Scroller' at 72;30.", repo.ComboBoxDropDownTest.ScrollerInfo, new RecordItemIndex(4));
repo.ComboBoxDropDownTest.Scroller.Click("72;30");
Delay.Milliseconds(320);
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ComboBoxDropDownTest.OpenButton' at 95;15.", repo.ComboBoxDropDownTest.OpenButtonInfo, new RecordItemIndex(5));
repo.ComboBoxDropDownTest.OpenButton.Click("95;15");
Delay.Milliseconds(460);
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ComboBoxDropDownTest.Scroller' at 73;56.", repo.ComboBoxDropDownTest.ScrollerInfo, new RecordItemIndex(6));
repo.ComboBoxDropDownTest.Scroller.Click("73;56");
Delay.Milliseconds(300);
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ComboBoxDropDownTest.OpenButton' at 104;10.", repo.ComboBoxDropDownTest.OpenButtonInfo, new RecordItemIndex(7));
repo.ComboBoxDropDownTest.OpenButton.Click("104;10");
Delay.Milliseconds(300);
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ComboBoxDropDownTest.Scroller' at 89;13.", repo.ComboBoxDropDownTest.ScrollerInfo, new RecordItemIndex(8));
repo.ComboBoxDropDownTest.Scroller.Click("89;13");
Delay.Milliseconds(770);
Can any one suggest a solution for this ..
Thanks in advance ..
ComboBox & DropDownList in Flex
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: ComboBox & DropDownList in Flex
Hi,
There are many forum posts where it is described how it works, here are some links: Selecting item in a custom combobox, Selecting an item in a ComboBox control, Choose specific item from dropdown ComboBox,...
If this shouldn't be helpful please post a Ranorex snapshot file of your dropdownlist and combobox, this will help us to analyze the issue.
Regards,
Markus
There are many forum posts where it is described how it works, here are some links: Selecting item in a custom combobox, Selecting an item in a ComboBox control, Choose specific item from dropdown ComboBox,...
If this shouldn't be helpful please post a Ranorex snapshot file of your dropdownlist and combobox, this will help us to analyze the issue.
Regards,
Markus