Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addError(String) - Method in class com.qaitsolutions.pframe.core.assertion.ErrorTracker
-
Inserts error to tracker.
- addError(String, Throwable) - Method in class com.qaitsolutions.pframe.core.assertion.ErrorTracker
-
Inserts error to tracker.
- addError(Throwable) - Method in class com.qaitsolutions.pframe.core.assertion.ErrorTracker
-
Inserts error to tracker.
- assertAll() - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Fails when previous asserts fail and failures are registered in the tracker.
- Assertions - Class in com.qaitsolutions.pframe.core.assertion
-
Class is a wrapper over
Truth
. - Assertions() - Constructor for class com.qaitsolutions.pframe.core.assertion.Assertions
- assertThat(Boolean) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Boolean)
. - assertThat(Boolean) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Boolean)
. - assertThat(Double) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Double)
. - assertThat(Double) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Double)
. - assertThat(Float) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Float)
. - assertThat(Float) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Float)
. - assertThat(Integer) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Integer)
. - assertThat(Integer) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Integer)
. - assertThat(Iterable<?>) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Iterable)
. - assertThat(Iterable<?>) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Iterable)
. - assertThat(Long) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Long)
. - assertThat(Long) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Long)
. - assertThat(Object) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Object)
. - assertThat(Object) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Object)
. - assertThat(String) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(String)
. - assertThat(String) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(String)
. - assertThat(BigDecimal) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(BigDecimal)
. - assertThat(BigDecimal) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(BigDecimal)
. - assertThat(Map<?, ?>) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Map)
. - assertThat(Map<?, ?>) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Map)
. - assertThat(T) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertThat(Comparable)
. - assertThat(T) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertThat(Comparable)
. - assertWithMessage(String) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertWithMessage(String)
. - assertWithMessage(String) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertWithMessage(String)
. - assertWithMessage(String, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Wrapper over
Truth.assertWithMessage(String, Object...)
. - assertWithMessage(String, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Wrapper over
Truth.assertWithMessage(String, Object...)
.
B
- beforeConfiguration(ITestResult) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- BigDecimalSubject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
BigDecimalSubject
. - BigDecimalSubject(BigDecimal, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.BigDecimalSubject
-
Constructor for regular assertions.
- BigDecimalSubject(BigDecimal, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.BigDecimalSubject
-
Constructor for soft assertions.
- BooleanSubject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
BooleanSubject
. - BooleanSubject(Boolean, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.BooleanSubject
-
Constructor for regular assertions.
- BooleanSubject(Boolean, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.BooleanSubject
-
Constructor for soft assertions.
C
- clear() - Method in class com.qaitsolutions.pframe.core.assertion.ErrorTracker
-
Removes all stored errors.
- com.qaitsolutions.pframe.core.assertion - package com.qaitsolutions.pframe.core.assertion
- com.qaitsolutions.pframe.core.assertion.subjects - package com.qaitsolutions.pframe.core.assertion.subjects
- com.qaitsolutions.pframe.core.config - package com.qaitsolutions.pframe.core.config
- com.qaitsolutions.pframe.core.exceptions - package com.qaitsolutions.pframe.core.exceptions
- com.qaitsolutions.pframe.core.extent_reporting - package com.qaitsolutions.pframe.core.extent_reporting
- com.qaitsolutions.pframe.core.logging - package com.qaitsolutions.pframe.core.logging
- com.qaitsolutions.pframe.core.testng - package com.qaitsolutions.pframe.core.testng
- com.qaitsolutions.pframe.core.utils - package com.qaitsolutions.pframe.core.utils
- ComparableSubject<T> - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
ComparableSubject
. - ComparableSubject(T, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Constructor for regular assertions.
- ComparableSubject(T, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Constructor for soft assertions.
- Config - Class in com.qaitsolutions.pframe.core.config
-
Class contains configuration data for framework.
- Config() - Constructor for class com.qaitsolutions.pframe.core.config.Config
- ConfigDTO - Class in com.qaitsolutions.pframe.core.config
-
DTO that will be used to access configuration data.
- ConfigDTO() - Constructor for class com.qaitsolutions.pframe.core.config.ConfigDTO
- ConsoleLog - Interface in com.qaitsolutions.pframe.core.logging
-
Class prints messages to console using different colors
- ConsoleLog.AnsiColor - Enum Class in com.qaitsolutions.pframe.core.logging
-
Holds terminal commands that will change the color of the text displayed
- contains(CharSequence) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject.CaseInsensitiveStringComparison
-
Fails if the string does not contain the given sequence (while ignoring case).
- contains(CharSequence) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string does not contain the given sequence.
- contains(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks (with a side-effect failure) that the subject contains the supplied item.
- containsAnyIn(Iterable<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the subject contains at least one of the objects contained in the provided collection or fails.
- containsAnyIn(Object[]) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the subject contains at least one of the objects contained in the provided array or fails.
- containsAnyOf(Object, Object, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the subject contains at least one of the provided objects or fails.
- containsAtLeast(Object, Object, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the actual iterable contains at least all of the expected elements or fails.
- containsAtLeast(Object, Object, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map does not contain at least the given set of entries in the given map.
- containsAtLeastElementsIn(Iterable<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the actual iterable contains at least all of the expected elements or fails.
- containsAtLeastElementsIn(Object[]) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the actual iterable contains at least all of the expected elements or fails.
- containsAtLeastEntriesIn(Map<?, ?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map does not contain at least the given set of entries in the given map.
- containsEntry(Object, Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map does not contain the given entry.
- containsErrors() - Method in class com.qaitsolutions.pframe.core.assertion.ErrorTracker
-
Checks if errors are present in Tracker.
- containsExactly(Object...) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that a subject contains exactly the provided objects or fails.
- containsExactly(Object, Object, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map does not contain exactly the given set of key/value pairs.
- containsExactlyElementsIn(Iterable<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that a subject contains exactly the provided objects or fails.
- containsExactlyElementsIn(Object[]) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that a subject contains exactly the provided objects or fails.
- containsExactlyEntriesIn(Map<?, ?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map does not contain exactly the given set of entries in the given map.
- containsKey(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map does not contain the given key.
- containsMatch(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string does not contain a match on the given regex.
- containsMatch(Pattern) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string does not contain a match on the given regex.
- containsNoDuplicates() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the subject does not contain duplicate elements.
- containsNoneIn(Iterable<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the actual iterable contains none of the elements contained in the excluded iterable or fails.
- containsNoneIn(Object[]) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that the actual iterable contains none of the elements contained in the excluded array or fails.
- containsNoneOf(Object, Object, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks that a actual iterable contains none of the excluded objects or fails.
- createNode(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Creates a new test node with given name.
- createReport(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Creates an Extent Report object with current report path
- createReport(String, String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Creates an Extent Report object.
- createTest(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Creates a new test with given name.
- currentNodeName - Variable in class com.qaitsolutions.pframe.core.testng.PFrameListener
- CYAN - Enum constant in enum class com.qaitsolutions.pframe.core.logging.ConsoleLog.AnsiColor
- CYAN - Static variable in interface com.qaitsolutions.pframe.core.logging.ConsoleLog
D
- debug(String) - Static method in class com.qaitsolutions.pframe.core.logging.FileLog
-
Logs a message at debug level.
- debug(String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs debug level messages.
- debug(String, Object...) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Convenience method for
Log.debug(String)
with addedString.format(String, Object...)
functionality. - doesNotContain(CharSequence) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject.CaseInsensitiveStringComparison
-
Fails if the string contains the given sequence (while ignoring case).
- doesNotContain(CharSequence) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string contains the given sequence.
- doesNotContain(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Checks (with a side-effect failure) that the subject does not contain the supplied item.
- doesNotContainEntry(Object, Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map contains the given entry.
- doesNotContainKey(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map contains the given key.
- doesNotContainMatch(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string contains a match on the given regex.
- doesNotContainMatch(Pattern) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string contains a match on the given regex.
- doesNotMatch(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string matches the given regex.
- doesNotMatch(Pattern) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string matches the given regex.
- DoubleSubject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
DoubleSubject
. - DoubleSubject(Double, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Constructor for regular assertions.
- DoubleSubject(Double, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Constructor for soft assertions.
E
- endsWith(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string does not end with the given string.
- error(String) - Static method in class com.qaitsolutions.pframe.core.logging.FileLog
-
Logs a message at error level.
- error(String, Throwable) - Static method in class com.qaitsolutions.pframe.core.logging.FileLog
-
Logs message at Error level with full stack trace.
- ErrorTracker - Class in com.qaitsolutions.pframe.core.assertion
-
Entity tracks errors from assertions and stores them.
- ErrorTracker() - Constructor for class com.qaitsolutions.pframe.core.assertion.ErrorTracker
- ExtentLogger - Class in com.qaitsolutions.pframe.core.extent_reporting
-
Wrapper class over
ExtentTest
. - ExtentLogger() - Constructor for class com.qaitsolutions.pframe.core.extent_reporting.ExtentLogger
F
- fail() - Method in class com.qaitsolutions.pframe.core.assertion.Assertions
-
Will fail (error) when used.
- fail(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.ExtentLogger
-
Logs in report as failed section.
- fail(String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs fail level messages.
- fail(String, Object...) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Convenience method for
Log.fail(String)
with addedString.format(String, Object...)
functionality. - fail(String, Throwable) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs fail level messages.
- FailProcessing - Class in com.qaitsolutions.pframe.core.assertion
-
Entity takes data from assertion and process it.
- FailProcessing() - Constructor for class com.qaitsolutions.pframe.core.assertion.FailProcessing
- FileLog - Class in com.qaitsolutions.pframe.core.logging
-
Wrapper class for log4j logging
Logger
. - FileLog() - Constructor for class com.qaitsolutions.pframe.core.logging.FileLog
- flush() - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Generates report.
- FrameworkException - Exception Class in com.qaitsolutions.pframe.core.exceptions
-
Class is custom exception for framework related exceptions.
- FrameworkException() - Constructor for exception class com.qaitsolutions.pframe.core.exceptions.FrameworkException
-
Constructs a new framework exception.
- FrameworkException(String) - Constructor for exception class com.qaitsolutions.pframe.core.exceptions.FrameworkException
-
Constructs a new framework exception with the specified message.
- FrameworkException(String, Throwable) - Constructor for exception class com.qaitsolutions.pframe.core.exceptions.FrameworkException
-
Constructs a new framework exception with the specified message and cause.
- FrameworkException(Throwable) - Constructor for exception class com.qaitsolutions.pframe.core.exceptions.FrameworkException
-
Constructs a new framework exception with the specified cause.
G
- getErrorsAsString() - Method in class com.qaitsolutions.pframe.core.assertion.ErrorTracker
-
Retrieves all errors and returns them as a
String
. - getLog() - Static method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- GREEN - Enum constant in enum class com.qaitsolutions.pframe.core.logging.ConsoleLog.AnsiColor
- GREEN - Static variable in interface com.qaitsolutions.pframe.core.logging.ConsoleLog
H
- hardFail() - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Will fail (error) when used.
- hasLength(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Wrapper over
StringSubject.hasLength(int)
. - hasSize(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Fails if the subject does not have the given size.
- hasSize(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map does not have the given size.
I
- ignoringCase() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Wrapper over
StringSubject.ignoringCase()
. - info(Markup) - Method in class com.qaitsolutions.pframe.core.extent_reporting.ExtentLogger
-
Method logs message as info section with markup (codeblocks, labels, lists etc).
- info(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.ExtentLogger
-
Logs message as info section.
- info(String) - Static method in class com.qaitsolutions.pframe.core.logging.FileLog
-
Logs a message at info level.
- info(String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs info level messages.
- info(String, Media) - Method in class com.qaitsolutions.pframe.core.extent_reporting.ExtentLogger
-
Logs message as info section with screenshot.
- info(String, Object...) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Convenience method for
Log.info(String)
with addedString.format(String, Object...)
functionality. - infoWithJson(String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs info level messages with a json codeblock.
- infoWithScreenshotByBase64String(String, String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs info level messages with a screenshot attached by base64 string.
- infoWithScreenshotByPath(String, String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs info level messages with a screenshot attached to the report.
- infoWithXml(String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs info level messages with a xml codeblock.
- IntegerSubject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
IntegerSubject
. - IntegerSubject(Integer, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.IntegerSubject
-
Constructor for regular assertions.
- IntegerSubject(Integer, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.IntegerSubject
-
Constructor for soft assertions.
- isAnyOf(Object, Object, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails unless the subject is equal to any of the given elements.
- isAtLeast(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Checks that the subject is greater than or equal to
other
. - isAtLeast(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.LongSubject
-
Checks that the subject is greater than or equal to
other
. - isAtLeast(T) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Checks that the subject is less than or equal to
other
. - isAtMost(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Checks that the subject is less than or equal to
other
. - isAtMost(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.LongSubject
-
Checks that the subject is less than or equal to
other
. - isAtMost(T) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Checks that the subject is less than or equal to
other
. - isCurrentNode(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Checks if the name of the current node is as given.
- isCurrentTest(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Checks if the name of the current test is as given.
- isEmpty() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Fails if the subject is not empty.
- isEmpty() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map is not empty.
- isEmpty() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string is not equal to the zero-length "empty string." Wrapper over
StringSubject.isEmpty()
. - isEqualTo(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.BigDecimalSubject
- isEqualTo(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
- isEqualTo(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
- isEqualTo(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
- isEqualTo(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is not equal to the given object.
- isEqualTo(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject.CaseInsensitiveStringComparison
-
Fails if the subject is not equal to the given sequence (while ignoring case).
- isEqualToIgnoringScale(long) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.BigDecimalSubject
-
Fails if the subject's value is not equal to the value of the BigDecimal created from the expected long.
- isEqualToIgnoringScale(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.BigDecimalSubject
-
Fails if the subject's value is not equal to the value of the BigDecimal created from the expected string.
- isEqualToIgnoringScale(BigDecimal) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.BigDecimalSubject
-
Fails if the subject's value is not equal to the value of the given BigDecimal.
- isEquivalentAccordingToCompareTo(BigDecimal) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.BigDecimalSubject
- isEquivalentAccordingToCompareTo(T) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Checks that the subject is equivalent to
other
according toComparable.compareTo(T)
. - isFalse() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.BooleanSubject
-
Fails if the subject is true or null.
- isFinite() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Asserts that the subject is finite.
- isGreaterThan(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Checks that the subject is greater than
other
. - isGreaterThan(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.LongSubject
-
Checks that the subject is greater than
other
. - isGreaterThan(T) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Checks that the subject is greater than
other
. - isIn(Range<T>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Checks that the subject is in range.
- isIn(Iterable<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails unless the subject is equal to any element in the given iterable.
- isInOrder() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Fails if the iterable is not ordered, according to the natural ordering of its elements.
- isInOrder(Comparator<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Fails if the iterable is not ordered, according to the given comparator.
- isInstanceOf(Class<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is not an instance of the given class.
- isInStrictOrder() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Fails if the iterable is not strictly ordered, according to the natural ordering of its elements.
- isInStrictOrder(Comparator<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Fails if the iterable is not strictly ordered, according to the given comparator.
- isLessThan(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Checks that the subject is less than
other
. - isLessThan(int) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.LongSubject
-
Checks that the subject is less than
other
. - isLessThan(T) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Checks that the subject is less than
other
. - isNaN() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Asserts that the subject is
Double.NaN
. - isNegativeInfinity() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Asserts that the subject is
Double.NEGATIVE_INFINITY
. - isNoneOf(Object, Object, Object...) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is equal to any of the given elements.
- isNonZero() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Asserts that the subject is a non-null value other than zero.
- isNotEmpty() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Fails if the subject is empty.
- isNotEmpty() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Fails if the map is empty.
- isNotEmpty() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string is equal to the zero-length "empty string." Wrapper over
StringSubject.isNotEmpty()
. - isNotEqualTo(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
- isNotEqualTo(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is equal to the given object.
- isNotEqualTo(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject.CaseInsensitiveStringComparison
-
Fails if the subject is equal to the given string (while ignoring case).
- isNotIn(Range<T>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.ComparableSubject
-
Checks that the subject is not in range.
- isNotIn(Iterable<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is equal to any element in the given iterable.
- isNotInstanceOf(Class<?>) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is an instance of the given class.
- isNotNaN() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Asserts that the subject is a non-null value other than
Double.NaN
. - isNotNull() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is null.
- isNotSameInstanceAs(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is the same instance as the given object.
- isNull() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is not null.
- isPositiveInfinity() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Asserts that the subject is
Double.POSITIVE_INFINITY
. - isSameInstanceAs(Object) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Fails if the subject is not the same instance as the given object.
- isTrue() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.BooleanSubject
-
Fails if the subject is false or null.
- isZero() - Method in class com.qaitsolutions.pframe.core.assertion.subjects.DoubleSubject
-
Asserts that the subject is zero.
- IterableSubject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
IterableSubject
. - IterableSubject(Iterable<?>, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Constructor for regular assertions.
- IterableSubject(Iterable<?>, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.IterableSubject
-
Constructor for soft assertions.
L
- log() - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Provides access to current log.
- log(String) - Method in interface com.qaitsolutions.pframe.core.logging.ConsoleLog
-
Prints to console a specific text in a specific color, after which the color is reset.
- Log - Class in com.qaitsolutions.pframe.core.logging
-
Framework central log that incorporates extent logging, console logging, log4j logging.
- Log() - Constructor for class com.qaitsolutions.pframe.core.logging.Log
- LongSubject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
LongSubject
. - LongSubject(Long, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.LongSubject
-
Constructor for regular assertions.
- LongSubject(Long, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.LongSubject
-
Constructor for soft assertions.
M
- MAGENTA - Enum constant in enum class com.qaitsolutions.pframe.core.logging.ConsoleLog.AnsiColor
- MAGENTA - Static variable in interface com.qaitsolutions.pframe.core.logging.ConsoleLog
- MapSubject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
MapSubject
- MapSubject(Map<?, ?>, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Constructor for regular assertions.
- MapSubject(Map<?, ?>, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.MapSubject
-
Constructor for soft assertions.
- matches(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string does not match the given regex.
- matches(Pattern) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string does not match the given regex.
- message - Variable in class com.qaitsolutions.pframe.core.assertion.subjects.Subject
O
- onConfigurationFailure(ITestResult) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- onConfigurationSkip(ITestResult) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- onConfigurationSuccess(ITestResult) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- onFinish(ISuite) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- onStart(ISuite) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- onTestFailure(ITestResult) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- onTestSkipped(ITestResult) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- onTestStart(ITestResult) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
- onTestSuccess(ITestResult) - Method in class com.qaitsolutions.pframe.core.testng.PFrameListener
P
- pass(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.ExtentLogger
-
Logs in report as passed section.
- pass(String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs pass level messages.
- pass(String, Object...) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Convenience method for
Log.pass(String)
with addedString.format(String, Object...)
functionality. - PFrameListener - Class in com.qaitsolutions.pframe.core.testng
-
TestNg implementation of listener that will be used to configure the test execution and reporting.
- PFrameListener() - Constructor for class com.qaitsolutions.pframe.core.testng.PFrameListener
- process(String, ErrorTracker, Throwable) - Static method in class com.qaitsolutions.pframe.core.assertion.FailProcessing
-
Takes data from the assertion and either throws the proper error or adds it tracker.
- PropertiesUtil - Class in com.qaitsolutions.pframe.core.utils
-
Class handles the reading of properties files in a safe way.
- PropertiesUtil() - Constructor for class com.qaitsolutions.pframe.core.utils.PropertiesUtil
R
- read(String) - Static method in class com.qaitsolutions.pframe.core.utils.PropertiesUtil
-
Reads a properties files and transforms it into a readable object.
- RED - Enum constant in enum class com.qaitsolutions.pframe.core.logging.ConsoleLog.AnsiColor
- RED - Static variable in interface com.qaitsolutions.pframe.core.logging.ConsoleLog
- renameCurrentNode(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Renames the current node in Extent Reports.
- renameCurrentTest(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.Reporting
-
Renames the current test in Extent Reports.
- Reporting - Class in com.qaitsolutions.pframe.core.extent_reporting
-
Handles the logic of the ExtentReport in a user-friendly manner.
- Reporting() - Constructor for class com.qaitsolutions.pframe.core.extent_reporting.Reporting
- RESET_COLOR - Enum constant in enum class com.qaitsolutions.pframe.core.logging.ConsoleLog.AnsiColor
S
- skip(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.ExtentLogger
-
Logs in report as passed section.
- skip(String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs skip level messages.
- skip(String, Object...) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Convenience method for
Log.skip(String)
with addedString.format(String, Object...)
functionality. - SoftAssertions - Class in com.qaitsolutions.pframe.core.assertion
-
SoftAssertion implementation over
Truth
. - SoftAssertions() - Constructor for class com.qaitsolutions.pframe.core.assertion.SoftAssertions
- softFail() - Method in class com.qaitsolutions.pframe.core.assertion.SoftAssertions
-
Will add a fail (error) in the error list but will not fail until
SoftAssertions.assertAll()
method is used. - startsWith(String) - Method in class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Fails if the string does not start with the given string.
- StringSubject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
StringSubject
. - StringSubject(String, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Constructor for regular assertions.
- StringSubject(String, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.StringSubject
-
Constructor for soft assertions.
- StringSubject.CaseInsensitiveStringComparison - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
StringSubject.CaseInsensitiveStringComparison
- Subject - Class in com.qaitsolutions.pframe.core.assertion.subjects
-
Wrapper over
Subject
. - Subject(Object, String) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Constructor for regular assertions.
- Subject(Object, String, ErrorTracker) - Constructor for class com.qaitsolutions.pframe.core.assertion.subjects.Subject
-
Constructor for soft assertions.
T
V
- valueOf(String) - Static method in enum class com.qaitsolutions.pframe.core.logging.ConsoleLog.AnsiColor
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.qaitsolutions.pframe.core.logging.ConsoleLog.AnsiColor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VALUES - Static variable in class com.qaitsolutions.pframe.core.config.Config
W
- warn(String) - Static method in class com.qaitsolutions.pframe.core.logging.FileLog
-
Logs a message at warn level.
- warn(String) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs warning level messages.
- warn(String, Throwable) - Static method in class com.qaitsolutions.pframe.core.logging.FileLog
-
Logs a message at warn level with full stack trace.
- warn(String, Throwable) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Logs warning level messages.
- warn(String, Object...) - Static method in class com.qaitsolutions.pframe.core.logging.Log
-
Convenience method for
Log.warn(String)
with addedString.format(String, Object...)
functionality. - warning(String) - Method in class com.qaitsolutions.pframe.core.extent_reporting.ExtentLogger
-
Logs in report as warning section.
- write(Properties, String, String) - Static method in class com.qaitsolutions.pframe.core.utils.PropertiesUtil
-
Writes an
Properties
object to a properties file.
Y
- YELLOW - Enum constant in enum class com.qaitsolutions.pframe.core.logging.ConsoleLog.AnsiColor
- YELLOW - Static variable in interface com.qaitsolutions.pframe.core.logging.ConsoleLog
All Classes and Interfaces|All Packages|Serialized Form