How can we handle single transaction in framework for user logging in & signing out?

I need to login to a website & get some data & signout.For that i should take single transaction in re framework.How can we handle that.

Please reply ASAP.

  1. Init - to read the config file and login in to a website
  2. Get Transaction Data - Go to the location where you want to scrape the data
  3. Process Transaction - Scrape the data
  4. End Process - Sign out