Comments (8)
Hi,
Which version of Xebium are you using? I've been using getElementNotPresent on a regular basis (although I prefer "verifyVisible").
from xebium.
Also, define 'do not work': do they appear to be missing entirely, or do they behave differently from what you'd expect? In the latter case, can you provide a simple example?
from xebium.
I use these commands on a daily basis, so I would expect them to work. It would indeed help to have some examples, my first assumption would be that the formatter has done something strange or there is a fitnesse markup issue.
A known defect in the current version of the formatter is a problem with waitFor commands.
Regards,
Cirilo
From: Haantje [[email protected]]
Sent: Wednesday, June 13, 2012 9:17 AM
To: Cirilo Wortel
Subject: [Xebium] The ...NotPresent commands do not work (#45)
The commands VerifyElementNotPresent, VerifyAlertNotPresent etcetra do not work in FitNesse.
When running commands in Selenium itself (without use of FitNesse) on same test object commands do work.
Reply to this email directly or view it on GitHub:
#45
from xebium.
Hi,
Can you give us an example of a failed test (snippet)?
from xebium.
Hi Arjan,
Below you'll find an example of a notPresent command which does not work
properly:
- Run following Selenium script:
| script | selenium driver fixture |
| start browser | firefox| on url | http://www.tnt.com |
| do | open | on | !-$WEB_SITE_URL-! |
| ensure | is | waitForTextPresent | on | 1. Collectie details |
| ensure | is | textNotPresent | on | Collectiesrd |
| ensure | do | click | on | id=editCollectionAddress |
| ensure | do | type | on | id=collectionAddress.companyName | with | Bedrijfs Naam |
| ensure | do | type | on | id=collectionAddress.addressLine1 | with | Adres Regel 1 |
| ensure | do | type | on | id=collectionAddress.addressLine2 | with | Adres Regel 2 |
| ensure | do | type | on | id=collectionAddress.addressLine3 | with | Adres Regel 3 |
| ensure | do | type | on | id=collectionAddress.town | with | Diemen |
| ensure | do | type | on | id=collectionAddress.provinceName | with | Provincie |
| ensure | do | type | on | id=collectionAddress.postCode | with | 1111AA |
| ensure | do | select | on | id=collectionAddress.countryDisplayName | with | label=Duitsland |
| check | is | verifySelectedValue | on | id=collectionAddress.countryDisplayName | Duitsland |
| stop browser |
Result:
[image: Inline afbeelding 1]
Related website:
[image: Inline afbeelding 2]
2012/11/5 Arjan Molenaar [email protected]
Hi,
Can you give us an example of a failed test (snippet)?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/45#issuecomment-10088202.
Note: post edited 2012-11-09 by @barend (markdown syntax for the sample table) (fail, try again) (fail again, give up, sorry)
from xebium.
Hi,
Thanks for the example. Does it work if textNotPresent
is changed to verifyTextNotPresent
?
from xebium.
Also, the ensure command works in combination with doOn (not isOn)
So the entire command would look like:
| do | open | on | !-$WEB_SITE_URL-! |
| ensure | do | waitForTextPresent | on | 1. Collectie details |
| ensure | do | verifyTextNotPresent | on | Collectiesrd |
Regards,
Cirilo
On 9 nov. 2012( w 45), at 12:57, Arjan Molenaar <[email protected]mailto:[email protected]>
wrote:
Hi,
Thanks for the example. Does it work if textNotPresent is changed to verifyTextNotPresent?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/45#issuecomment-10223492.
from xebium.
@Haantje Does this solve your problem? Can we close this ticket?
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.