Skip to content

Instantly share code, notes, and snippets.

Abhishek Shrivastava abstatic

Block or report user

Report or block abstatic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:e11e635cd3f01887812436618882f204
cdac407412554f73b993155a5666a2d5 #
abstatic /
Last active Jan 1, 2019
Gsoc proposal abhishek
abstatic /
Created Jun 20, 2016
Upload function
def test030_upload(self):
This test is for checking if we can successfully upload a profile
print "Test#3 Profile upload test"
# login into the app
driver = self.driver
def login(self, driver):
This method is internal to testing framework
It is used to login the user.
Each test requires the user to be logged in already
driver - reference to driver being used
# this is the tricky part
# We have to get the right handle for the correct popup login window
def test010_isSegAnnUp(self):
This test is for checking whether the page is loading or not
print "Test#1 isSegAnnUp ?"
driver = self.driver
assert "SegAnnDB" in driver.title
You can’t perform that action at this time.