1 回答

TA貢獻1934條經驗 獲得超2個贊
// Available Design Count Text
addTestStep("The Design Selection Available Design Text Matches the Expected Text");
string availableDesignCountText = designSelectionPage.designSelectionAvailableDesignCountText.Text.ToLower().Trim();
bool textMatches = System.Text.RegularExpressions.Regex.IsMatch(availableDesignCountText, @"^\d+\s+(?:of|de)\s+\d+$");
TestReporter.assertTrue(textMatches,
"The Design Selection Page Available Design Text Didn't Match the Expected Format [" + availableDesignCountText + "]");
addTestStep("Complete");
這最終成功了!
- 1 回答
- 0 關注
- 110 瀏覽
添加回答
舉報