Class: BasePage
- Defined in:
- lib/sakai-cle-test-api/base_page.rb
Direct Known Subclasses
AddAnOption, AddBloggerComment, AddEditAnnouncements, AddEditAssessmentPart, AddEditColumn, AddEditMatrix, AddEditPages, AddEditPoll, AddEditPortfolioContent, AddEditPortfolioPage, AddEditRow, AddEditSiteProperties, AddEditTerm, AddEditTools, AddEditTopic, AddForm, AddPeopleToShare, AddPortfolio, AddPortfolioTemplate, AddStyle, AddTemplateTitle, AddUpdateFeedback, Aliases, AliasesCreate, Announcements, AnnouncementsMerge, AnnouncementsOptions, AnnouncementsPermissions, AssessmentTotalScores, AssessmentsBase, AssignmentStudent, AssignmentStudentPreview, AssignmentSubmission, AssignmentsBase, BasicLTI, Blogger, BlogsBase, BuildTemplate, CalendarBase, ChatRoom, ComposeForumMessage, ComposeMessage, ConfirmEvaluation, ConfirmPublishMatrix, ConfirmSiteSetup, CourseSiteInfo, CreateBloggerPost, CreateNewJob, CreateNewUser, CreateTrigger, DiscussionForum, DiscussionMemberListing, DiscussionSearch, DiscussionsMyProfile, EditAccount, EditAlias, EditCell, EditEvaluationAssignment, EditForum, EditHTMLPageContent, EditMatrixCells, EditPortfolio, EditProfile, EditSiteInfo, EditTemplate, EditTriggers, EditUser, EmailArchive, EmailArchiveOptions, EntityPicker, EvaluationSettings, EvaluationSystem, EventLog, Feedback, FolderDeleteConfirm, FolderList, Forms, ForumTemplateSettings, Forums, ForwardMessage, Glossary, GlossaryFileUpload, GlossaryImport, GradeReport, Gradebook, Gradebook2, Home, ImportForms, ImportStepOne, ImportStepThree, ImportStepTwo, Information, JForums, JobList, JobScheduler, LessonsBase, Login, ManageDiscussions, ManageForums, ManagePortfolioLayouts, Matrices, MediaGallery, MessageDeleteConfirmation, MessageFolderSettings, MessageView, Messages, MessagesDeletedList, MessagesDraftList, MessagesNewFolder, MessagesReceivedList, MessagesSentList, MoveMessageTo, MyBookmarks, MyEvaluations, MyWorkspace, NewEvaluation, NewPage, NewPrivateMessage, NewTool, NewTopic, News, OrganizeForums, Podcasts, Polls, PortfolioConfigureToolOptions, PortfolioContent, PortfolioSiteInfo, PortfolioSiteTools, PortfolioTemplates, Portfolios, PortfoliosUploadFiles, PreviewBloggerPost, PreviewOverview, PrivateMessages, Profile, Profile2, Profile2Connections, Profile2Preferences, Profile2Privacy, Profile2Search, Profile2View, PublishAssessment, PublishForm, Realms, RemoveSite, RemoveSite::SiteSaveAs, ReplyToMessage, ResourcesBase, Roster, RosterProfileView, RunJobConfirmation, RwikiBase, Search, SearchAdmin, SearchPublic, SearchPublicResults, SectionsBase, SelectEvaluators, SelectMatrixStyle, SelectSchemaFile, SharePortfolio, SiteSetupBase, SiteSetupChooseRole, SiteSummaryPage, Sites, Styles, SubmissionConfirmation, SupportingFilesPortfolio, SyllabusBase, TakeEvaluation, TopicPage, UserAccount, UserMembership, Users, ViewAnnouncement, ViewBloggerPost, ViewForumThread, ViewMembersBlog, ViewPM, ViewTopic
Class Method Summary collapse
Methods inherited from PageMaker
element, expected_element, expected_title, #initialize, #method_missing, page_url
Constructor Details
This class inherits a constructor from PageMaker
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PageMaker
Class Method Details
.basic_page_elements ⇒ Object
9 10 11 12 13 14 |
# File 'lib/sakai-cle-test-api/base_page.rb', line 9 def basic_page_elements # Returns the text of the error message box value(:alert_box) { |b| b.frm.div(:class=>"alertMessage").text } # Returns the text of the header. value(:header) { |b| b.frm.div(:class=>"portletBody").h3.text } end |
.frame_element ⇒ Object
5 6 7 |
# File 'lib/sakai-cle-test-api/base_page.rb', line 5 def frame_element element(:frm) { |b| b.frame(:class=>"portletMainIframe") } end |