boolean function ( ) { String loc0 = uiElementMapper . getElement ( "srini_string" + this . assetType + "srini_string" ) ; return driver . findElements ( By . id ( loc0 ) ) . size ( ) > 0 ; }
make sure the particular asset that is used to verify the asset type is displayed on the asset listing page . particular asset has to be defined in the mapper.properties file with the asset type . concode_field_sep String pageSubtitle concode_elem_sep WebDriver driver concode_elem_sep UIElementMapper uiElementMapper concode_elem_sep String assetType concode_field_sep boolean verifySchemaAssetListPageSubtitle concode_elem_sep boolean verifyWADLAssetListPageSubtitle concode_elem_sep AssetOverviewPage ClickAsset concode_elem_sep boolean verifyRESTAssetListPageSubtitle concode_elem_sep boolean verifyPolicyAssetListPageSubtitle concode_elem_sep boolean verifyWSDLAssetListPageSubtitle concode_elem_sep boolean verifySOAPAssetListPageSubtitle concode_elem_sep boolean verifySwaggerAssetListPageSubtitle