|
Hi Zeljko Basically I want my browser to 1 – pick a site from an array 2 – enter it in the drop down 3 – press go (Thus loading the
portal for that country) 4 – verify the correct site loaded I can do all that except 4. So I thought
if I can grab the URL from IE I can compare that to another array of expected
outcomes. The Other option was to assert that the
relevant part of the page source after it loads looks like this <option selected="selected"
value="#"> And not this <option value="/en/us/index.jsp">Australia
site</option> But I am unsure how to do either of these.
So I am trying to find out if there is an easy way like
assert(ie.current_url(‘the_URL_I_Am_expecting) (This is of course made up) OR Assert(:ID, “Gatewaycountry”,
:Value, “#”).contains( Does this help? Malcolm
Beaton _____________________________________________________________________ This e-mail has been scanned for viruses by MessageLabs. The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error, please notify Conchango plc as soon as possible. The unauthorised use, disclosure, copying or alteration of this message is prohibited and may be unlawful. The internet cannot guarantee the integrity of this message and therefore Conchango plc will not be liable for the message if modified. Reg. Heritage House, Church Road, Egham, Surrey, TW20 9QD T 44 (0) 1784 222 222 F 44 (0) 1784 222 200 E [EMAIL PROTECTED] No. 2598884 |
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
