hair = done, although you'd hardly notice its pretty shoddy. thats what 
you get for 10 quid though.

fl-ashtons phoned about this on ox lane
http://www.ashtons.co.uk/search_details.cfm?pcode=HPN050310

BTW .... topside way ... was this originally 455?
http://www.rightmove.co.uk/viewdetails-14632970.rsp?pa_n=4&tr_t=buy

I thought it was 495 for some reason and basing my valuation at that. 




Internet
[EMAIL PROTECTED]

Sent by: [EMAIL PROTECTED]
20/03/2007 13:07
Please respond to
wtr-general@rubyforge.org


To
wtr-general
cc

Subject
Wtr-general Digest, Vol 40, Issue 36






Send Wtr-general mailing list submissions to
                 wtr-general@rubyforge.org

To subscribe or unsubscribe via the World Wide Web, visit
                 http://rubyforge.org/mailman/listinfo/wtr-general
or, via email, send a message with subject or body 'help' to
                 [EMAIL PROTECTED]

You can reach the person managing the list at
                 [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Wtr-general digest..."


Today's Topics:

   1. call a method (chitta)
   2. Re: 'getObject' command (Angrez Singh)


----------------------------------------------------------------------

Message: 1
Date: Tue, 20 Mar 2007 18:06:10 +0530
From: "chitta" <[EMAIL PROTECTED]>
Subject: [Wtr-general] call a method
To: <wtr-general@rubyforge.org>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hi All, 
 
Please Help me how can i declare a method here..
 
 
 
# Test to automate Sign-up
# Author : Chitta Ranjan
# Verson : 0.2
 
require 'watir' 
require 'test/unit'
 
#Test Suite for Sign up verifications
class TC_1 < Test::Unit::TestCase
def  test_sign_up
def checkcondition(checktext, cell1, cell2, messagepass, messagefail,
passcheck, failcheck)
if ie.contains_text("#{checktext}")
p 'messagepass'
excel.Range("#{cell1}")['Value'] = "#{passcheck}";
excel.Range("#{cell2}")['Value'] = "#{pass}";
else
p 'messagefail'
excel.Range("#{cell1}")['Value'] = "#{failcheck}";
excel.Range("#{cell2}")['Value'] = "#{fail}";
end
 

 
 
 
 
 
 
 
 
 
  require 'win32ole'
  excel = WIN32OLE.new("excel.application")
  # Workbook holding the test data and test case
  workbook = excel.Workbooks.Open('C:\SetupData.xls')
  # Refernce to Test Data in the worksheet
  worksheet = workbook.Worksheets('Test Data')
  #Variable for handling null
  nullvariable = worksheet.Range('b1')['Value']
  # First Name
  firstname   = worksheet.Range('b2')['Value']
  # Last Name
  lastname   = worksheet.Range('b3')['Value']
  # Correct Email Address
  email1         = worksheet.Range('b4')['Value']
  #Invalid Email Address
  email2         = worksheet.Range('c4')['Value']
  # Correct Password
  password1   = worksheet.Range('b5')['Value']
  # Incorrect Password- invalid length
  password2   = worksheet.Range('c5')['Value']
  # Incorrect Password - invalid length
  password3   = worksheet.Range('d5')['Value']
  # Incorrect Password - invalid length
  password4   = worksheet.Range('e5')['Value']
  # Password Reminder - Correct
  passwordreminder1 = worksheet.Range('b6')['Value']
  # Password Reminder - Incorrect
  passwordreminder2 = worksheet.Range('c6')['Value']
  # Answer to password reminder
  answer = worksheet.Range("B#{1 + 6}")['Text'].strip.to_s
  # Contact Phone number
  contactphonenumber1 = worksheet.Range("B#{1 + 7}")['Text'].strip.to_s
  # Invalid Contact Phone Number - Invalid length
  contactphonenumber2 = worksheet.Range("C#{1 + 7}")['Text'].strip.to_s
  # Invalid Contact Phone Number - Invalid length
  contactphonenumber3 = worksheet.Range('d8')['Value']
  # Internet Provider
  internetprovider = worksheet.Range('b9')['Value']
  # Street Number
  streetno = worksheet.Range("B#{1 + 9}")['Text'].strip.to_s
  # Street Name
  streetname = worksheet.Range('b11')['Value']
  # City
  city = worksheet.Range('b12')['Value']
  # Valid State
  state1 = worksheet.Range('b13')['Value']
  # Invalid State - No Selection
  state2 = worksheet.Range('c13')['Value']
  # Zip Code
  zipcode1 = worksheet.Range("B#{1 + 13}")['Text'].strip.to_s
  # Invalid Zip Code
  zipcode2 = worksheet.Range("C#{1 + 13}")['Text'].strip.to_s
  # Invalid Zip Code
  zipcode3 = worksheet.Range("D#{1 + 13}")['Text'].strip.to_s
  # Invalid Zip Code
  zipcode4 = worksheet.Range("E#{1 + 13}")['Text'].strip.to_s
  #valid NPA
  npa = worksheet.Range("B#{1 + 14}")['Text'].strip.to_s
  #Valid NXX
  nxx = worksheet.Range("B#{1 + 15}")['Text'].strip.to_s
  #Valid Creditcard Name
  cardname = worksheet.Range('b17')['Value']
  #Credit Card Type
  cardtype1 = worksheet.Range('b18')['Value']
  #Credit Card Type
  cardtype2 = worksheet.Range('c18')['Value']
  #Invalid Credit Card Number
  creditcardnumber = worksheet.Range('b19')['Value']
  #Credit Card security code
  securitycode1 = worksheet.Range("B#{1 + 19}")['Text'].strip.to_s
  #invalid Security code
  securitycode2 = worksheet.Range("C#{1 + 19}")['Text'].strip.to_s
  #invalid Security code
  securitycode3 = worksheet.Range("D#{1 + 19}")['Text'].strip.to_s
  #invalid Security code
  securitycode4 = worksheet.Range("E#{1 + 19}")['Text'].strip.to_s
  #Credit Card exp. Month
  expirationmonth = worksheet.Range("B#{1 + 20}")['Text'].strip.to_s
  #Credit Card exp. year
  expirationyear1 = worksheet.Range("B#{1 + 21}")['Text'].strip.to_s
  #Credit Card exp. year invalid
  expirationyear2 = worksheet.Range("C#{1 + 21}")['Text'].strip.to_s
  #Test result If Passd
  pass = worksheet.Range('b24')['Value']
  #Test result If Faild
  fail = worksheet.Range('b25')['Value']
  #Sign-up URL
  url = worksheet.Range('b23')['Value']
 
 
 
  #get hold of the Second worksheet
  worksheet = workbook.Worksheets('Test Case')
 
  #call the testcases
  testcaseno = worksheet.Range('a1')['Value']#call the testcases
  description = worksheet.Range('b1')['Value']
  expectedresult = worksheet.Range('c1')['Value']
  actualresult = worksheet.Range('d1')['Value']
  passfail = worksheet.Range('f1')['Value']
 
  #Call the testcase no, test description, expected result from the 
testcase
sheet
 
 
  urlverificationno = worksheet.Range('a3')['Value']
  urlverificationdescription = worksheet.Range('b3')['Value']
  urlverificationexpectedresult = worksheet.Range('c3')['Value']
  urlverificationactualpass = worksheet.Range('d3')['Value']
  urlverificationactualfail = worksheet.Range('e3')['Value']
 
 
 

  #write the test result in the BOOK1
  excel['Visible'] = TRUE;
  workbook = excel.Workbooks.Add();
  excel.Range("a1")['Value'] = testcaseno;
  excel.Range("b1")['Value'] = description;
  excel.Range("c1")['Value'] = expectedresult;
  excel.Range("d1")['Value'] = actualresult;
  excel.Range("e1")['Value'] = passfail;
 
 
      puts (urlverificationno)
      puts (urlverificationdescription)
      ie = Watir::IE.new
      test_site = url 
      ie.goto(test_site)
      excel.Range("a3")['Value'] = urlverificationno;
      excel.Range("b3")['Value'] = urlverificationdescription;
      excel.Range("c3")['Value'] = urlverificationexpectedresult;
    checkcondition("Choose Plan", "d3", "e3", "Choose plan page is opening
pass", "Choose plan page is not opening fail", 
"urlverificationactualpass",
"urlverificationactualfail") 
 
    ie.close
 
 
      #Verifies that the sign_up page opens if the user hits the URL
-"http://192.168.4.169/sign_up/beginSignup.do";
 
 
 
 
end
  end
end
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://rubyforge.org/pipermail/wtr-general/attachments/20070320/ed2ead64/attachment-0001.html
 


------------------------------

Message: 2
Date: Tue, 20 Mar 2007 18:37:37 +0530
From: "Angrez Singh" <[EMAIL PROTECTED]>
Subject: Re: [Wtr-general] 'getObject' command
To: wtr-general@rubyforge.org
Message-ID:
 <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="windows-1252"

Hi Mathew,

Please reply to the list so that others can also get benefit from this.

Not sure why you are getting the error, Is this selectbox or the HTML code
that you have send is inside a Frame?

- Angrez

On 3/20/07, Mathew Jacob <[EMAIL PROTECTED]> wrote:
>
>  Hi Angrez,
>
>
>
>           I am not able to select any of the  button. 
"ie.select_list(:name,
> "top_read_unread").select("Mark as Read")" statement creates following
> error.
>
>
>
>          c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1928:in 
`assert_exists':
> Unable to locate object, using name and top_read_unread
> (Watir::Exception::UnknownObjectException)
>
>             from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2940:in
> `select_item_in_select_list'
>
>             from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2925:in 
`select'
>
>             from ./MongoFnDef.rb:114:in `markasUnread'
>
>             from C:/Program Files/Watir/examples/MongoMain.rb:47
>
> *Regards,*
>
> *Mathew*
>
>
> *Ya**ho**o India, EGL, Bangalore ? 71, Phone:+91-80-30516346,
> Mobile:+91-9945849925*
>   ------------------------------
>
> *From:* Angrez Singh [mailto:[EMAIL PROTECTED]
> *Sent:* Tuesday, March 20, 2007 5:54 PM
> *To:* wtr-general@rubyforge.org
> *Cc:* Mathew Jacob
> *Subject:* Re: [Wtr-general] 'getObject' command
>
>
>
> Hi Mathew,
>
> You can click on the buttons that display Delete, Spam etc using:
> ie.button(:value, "Delete").
>
> So all <input type="submit"> tags you can access using this way.
>
> If you want to select an option like 'Mark as Read' you can use:
> ie.select_list(:name, "top_read_unread").select("Mark as Read")
>
> Let me know if this works.
>
> Regards,
> Angrez
>
> On 3/20/07, *Mathew Jacob* <[EMAIL PROTECTED]> wrote:
>
> Hi Angrez,
>
>
>
>              Thanks your response. I wanted to simulate the operation to
> click on Menu button. It displays button menu. Then I need to click on 
any
> of the option in button menu.
>
>
>
> Regards,
>
>
>
> Mathew
>
>
>
>
>
> * *
>
>
> *Ya ho**o India, EGL, Bangalore ? 71, Phone:+91-80-30516346,
> Mobile:+91-9945849925*
>   ------------------------------
>
> *From:* [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]
> *On Behalf Of *Angrez Singh
> *Sent:* Tuesday, March 20, 2007 5:08 PM
>
>
> *To:* wtr-general@rubyforge.org
> *Subject:* Re: [Wtr-general] 'getObject' command
>
>
>
> Hi Mathew,
>
> What you want to select in the menubutton? What operation you want to 
do?
> The HTML contains usual <select> and <input> control that you can access
> using ie.select_list and ie.button respectively.
>
> Let me know what you want to do so that I can help you further.
>
> Regards,
> Angrez
>
> On 3/20/07, *Mathew Jacob* < [EMAIL PROTECTED]> wrote:
>
> Hi Angrez,
>
>                It is an object 'Menu button'. This object is an Menu
> Button and contains two options on it. Attached is the HTML code of this
> button.
>
>
>
> div>
>
>     <noscript>
>
>     <div id="contentbuttonbartop" class="contentbuttonbar">
>
>     <span class="first">        <input type="submit" class="inputbutton"
> name="top_bpress_delete"
>
>         value ="Delete"
>
>         title="Delete selected Message(s)">        <input type="submit"
> class="inputbutton" name="top_bpress_spam"
>
>         value="Spam"
>
>         title="Mark selected Message(s) as Spam">        <select
> name="top_read_unread" class="dropdown">
>
>         <option value="0">Mark as Unread</option>
>
>         <option value="1">Mark as Read</option>
>
>         </select>
>
>         <input type="submit" class="inputbutton" 
name="top_bpress_topmark"
>
>         value = "Mark"
>
>         title="Mark selected Message(s)">        <select
> name="top_move_select" style="width:125px" class="dropdown">
>
>
>
> *Regards,*
>
> *Mathew*
>
> * *
>
> * *
>
>
> *Ya ho **o India, EGL, Bangalore ? 71, Phone:+91-80-30516346,
> Mobile:+91-9945849925*
>   ------------------------------
>
> *From:* [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]
> *On Behalf Of *Angrez Singh
> *Sent:* Friday, March 16, 2007 6:23 PM
> *To:* wtr-general@rubyforge.org
> *Subject:* Re: [Wtr-general] 'getObject' command
>
>
>
> Hi,
>
> Can you be more specific like what kind of object is it? Whats the HTML 
of
> the page? etc etc.
> The information you provided is not sufficient enough for anyone to be
> able to help you.
>
> Regards,
> Angrez
>
> On 3/16/07, *Mathew Jacob* <[EMAIL PROTECTED]> wrote:
>
> There is one object in browser page. Can I use the command
>  'getObject(how, what, types, value=nil)' to recognize that object. How 
we
> can implement this.
>
>
>
> mjk
>
>
>
>
>
> * *
>
>
> *Ya ho **o India, EGL, Bangalore ? 71, Phone:+91-80-30516346,
> Mobile:+91-9945849925*
>
>
>
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://rubyforge.org/pipermail/wtr-general/attachments/20070320/f114b965/attachment.html
 


------------------------------

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

End of Wtr-general Digest, Vol 40, Issue 36
*******************************************



This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**********************************************************************************************

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to