Example #1
0
    def test_baidu_homepage1(self):
        
        # Link_news check
        Link_news = step.link('//a[@name="tj_trnews"]',"http://news.baidu.com/")
        Link_news.checkURL()

        step.TestEnd()
Example #2
0
 def test_baidu_homepage1(self):
     
     # Link_maps check
     Link_maps = step.link('//a[@name="tj_trmap"]',"http://map.baidu.com")
     Link_maps.checkURL()