my watir code is:-
def system_link
$logger.log("## CAST_HOMEPAGE_05")
$logger.log("")
$logger.log "## System link
#####################################################################\n"
$logger.log("Description-In Health Factor with lowest grade / System
subsection, click System link ") #logs only to corelogger file
$logger.log("Expected Output-Outline page displaying Focus on System
systemX - part of CORPORATE - for snapshotX snapshot should be displayed ")
$logger.log("")
#$ie.link(:href,'
http://localhost:8080/CASTAD/?treeobject=2&object=2&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS&snapshot=3').click
$ie.link(:href,/treeobject=46&object=46&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS/).click
end
error is
1) Error:
test_ADGDashboard_Homepage(TC_CAST_ADGDashboard_Homepage):
Watir::Exception::UnknownObject
Exception: Unable to locate object, using href and
(?-mix:treeobject=46&object=46&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS)
regards
shalini gupta
On 5/23/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote:
hi,
after using regular expression im getting this error
1) Error:
test_ADGDashboard_Homepage(TC_CAST_ADGDashboard_Homepage):
Watir::Exception::UnknownObjectException: Unable to locate object, using
href and
(?-mix:treeobject=46&object=46&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS)
On 5/23/07, Prema Arya <[EMAIL PROTECTED]> wrote:
>
> in the html code you have given no link is having "
http://172.16.59.105<http://172.16.59.105/CASTAD/?treeobject=2&object=2&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS&snapshot=3>"
> in the href .... every link's href start with localhost:8080
>
> are you sure you are using the same HTML?
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general