Hi All

class TestDefaultServer(unittest.TestCase):

    seleniumHost = 'localhost'
    seleniumPort = str(4444)
    browserStartCommand = "*firefox"
    browserURL = "https:/<HOSTNAME/"
    def setUp(self):
        print "Using selenium server at " + self.seleniumHost + ":" +
self.seleniumPort
        self.selenium = selenium(self.seleniumHost, self.seleniumPort,
self.browserStartCommand, self.browserURL)
        self.selenium.start()

    def testLinks(self):
        selenium = self.selenium
        selenium.open("zenworks/jsp/Login.jsp")
        selenium.type("username", "Administrator")
        selenium.type("password", "novell")
        selenium.click("loginButton")


I am using the code like above . I am trying to access site which has
certificates( https ) using selenium . But I am not able to access this
using selenium  using the above code .
I am getting the error as follows :

javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
 unable to find valid certification path to requested target


Please help me out in solving this issue . I am struggling with this very
much .

Thanks ,
SreeHari CH
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to