[Wtr-development] [JIRA] Reopened: (WTR-235) Xpath.exist returns different results in Watir and Firewatir.

Zeljko (JIRA) watirjira at gmail.com
Thu Oct 7 03:49:31 EDT 2010


     [ http://jira.openqa.org/browse/WTR-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zeljko reopened WTR-235:
------------------------


> Xpath.exist returns different results in Watir and Firewatir.
> -------------------------------------------------------------
>
>                 Key: WTR-235
>                 URL: http://jira.openqa.org/browse/WTR-235
>             Project: Watir
>          Issue Type: Bug
>          Components: FireWatir
>         Environment: WinXP Prof SP2, Ruby 1.8, Watir 1.5.6 and Firewatir 1.2.0
>            Reporter: Manish Harkut
>            Priority: Major
>             Fix For: 1.6.0
>
>
> iIndex = 1
> $ie.div(:xpath,'/html/body/div[18]/div[3]/div[2]/div[7]/div/div/div[' + iIndex.to_s + ']').exists?
> The Watir and FireWatir returns different values for the above statement.
> If FireWatir it retuen true which is right and test aare executed properly However in Watir even if when the objects exists it returns false and test fails.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Wtr-development mailing list