Comments (10)
It's not clear to me what the issue is.
from xebium.
Well, if you want to remove the hello string that is printed in an editable textbox (like in the example), it will not do that any more with the new Selenium version.
from xebium.
If I understand well, this test case should exhibit the issue:
| script | selenium driver fixture |
| set step delay to | slow |
| start browser | firefox | on url | http://localhost:${FITNESSE_PORT}/ |
| ensure | do | open | on | /ProjectXebium.ExampleSuite.BasicFixtureExample?searchForm |
| ensure | do | type | on | searchString | with | blah |
| ensure | do | verifyValue | on | searchString | with | blah |
| ensure | do | type | on | searchString | with ||
| ensure | do | verifyValue | on | searchString | with | |
| stop browser |
But I think I can't reproduce it. Am I missing something here?
from xebium.
Have you tried it without the step delay set to slow? Apart from that
the setup seems the same as I had.
2011/6/30 amolenaar
[email protected]:
If I understand well, this test case should exhibit the issue:
| script | selenium driver fixture |
| set step delay to | slow |
| start browser | firefox | on url | http://localhost:${FITNESSE_PORT}/ |
| ensure | do | open | on | /ProjectXebium.ExampleSuite.BasicFixtureExample?searchForm |
| ensure | do | type | on | searchString | with | blah |
| ensure | do | verifyValue | on | searchString | with | blah |
| ensure | do | type | on | searchString | with ||
| ensure | do | verifyValue | on | searchString | with | |
| stop browser |But I think I can't reproduce it. Am I missing something here?
Reply to this email directly or view it on GitHub:
#18 (comment)
from xebium.
I think I got it!
Let's try it with a textarea:
| script | selenium driver fixture |
| set step delay to | slow |
| start browser | firefox | on url | http://localhost:${FITNESSE_PORT}/ |
| ensure | do | open | on | /ProjectXebium.ExampleSuite.BasicFixtureExample?searchForm |
| ensure | do | type | on | Suites | with | blah |
| ensure | do | verifyValue | on | Suites | with | blah |
| ensure | do | type | on | Suites | with ||
| ensure | do | verifyValue | on | Suites | with | |
| ensure | do | type | on | Suites | with |blah2|
| ensure | do | verifyValue | on | Suites | with |blah2 |
| stop browser |
You will see that the test passes but the result in the textarea is blahblah2. Apparently there are now 2 issues: removing text from a textarea is not possible anymore and the verify value command checks old data, which causes the test to pass.
from xebium.
Indeed. It works fine with remote server, but in the WebDriver version something changed over the last weeks.
Raised an issue with Selenium: http://code.google.com/p/selenium/issues/detail?id=1982
from xebium.
I urge everybody who is experiencing these problems to 'star' the selenium issue (http://code.google.com/p/selenium/issues/detail?id=1982) so it will get more attention.
from xebium.
The problem is known to be persistent with the newer versions of Selenium up until version 2.7
from xebium.
The problem persists with 2.14 and the sample test also exposed some other unexpected behaviour:
| verifyValue | Suites | blah2 |
INFO com.xebia.incubator.xebium.SeleniumDriverFixture - Command 'getValue' returned 'blahblah2' => ok
INFO com.xebia.incubator.xebium.SeleniumDriverFixture - Command processor stopped
It seems getValue is succeeds with only part of the value being correct (it accepts blah2 to be correct, even-though the actual value is "blahblah2")
from xebium.
Fixed in upcoming Selenium 2.20 release.
from xebium.
Related Issues (20)
- Use xebium as a fixture HOT 4
- Open an existing session in Xebium HOT 2
- Xebium is incompatible with ios-driver against a native app HOT 1
- Issue in installing xebium with mvn -Pfitnesse test
- Make code formatting consistent
- Xebium needs Selenium driver 2.46 in order to run with Firefox HOT 2
- Require at least Java 7? HOT 3
- Using Selenium IDE / Xebium on a site with frames? HOT 3
- Running test/suite in parallel HOT 2
- Fix travis build for openjdk6 HOT 1
- Cannot click on an element not currently in the viewport HOT 1
- FitNesse is not shutting down properly HOT 1
- How to define variables for scenarios on a test page? HOT 3
- Sharing a storeText variable between tests in a testsuite? HOT 3
- java code for store and storeEval
- Jenkins->SauceConnect->Desiredcapabilities->Fitnesse HOT 1
- Xebium and Selenium 3 HOT 3
- FitNesse/Xebium set proxy on remoteWebdriver session HOT 2
- ios driver xebium not supported?
- Full-page Chrome screenshots using ShutterBug in conjunction with Xebium HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xebium.