Class: PortalModule::Pages::DataTransformationPage
- Inherits:
-
Object
- Object
- PortalModule::Pages::DataTransformationPage
- Includes:
- PageObject
- Defined in:
- lib/portal_module/pages/data_transformation_page.rb
Instance Method Summary collapse
- #activate ⇒ Object
- #download ⇒ Object
- #get_dynamic_url ⇒ Object
- #load_org(org_string) ⇒ Object
- #save ⇒ Object
- #upload(file_path) ⇒ Object
Instance Method Details
#activate ⇒ Object
53 54 55 56 |
# File 'lib/portal_module/pages/data_transformation_page.rb', line 53 def activate self. self end |
#download ⇒ Object
58 59 60 61 |
# File 'lib/portal_module/pages/data_transformation_page.rb', line 58 def download self. self end |
#get_dynamic_url ⇒ Object
17 18 19 |
# File 'lib/portal_module/pages/data_transformation_page.rb', line 17 def get_dynamic_url PortalModule.configuration.url(DataTransformationPage) end |
#load_org(org_string) ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/portal_module/pages/data_transformation_page.rb', line 63 def load_org org_string org_name = org_string.split('~')[1] return self if viewing_span == org_name self.search_text = org_string self. viewing_span_element.wait_until(120, "Org not loaded - #{org_name}") do viewing_span == org_name end self end |
#save ⇒ Object
48 49 50 51 |
# File 'lib/portal_module/pages/data_transformation_page.rb', line 48 def save self. self end |
#upload(file_path) ⇒ Object
77 78 79 80 81 |
# File 'lib/portal_module/pages/data_transformation_page.rb', line 77 def upload file_path self.file_input = file_path self. self end |