ComboBox & DropDownList in Flex

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
sradhakrishna
Posts: 1
Joined: Fri Feb 15, 2013 10:56 am

ComboBox & DropDownList in Flex

Post by sradhakrishna » Fri Feb 15, 2013 12:18 pm

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 ..

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: ComboBox & DropDownList in Flex

Post by Support Team » Mon Feb 18, 2013 4:40 pm

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
.
Image