Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve toString on elements #48

Open
alechenninger opened this issue Apr 7, 2015 · 0 comments
Open

Improve toString on elements #48

alechenninger opened this issue Apr 7, 2015 · 0 comments

Comments

@alechenninger
Copy link
Member

The result can produce exceptions which are a little hairy to understand:

FAILED: [REDACTED]
com.redhat.darcy.ui.FindableNotPresentException: Can't interact with something if it is not present.
Tried to interact with a A WebDriverLink backed by, An element found nested within another element.
The parent element is a A WebDriverElement backed by, An element found nested within another element.
The parent element is a A WebDriverElement backed by, An element found nested within another element.
The parent element is a A WebDriverElement backed by, An element found via, By.xpath: //div[contains(concat(' ', normalize-space(@class), ' '),' bRelatedList ')][.//td[@class='pbTitle']//*[text() = '[REDACTED]']]
in search context, com.redhat.darcy.webdriver.internal.ForwardingTargetedWebDriver@4729d1.
The locator to find the child element is ByXPath: {xpath='.//div[@class='pbBody']/table'}.
The locator to find the child element is ByXPath: {xpath='./tbody/tr[2]/td[1]'}.
The locator to find the child element is ByLinkText: {linkText='Del'}
        at com.redhat.darcy.webdriver.elements.WebDriverElement.webElement(WebDriverElement.java:205)
        at com.redhat.darcy.webdriver.elements.WebDriverElement.attempt(WebDriverElement.java:158)
        at com.redhat.darcy.webdriver.elements.WebDriverElement.click(WebDriverElement.java:87)
        at com.redhat.darcy.salesforce.StandardActions$$Lambda$135/1517758613.run(Unknown Source)
        at com.redhat.synq.ActionEvent.waitUpTo(ActionEvent.java:42)
        at com.redhat.synq.ActionEvent.waitUpTo(ActionEvent.java:31)
        at com.redhat.synq.SequentialEvent.waitUpTo(SequentialEvent.java:48)
        at com.redhat.synq.Event.waitUpTo(Event.java:131)
        at com.redhat.darcy.salesforce.StandardActions.lambda$delete$1(StandardActions.java:45)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant