fselvatici/ztltest — comment on commit 33b93a253f6ba7df2fed720f291bafe673014c79
File: zstl/test/org/zkoss/zktest/test2/B35/B35_2073451Test.scala line 84
By fselvatici:

Ok. Thank's. I didn't know about that.

Regards

2011/12/11 jumperchen <
reply@reply.github.com
>

> if the page is not in zk page, you cannot use any ZTL API, like
> waitResponse() or jq()...
> In this case, after the link being clicked, you can use selenium API to
> check if the Search button exists.
> For example,
>
> click(jq(".z-button:contains(www.google.com)"));
>
>
> // Verify that the google page is opened by verifying the existence
> of the "Search" button
> verifyTrue("The visible page should be www.google.com",
> getWebDriver().findElement(By.cssSelector("input[name=btnK]")).isDisplayed());
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/fselvatici/ztltest/commit/33b93a253f6ba7df2fed720f291bafe673014c79#commitcomment-785784
>