Package | Description |
---|---|
com.auxiliary.selenium.event | |
com.auxiliary.selenium.event.extend | |
com.auxiliary.sikuli.event | |
com.auxiliary.tool.asserts |
Modifier and Type | Method and Description |
---|---|
static CompareNumberType |
CompareNumberType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompareNumberType[] |
CompareNumberType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AssertEvent.assertElementsNumber(Element referencedElement,
CompareNumberType compareNumberType,
Element comparativeElement)
断言两元素中的数字内容,按照
CompareNumberType 指定的比较类型进行比较。若断言的
元素文本内容存在非数字字符时,则直接断言失败 |
boolean |
AssertEvent.assertNumber(Element element,
CompareNumberType compareNumberType,
double compareNumber)
断言元素中的数字内容与指定的数字按照
CompareNumberType 指定的比较类型进行比较。若断言的
元素文本内容为非数字字符时,则直接断言失败 |
Modifier and Type | Method and Description |
---|---|
boolean |
CommonEventCollection.assertNumber(CompareNumberType compareNumberType,
double compareNumber,
String elementName,
String... linkKeys)
|
Modifier and Type | Method and Description |
---|---|
boolean |
SikuliAssertEvent.assertElementsNumber(SikuliElement referencedElement,
CompareNumberType compareNumberType,
SikuliElement comparativeElement)
断言两元素中的数字内容,按照
CompareNumberType 指定的比较类型进行比较。若断言的
元素文本内容存在非数字字符时,则直接断言失败 |
boolean |
SikuliAssertEvent.assertElementsNumber(String referencedElementName,
CompareNumberType compareNumberType,
String comparativeElementName)
断言两元素中的数字内容,按照
CompareNumberType 指定的比较类型进行比较。若断言的元素文本内容存在非数字字符时,则直接断言失败 |
boolean |
SikuliAssertEvent.assertElementsNumber(String referencedElementName,
int referencedIndex,
CompareNumberType compareNumberType,
String comparativeElementName,
int comparativeIndex)
断言两元素中的数字内容,按照
CompareNumberType 指定的比较类型进行比较。若断言的元素文本内容存在非数字字符时,则直接断言失败 |
boolean |
SikuliAssertEvent.assertNumber(SikuliElement element,
CompareNumberType compareNumberType,
double compareNumber)
断言元素中的数字内容与指定的数字按照
CompareNumberType 指定的比较类型进行比较。若断言的元素文本内容为非数字字符时,则直接断言失败 |
boolean |
SikuliAssertEvent.assertNumber(String elementName,
CompareNumberType compareNumberType,
double compareNumber)
断言两元素中的数字内容,按照
CompareNumberType 指定的比较类型进行比较。若断言的元素文本内容存在非数字字符时,则直接断言失败 |
boolean |
SikuliAssertEvent.assertNumber(String elementName,
int index,
CompareNumberType compareNumberType,
double compareNumber)
断言两元素中的数字内容,按照
CompareNumberType 指定的比较类型进行比较。若断言的元素文本内容存在非数字字符时,则直接断言失败 |
Modifier and Type | Method and Description |
---|---|
static boolean |
AssertStringUtil.assertNumber(String text,
CompareNumberType compareNumberType,
double compareNumber)
断言元素中的数字内容与指定的数字按照
CompareNumberType 指定的比较类型进行比较。若断言的
元素文本内容为非数字字符时,则返回false |
Copyright © 2024. All rights reserved.