Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 private void PopulateLogData(KeywordInfo keywordInfo)
 {
     TestLogData.requiredKeywordParameters = keywordInfo.requiredParameters;
     TestLogData.optionalKeywordParameters = keywordInfo.optionalParameters;
     TestLogData.keywordDescription        = keywordInfo.description;
 }