UI testy MultiWeb - dokumentace TSW Framework
UI testy MultiWeb - dokumentace TSW Framework
Obsah
TescoSW.MW.UITests.Common
SupportMethods Class
SupportMethods Methods
ClearAndSendKeys Method
ClickMenuItemButton Method
ClickMessageBoxButton Method
ClickOnToolbarButton Method
CloseActiveForm Method
CloseOtherBrowserTabs Method
ColumnFilter Method
Combine Method
CreateNewFormProfile Method
CreateStableElement Method
CreatPromiseForRequestUrlName Method
Delete Method
DeleteAndSendKeys Method
DeleteAndSendLongKeys Method
DeleteFileFromDownloadFolder Method
DeleteFilesFromCurrentDirectory Method
DeleteFilesFromDownloadFolder Method
DeleteSelectedRecord Method
DeleteUploadedFile Method
FindElement Method
FindFavoriteMenu Method
FindFormsMenu Method
FindPopupMenu Method
FindQuickAccessMenu Method
FindSecondPopupMenu Method
FormOpenSearch Method
FormOpenUrl Method
GetAllElementsAsCollection Method
GetAttribute Method
GetFileNameExtension Method
GetFileNameWithoutExtension Method
GetFilterPanel Method
GetListFrameRowByIndex Method
GetMessageBox Method
GetMessageBoxCount Method
GetMessageBoxes Method
GetSidePanel Method
HideColumnInColumnSettingsByAttrName Method
HideColumnInHeaderDropDownByIndex Method
HideColumnInHeaderDropDownByName Method
CheckIfButtonDisabled Method
CheckIfButtonEnabled Method
CheckIfButtonEnabledAndClick Method
IsElementEnabled Method
IsElementPresent Method
IsElementVisible Method
MoveToElementAndClick Method
noSuchElementExceptionMethod Method
notClickableExceptionMethod Method
OpenActiveFormInTheTab Method
OpenColumnSettings Method
OpenDisplayManagerPanel Method
PerformActionWhenReady Method
ProfileCheckFormSetting Method
ResetMousePosition Method
ResolvePromise Method
RunInTopWindow Method
RunTimedTest Method
ScrollToElement Method
SelectListFrameRowByKey Method
SelectListFrameRowSelectorByIndex Method
SelectMSLOVRowSelectorByIndex Method
SendKeyboardShortcutToBrowser Method
SendKeysToBrowser Method
SendKeysToDynamic Method
ShowColumnInColumnSettingsByAttrName Method
SplitLongString Method
StartMeasuringTime Method
StopMeasuringTime Method
StringToByteArray Method
SwapTwoMembersOfList(T) Method
SwitchToBrowserTab Method
SwitchToDefaultContent Method
TryAction Method
TryFindElement Method
VerifyAndClosePrintPopupWindow Method
VerifyTimeDeviation Method
VerifyURLContains Method
VerifyURLNotContains Method
WaitForAction Method
WaitForAttributeValue Method
WaitForAttributeValueContains Method
WaitForCssAttributeValue Method
WaitForDownloadedFile Method
WaitForDownloadedFileAndDelete Method
WaitForElementAttributeNotPresent Method
WaitForElementAttributePresent Method
WaitForElementClassOrClassModifierNotPresent Method
WaitForElementClassOrClassModifierPresent Method
WaitForElementEnabled Method
WaitForElementEndsWithValue Method
WaitForElementNotPresent Method
WaitForElementNotValue Method
WaitForElementNotVisible Method
WaitForElementPresent Method
WaitForElementRemoved Method
WaitForElementStartsWithValue Method
WaitForElementValue Method
WaitForElementValueContains Method
WaitForElementVisible Method
WaitForElementVisibleForInterval Method
WaitForInputValue Method
WaitForLoaderNotVisible Method
WaitForPopUpURL Method
WaitForRecordsLoadOnFrame Method
WaitForRecordsOnLF Method
SupportMethods
SwapTwoMembersOfList
T
Method
Prohodí 2 elementy v listu
Namespace:
TescoSW.MW.UITests.Common
Assembly:
TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntax
C#
Copy
public
static
void
SwapTwoMembersOfList
<T>(
this
IList
<T>
source
,
int
firstIndex
,
int
secondIndex
)
Parameters
source
Type:
System.Collections.Generic
IList
T
Původní list
firstIndex
Type:
System
Int32
První index elementu, který se prohazuje
secondIndex
Type:
System
Int32
Druhý index elementu, který se prohazuje
Type Parameters
T
Typ prvků v listu
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IList
T
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
SupportMethods Class
TescoSW.MW.UITests.Common Namespace
©2017 TESCO SW, a.s.
Send comments on this topic to
TESCO SW, a.s.