Coder Social home page Coder Social logo

Comments (8)

amolenaar avatar amolenaar commented on June 26, 2024

Hi,

Which version of Xebium are you using? I've been using getElementNotPresent on a regular basis (although I prefer "verifyVisible").

from xebium.

raboof avatar raboof commented on June 26, 2024

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.

cwortel avatar cwortel commented on June 26, 2024

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.

amolenaar avatar amolenaar commented on June 26, 2024

Hi,

Can you give us an example of a failed test (snippet)?

from xebium.

Haantje avatar Haantje commented on June 26, 2024

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.

amolenaar avatar amolenaar commented on June 26, 2024

Hi,

Thanks for the example. Does it work if textNotPresent is changed to verifyTextNotPresent?

from xebium.

cwortel avatar cwortel commented on June 26, 2024

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.

raboof avatar raboof commented on June 26, 2024

@Haantje Does this solve your problem? Can we close this ticket?

from xebium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.