class manifest(SatTab): red_hat_cdn_url = TextInput(id='cdnUrl') manifest_file = FileInput(id='usmaFile') refresh_button = Button('Refresh') delete_button = Button('Delete')
class TestForm(View): h3 = Text('.//h3', log_on_fill_unspecified=False) input1 = TextInput(name='input1') input2 = Checkbox(id='input2') fileinput = FileInput(id='fileinput')
class TestForm5(View): fileinput = FileInput(id='fileinput') inputs = View.include(TestForm2, use_parent=True)
class import_file(View): # noqa file = FileInput(name='upload_file') upload = Button('Upload')
class TestForm3(View): fileinput = FileInput(id='fileinput') inputs = View.include(TestForm2)
class TestForm(View): h3 = Text('.//h3') input1 = TextInput(name='input1') input2 = Checkbox(id='input2') input3 = ColourInput(id='colourinput') fileinput = FileInput(id='fileinput')
class import_file(View): # noqa upload_file = FileInput(id="upload_file") upload = Button(id="upload-datastore-import")
class file_upload(SatTab): TAB_NAME = 'File Upload' title = TextInput(id='scap_content_title') uploaded_scap_file = Text( locator="//label[@for='scap_file']/following-sibling::div/b") scap_file = FileInput(id='scap_content_scap_file')
class file_upload(SatTab): TAB_NAME = 'File Upload' title = TextInput(id='scap_content_title') scap_file = FileInput(id='scap_content_scap_file')