public KeywordInfo Populate(string keywordName, string projectName) { Command cmd = new Command("getKeywordInformation"); cmd.AddParameter("keywordName", keywordName); cmd.AddParameter("projectName", projectName); KeywordInfo result = this.ExecuteQuery(cmd)[0]; cmd.Dispose(); PopulateLogData(result); return(result); }
private void PopulateLogData(KeywordInfo keywordInfo) { TestLogData.requiredKeywordParameters = keywordInfo.requiredParameters; TestLogData.optionalKeywordParameters = keywordInfo.optionalParameters; TestLogData.keywordDescription = keywordInfo.description; }