Sha256: 0c40433d72b9614c52311c51b44972cac1f436262962ae685d64ab7771a52d56
Contents?: true
Size: 1014 Bytes
Versions: 1
Compression:
Stored size: 1014 Bytes
Contents
module PowerSchool class Teachers def self.find( full_name ) PowerSchool::Connection.go_to 'faculty/search.html' PowerSchool.browser.text_field(:id => "ss").set full_name PowerSchool.browser.button(:id => "btnSearch").click if PowerSchool.browser.frame(:id => "frameContent").exists? PowerSchool.browser.frame(:id => "frameContent").div(:id => "content-main").h1.text else false end end def self.import(file_path) PowerSchool::Connection.quick_import('Teachers', file_path) end def self.delete(full_name) find(full_name) PowerSchool.browser.frame(:id => "frameMenu").a(:text => "Security Settings").click PowerSchool.browser.frame(:id => "frameContent").button(:id => "btnConfirmDeleteProxy").click PowerSchool.browser.frame(:id => "frameContent").a(:id => "btnDelete").click end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
power_school-0.0.1 | lib/power_school/teachers.rb |