Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364152 - Object Mapper does not map combo box (drop down) for HTML AUT
Summary: Object Mapper does not map combo box (drop down) for HTML AUT
Status: CLOSED WORKSFORME
Alias: None
Product: Jubula
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 09:12 EST by elvin CLA
Modified: 2012-03-09 08:05 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elvin CLA 2011-11-18 09:12:17 EST
Build Identifier: 5.2.00266

Tried to identify the combo box (drop down) using Object Mapper. Text input fields, buttons and others (links, label, table) easily picked up by object mapper but drop down combo box cannot be identified.

Reproducible: Always

Steps to Reproduce:
1.Start AUT (html)
2.Start Object Mapper
3.Click on a drop down combo box ui element on application.
4.Red line highlighted on AUT.
5.Nothing is observed on Component Browser.
6.Click on a text input field.
7.Element is identified with a technical name on Component Browser.
Comment 1 Alexandra Schladebeck CLA 2011-11-18 10:05:30 EST
It could be the case that the combo box has already been collected and is in the list of "assigned technical names". If this is the case, it should be highlighted in the Object Mapping Editor when you collect it. 

If this is not the case, could you provide more information on how the combo box is implemented in the application?
Comment 2 elvin CLA 2011-11-22 09:53:37 EST
(In reply to comment #1)
> It could be the case that the combo box has already been collected and is in
> the list of "assigned technical names". If this is the case, it should be
> highlighted in the Object Mapping Editor when you collect it. 
> 
> If this is not the case, could you provide more information on how the combo
> box is implemented in the application?

Hi Alex,
The application has multiple form in one page. 
I have tested other application and it did work for multiple forms.
I am still trying to figure out whats wrong. Will let you know the progress.
Comment 3 elvin CLA 2011-11-23 03:38:04 EST
(In reply to comment #2)
> (In reply to comment #1)
> > It could be the case that the combo box has already been collected and is in
> > the list of "assigned technical names". If this is the case, it should be
> > highlighted in the Object Mapping Editor when you collect it. 
> > 
> > If this is not the case, could you provide more information on how the combo
> > box is implemented in the application?
> 
> Hi Alex,
> The application has multiple form in one page. 
> I have tested other application and it did work for multiple forms.
> I am still trying to figure out whats wrong. Will let you know the progress.

Ok, I have saved the html page and placed it in the web server and it works. Object mapper is able to identify the combo box elements. However under the actual application, it still could not map the element.
Comment 4 elvin CLA 2011-11-23 05:01:49 EST
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > It could be the case that the combo box has already been collected and is in
> > > the list of "assigned technical names". If this is the case, it should be
> > > highlighted in the Object Mapping Editor when you collect it. 
> > > 
> > > If this is not the case, could you provide more information on how the combo
> > > box is implemented in the application?
> > 
> > Hi Alex,
> > The application has multiple form in one page. 
> > I have tested other application and it did work for multiple forms.
> > I am still trying to figure out whats wrong. Will let you know the progress.
> 
> Ok, I have saved the html page and placed it in the web server and it works.
> Object mapper is able to identify the combo box elements. However under the
> actual application, it still could not map the element.

Although I can map the components using the pseudo application page, the test case using the mapped components would not run properly. It is unable to locate the components mapped from the pseudo application page.
Comment 5 Alexandra Schladebeck CLA 2011-11-28 08:11:49 EST
Can you provide more details about the differences between the pseudo application page and the actual application? There must be some difference between the two that is resulting in the different behaviour.
Comment 6 elvin CLA 2011-11-29 03:11:42 EST
(In reply to comment #5)
> Can you provide more details about the differences between the pseudo
> application page and the actual application? There must be some difference
> between the two that is resulting in the different behaviour.

I saved the pseudo application page from the actual application and put it on another webserver. I compared the html source of the two pages (pseudo and actual) and there is no difference. I am still looking into the problem.
Comment 7 Alexandra Schladebeck CLA 2011-11-29 03:15:39 EST
Thanks for the update. Keep us posted about your progress.
Comment 8 Achim Loerke CLA 2012-03-09 08:05:30 EST
There seems to be no progress on this problem, therefore I'm closing it.
Please reopen if further information is available.