this is scenario to automate



  • a) Go to http://money.rediff.com/gainers/bse

    b) There will be a list of company names and their current prices listed in the grid

    c) Find any company say 'SPIC.' and then read the current share value from 'Current Price (Rs)' column

    d) Look at the top of the page, you will see a search field.

    c) Enter the same company name and search for the same company-'SPIC'

    d) Verify page with 'SPIC' details is loaded

    e) In that page verify the price is same as the once which you had read earlier from the grid



  • @anshu Use .getText method and store the value in a string (Both step C and E) and compare the both the Strings, Ex: .equals. (Also you can use if-else condition).


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2