Project

General

Profile

Bug #19997

Daily Everbridge invite new contacts - viewport problem

Added by Randy Reitz over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
05/21/2018
Due date:
06/28/2018
% Done:

100%

Estimated time:
Spent time:
Duration: 39

Description

The Everbridge GUI default search result display is 20 lines. When the number of new contacts
exceeds 20, the invite monkey needs to "see" all the new contacts on one page. To do this, it
attempts to set the lines-per-page display to 200. While doing this, we get an error:

AutoEverbridgeLib.display_200_contacts> ...Find Page Selection Box
SeleniumLib._get_element> setting WAIT of 10 for locator=('class name', 'ui-pg-selbox') in parent None
SeleniumLib._get_element> ...found elements=[<selenium.webdriver.firefox.webelement.FirefoxWebElement (session="593bd00f-49f4-49f9-b74e-10e072076e9a", element="6f03128b-8d3e-4f34-b998-fcab4e052ff2")>], testing enabled
AutoEverbridgeLib.display_200_contacts> ...Now set 200 contacts/page
subject: 'ems_maint: invite new contacts fails.'
body: 'MoveTargetOutOfBoundsException: Message: (998.5, 1477) is out of bounds of viewport width (1920) and height (1082)
In the python code (EmsInviteMonkey.py), we see:
  1. Window Size
    desired_width=1920
    desired_height=1800

The desired height of 1800 is not being set (seems to be 1082).
Need to figure out why.

History

#1 Updated by Randy Reitz over 1 year ago

  • Due date set to 06/28/2018
  • Status changed from New to Closed
  • % Done changed from 0 to 100

- Updated software stack - Selenium, geckodriver and Firefox.
- see: https://stackoverflow.com/questions/50276598/webdriverexception-message-typeerror-rect-is-undefined
- before action 'move_to_element', bring element into view. (See: SeleniumLib.py, find_element())



Also available in: Atom PDF