DMBrowser.KeywordAssert Method

تعريف

يبحث في السلسلة المحددة أو صفيف السلاسل في “النص الداخلي” لمستند HTML (المهلة الافتراضية هي 50 ثانية).

الزائده

KeywordAssert (الكلمة الرئيسية، المهلة)

يبحث في السلسلة المحددة.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
public void KeywordAssert(string keyword, Timespan timeout = default(TimeSpan))
public void KeywordAssert(string keyword, Timespan timeout = default(TimeSpan))
public void KeywordAssert(string keyword, Timespan timeout = default(TimeSpan))

البارامترات

سلسلة  الكلمات الرئيسية   مهله  تايمسبان

امثله

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
tab1.KeywordAssert ("file downloaded")
tab1.KeywordAssert ("file downloaded")
tab1.KeywordAssert ("file downloaded")

KeywordAssert (الكلمات الرئيسية)

يبحث في الكتلة المحددة من السلاسل.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
public void KeywordAssert(string[] keyword)
public void KeywordAssert(string[] keyword)
public void KeywordAssert(string[] keyword)

البارامترات

سلسلة  الكلمات الرئيسية []