Registrar Badges Show Up

AboutUs


(they occasionally don't) - test is simply to navigate to each of these pages and assert that the badge is there

see also

Consistent Registrar Badges

next actions

done

  • this script runs the test: tests/badge_acceptance_test.sh

test pages

top 12 registrars tested plus two domains without badges

php file

  • create file RegistrarBadgesShowUp.php based on CanonicalAboutUsURLs.php
    • navigate to the 4 pages above

(half hour total so far, including above and these two actions)

badge is id="registrar"

Should be there ($locator="registrar";):

$this->open("/KaboomDesign.com");
$this->waitForPageToLoad(10001);
$this->assertElementPresent($locator);

Should NOT be there:

$this->open("/Meiti.net");
$this->waitForPageToLoad(10004);
$this->assertElementNotPresent($locator);

future work

Maybe verify that it's the correct badge, not just that a badge is there?

# /html/body/div/div[2]/div[7] (div id="registrar")
# /html/body/div/div[2]/div[7]/div/p/a/img (the image itself) <img border="0" alt="Tucows.com" style="width: 135px;" src="/skins/common/registrars/tucows.com.gif"/>
        
# /html/body/div/div[2]/div[7] (div id="registrar")
# /html/body/div/div[2]/div[7]/div/p/a/img (the image itself) <img border="0" alt="Dotster" style="width: 135px;" src="/skins/common/registrars/dotster.com.jpg"/>


Retrieved from "http://aboutus.com/index.php?title=Registrar_Badges_Show_Up&oldid=12080902"