You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
terasoluna-gfw-functionaltest-selenium project has WebDriverOperations class that define functinos using Selenium WebDriver.
The WebDriverOperations class is currently used in two ways to conflict.
Class to support WebDriver for only terasoluna-gfw-functionaltest application.
One model of classes that should be defined at selenium project.
It is used by various developers in multiple projects, although it is out of the original intention.
So we should consider role of the WebDriverOperations.
add terasoluna-gfw-functionaltest application’s WebDriverOperations class to getText() method.
change only terasoluna-gfw-functionaltest
only add terasoluna-gfw-functionaltest application’s WebDriverOperations class getText() method.
nothing
not to do anything by observing the terasoluna-gfw-functionaltest application's policy to directly use the WebDriver's API except for complex logic.
Please investigate which solution is best.
If 1st or 2nd solution choose, I think in terasoluna-gfw-functionaltest application's anather method should move WebDriverOperations class.
For example ...
kazuki43zoo
changed the title
Some methods should define at WebDriverOperations class?
Consider to define some methods at WebDriverOperations
Mar 8, 2017
Description
terasoluna-gfw-functionaltest-selenium
project hasWebDriverOperations
class that define functinos using Selenium WebDriver.The
WebDriverOperations
class is currently used in two ways to conflict.WebDriver
for onlyterasoluna-gfw-functionaltest
application.It is used by various developers in multiple projects, although it is out of the original intention.
So we should consider role of the
WebDriverOperations
.Possible Solutions
There is an option to add another
WebDriverOperations
etc to our blank project (terasoluna-gfw-web-multi-blank
project). (terasoluna-gfw-web-multi-blank
project has noWebDriverOperations
class , has onlyHelloIT.java
test java class at selenium-project.)Taking all into account, I can think three solutions, shown below.
terasoluna-gfw-functionaltest
andterasoluna-gfw-web-multi-blank
WebDriverOperations
class toterasoluna-gfw-web-multi-blank
project (and addgetText()
method anddisplayPage()
method)terasoluna-gfw-functionaltest
application’sWebDriverOperations
class togetText()
method.terasoluna-gfw-functionaltest
terasoluna-gfw-functionaltest
application’sWebDriverOperations
classgetText()
method.terasoluna-gfw-functionaltest
application's policy to directly use the WebDriver's API except for complex logic.Please investigate which solution is best.
If 1st or 2nd solution choose, I think in
terasoluna-gfw-functionaltest
application's anather method should moveWebDriverOperations
class.For example ...
webDriver#findElement(by)#getText()
forWebDriverOperations#findElement()
method andWebDriverOperations#getText()
method.webDriver#findElement(by)#click()
forWebDriverOperations#findElement()
method andWebDriverOperations#click()
method.webDriver#getCurrentUrl()
forWebDriverOperations#getCurrentUrl()
method....and more?
Affects Version/s
Fix Version/s
(To be written later by project member)
Issue Links (Flow of Discussion)
The text was updated successfully, but these errors were encountered: