cPAMIE/Python String and Date Comparisons

Sam R samsafyan at yahoo.com
Mon Nov 7 17:27:51 EST 2005


Hi,
I am new to Python, and PAMIE has been a very useful tool for my
website functionality testing.
I was wondering if anyone knows how to do the following testcases with
either PAMIE or Python.
1. Load a page http://www.prophet.net/quotes/stocknews.jsp?symbol=MSFT
Verify that the string 'News for MSFT' exists on the page.
Verify that the date '7 November 2005' is equal to today's date.

Your help would be greatly appreciated and here is what I have so far
:)

import cPAMIE
ie=cPAMIE.PAMIE()

ie.Navigate ('http://www.prophet.net/quotes/stocknews.jsp?symbol=MSFT')

ie.Quit()




More information about the Python-list mailing list