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="#">Australia site</option>

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(Australia site) (Again made up)

 

Does this help?

 

 

Malcolm Beaton
Technical Consultant
Conchango
'Innovative Change in Business'


D +44 (0)
1784 222127
S +44 (0) 1784 222222
M +44 (0) 777 071 3121 

[EMAIL PROTECTED]
http://www.conchango.com


No.2 New Media Age
Top 10 Technology Agencies 2004
No.5 New Media Age
Top 20 Interactive Agencies 2004
No.3 Marketing
Top 100 New Media Agencies 2005

Winner
Best Travel Website New Media Age 2005
Winner
Best Retail Website - British Interactive Media Association (BIMA) 2004
Winner
Information Management Business Intelligence Project of the Year 2003
Winner
Microsoft European Business Intelligence Solutions Award 2003
More awards >

 


_____________________________________________________________________
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

Reply via email to