Bug 669488 - Inventory Buttons not responding to selenium clicks
Summary: Inventory Buttons not responding to selenium clicks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
low
medium vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-13 19:20 UTC by dgao
Modified: 2011-05-24 01:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 01:08:59 UTC


Attachments (Terms of Use)

Description dgao 2011-01-13 19:20:34 UTC
All of the TreeGrid items in the Inventory pane is not responsive to any selenium generated clicks. The selenium code executes the click fine, but nothing is loaded in the actual UI. 

So any items in groups (All Groups, Compat Groups, Mixed Groups, etc...) and resources (Platform, Servers, Services, etc...) doesn't work w/ selenium. 

This problem was discovered on 1/7/11 build. The scenario was then retested against 12/13 build and the same problem persists.

Comment 1 Simeon Pinder 2011-01-20 20:17:33 UTC
The SmartGWT library in rhq has been upgraded from 2.2 to 2.4.  To get the selenium().click() actions to execute correctly you will need to go through the following instructions to make sure you update all references to use smartgwt 2.4:  

http://www.rhq-project.org/display/RHQ/Testing+SmartGWT+with+Selenium#TestingSmartGWTwithSelenium-SampleScripts

The following line of com.redhat.qe.jon30.locators.UIElements needs to be updated as follows because of recent changes in the GWT Dashboard:

public Element dashboardButton = new Element("Identifier=Dashboard");
  to
public Element dashboardButton = new Element("Identifier=Dashboards");

These changes should remove the problem that you've reported.

Comment 2 Mike Foley 2011-04-15 12:16:10 UTC
verified by visual inspection of hudson integration test results 

http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/view/qe-RHQ/job/overnight-rhq-4.0/TestNG_Report/

Comment 3 Corey Welton 2011-05-24 01:08:59 UTC
Bookkeeping - closing bug - fixed in recent release.


Note You need to log in before you can comment on or make changes to this bug.