We have elements that are dynamically hidden in our product. If isElementPresent is used, it always returns true regardless of whether the element is on the screen or not. Is there some other way if testing this? We basically want to test that the element is getting hidden when a button is pressed or a condition is met in the server-side
Announcement
Collapse
No announcement yet.
X
-
If you need to emulate this in 3.0, you could use getElement() then use DOM-level techniques to check for visibility.
Comment
-
There's a couple of questions regard 8.3d build:
1) Method waitForElementClickable() that appears in documentations (http://www.smartclient.com/smartgwtee-latest/javadoc/com/smartgwt/client/docs/UsingSelenium.html) does not exist in user-extensions.js - is it only available for SmartGWT?
2) We need details how method isElementClickable() (in user-extensions.js) works and an examples how the method can be used. Is there documentation somewhere for this?
Comment
-
Originally posted by acarur01 View PostThere's a couple of questions regard 8.3d build:
1) Method waitForElementClickable() that appears in documentations (http://www.smartclient.com/smartgwtee-latest/javadoc/com/smartgwt/client/docs/UsingSelenium.html) does not exist in user-extensions.js - is it only available for SmartGWT?
Selenium.prototype.isXXX()
is defined in user-extensions.js; one of those is the function waitForXXX(). That command then becomes legal in Selenium HTML scripts, and is visible from within Selenium IDE. If you open Selenium IDE with our user extensions, you should see the command waitForElementClickable() available.
Originally posted by acarur01 View Post2) We need details how method isElementClickable() (in user-extensions.js) works and an examples how the method can be used. Is there documentation somewhere for this?
Comment
Comment