Thank you so much for responding Danny. Do you mean to say that I need to change the statement :"title = self.browser.find_element_by_tag_name('title')".... to... "title = self.browser.title" ...??
On Monday, June 24, 2013 12:12:20 PM UTC+5:30, shai...@signumsol.com wrote: > > > In the tukker application example given in the killer-web-development.comthe > "test_has_right_title" fails in-spite of having the exact code and > steps followed according to the instructions on the website. > The message I get after running the application is : > > FAIL: test_has_right_title (test_static_pages.TestPrivacyPage) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/shailajack/Desktop/python_prog/web2py/applications/tukker/fts/test_static_pages.py", > > line 18, in test_has_right_title > self.assertEqual('Tukker.Me Privacy Policy', title.text) > AssertionError: 'Tukker.Me Privacy Policy' != u'' > > > Can anyone please help me to figure out where I'm going wrong?? > > Thanks > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.