jeudi 25 février 2016

Ruby Watir Unsure what the PageObject is

I am trying to click on a PageObject using watir but i am unsure what the pageobject is called i have tested nearly all of them.

<details open>
    <summary>Search your employers</summary>

This is what is displayed when I have clicked on the pageobject but if I havent clicked it yet it says

<details>
    <summary>Search your employers</summary>

I know how to make the script click on the pageobject but i just dont know what this pageobject.

Im guessing that I would identify it by calling [pageobject](:test, :name => 'Search your employers')

Aucun commentaire:

Enregistrer un commentaire