A B C D E F G H I J K L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acceptSeleniumAlert() - Method in class com.privalia.qa.specs.CommonG
-
Accepts any existing alert message in the current selenium context
- addIgnoreTagPointcutScenario(EventBus) - Method in class com.privalia.qa.aspects.IgnoreTagAspect
- addSsoToken(HashMap<String, String>, String[]) - Method in class com.privalia.qa.specs.CommonG
-
Add sso token list.
- addTestSourceReadEvent(String, TestSourceRead) - Method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- afterGClass() - Method in class com.privalia.qa.utils.BaseGTest
-
Method executed before a class.
- afterGMethod(Method) - Method in class com.privalia.qa.utils.BaseGTest
-
Method executed before method.
- afterGSuite(ITestContext) - Method in class com.privalia.qa.utils.BaseGTest
-
Method executed after a suite.
- aMongoDataBaseContainsaTable(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Checks if a MongoDB database contains a table.
- AnsiFormats - Class in com.privalia.qa.cucumber.reporter
- AnsiFormats() - Constructor for class com.privalia.qa.cucumber.reporter.AnsiFormats
- AppiumSetup() - Method in class com.privalia.qa.specs.HookGSpec
-
If the feature has the @mobile annotation, creates a new Appium driver before each scenario
- apply(WebDriver) - Method in class com.privalia.qa.utils.ElementCountByMethod
- aroundAddIgnoreTagPointcut(ProceedingJoinPoint, EventBus) - Method in class com.privalia.qa.aspects.IgnoreTagAspect
- aroundAddLoopTagPointcutScenario(ProceedingJoinPoint, Resource) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
-
Around add loop tag pointcut scenario string.
- aroundExceptionCalls(ProceedingJoinPoint) - Method in class com.privalia.qa.aspects.SeleniumAspect
-
If an exception has thrown by selenium, this methods save a screen capture.
- aroundLogAssertJFailurePointcut(ProceedingJoinPoint) - Method in class com.privalia.qa.aspects.AssertJAspect
- aroundReplacementArguments(JoinPoint) - Method in class com.privalia.qa.aspects.ReplacementAspect
-
When a step is about to be executed, the Match#getArguments method is called.
- aroundScenarios(JoinPoint, List<Tag>, Location, String, String, String, List<Step>, List<Examples>) - Method in class com.privalia.qa.aspects.ReplacementAspect
-
replaces any variable placeholder in the scenario/Scenario Outline title.
- aroundScenarios(ProceedingJoinPoint, List<Tag>, Location, String, String, String, List<Step>, List<Examples>) - Method in class com.privalia.qa.aspects.RunOnTagAspect
-
Allows conditional scenario execution.
- aroundScenariosDefinition(JoinPoint, List<Tag>, Location, String, String, String, List<Step>) - Method in class com.privalia.qa.aspects.ReplacementAspect
- aroundScenariosDefinition(ProceedingJoinPoint, List<Tag>, Location, String, String, String, List<Step>) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- aroundScenariosOutlineDefinition(JoinPoint, List<Tag>, Location, String, String, String, List<Step>, List<Examples>) - Method in class com.privalia.qa.aspects.ReplacementAspect
- aroundScenariosOutlineDefinition(ProceedingJoinPoint, List<Tag>, Location, String, String, String, List<Step>, List<Examples>) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- ArrayListConverter - Class in com.privalia.qa.cucumber.converter
- ArrayListConverter() - Constructor for class com.privalia.qa.cucumber.converter.ArrayListConverter
- assertCommandExistsOnTimeOut(Integer, Integer, String, String) - Method in class com.privalia.qa.specs.SshGSpec
-
Checks if
expectedCount
element is found, whithin atimeout
and with a locationmethod
. - assertExceptionNotThrown(String, String, String, String, String) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Checks if an exception has been thrown.
- Assertions - Class in com.privalia.qa.assertions
- Assertions() - Constructor for class com.privalia.qa.assertions.Assertions
- AssertJAspect - Class in com.privalia.qa.aspects
-
This aspect provides a more detailed stacktrace in case of an Assertion error and prints other useful logging information
- AssertJAspect() - Constructor for class com.privalia.qa.aspects.AssertJAspect
- assertKeyspaceOnCassandraExists(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Checks if a keyspaces exists in Cassandra.
- assertResponseMessage(String) - Method in class com.privalia.qa.specs.RestSpec
-
Verifies if the response body contains an specific string
- assertResponseStatusLength(Integer, String) - Method in class com.privalia.qa.specs.RestSpec
-
Verifies the status response (HTTP response code) of a rest request.
- assertRowNumberOfTableOnCassandraKeyspace(String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Checks the number of rows in a cassandra table.
- assertSeleniumHasAttributeValue(Integer, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Verifies that a webelement previously found has
attribute
withvalue
(as a regexp) - assertSeleniumIsDisplayed(Integer, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Verifies that a webelement previously found
isDisplayed
- assertSeleniumIsEnabled(Integer, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Verifies that a webelement previously found
isEnabled
- assertSeleniumIsSelected(Integer, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Verifies that a webelement previously found
isSelected
- assertSeleniumNElementExists(String, Integer, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Checks if
expectedCount
webelements are found, with a locationmethod
. - assertSeleniumNElementExistsOnTimeOut(Integer, Integer, Integer, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Checks if
expectedCount
webelements are found, whithin atimeout
and with a locationmethod
. - assertSeleniumTextInSource(String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Checks if a text exists in the source of an already loaded URL.
- assertSeleniumTextOnElementPresent(Integer, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Verifies that a webelement previously found has
text
as text - assertTableExistsOnCassandraKeyspace(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Checks if a cassandra keyspace contains a table.
- assertThat(CommonG, boolean) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(CommonG, boolean) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a boolean.
- assertThat(CommonG, PreviousWebElements) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(CommonG, PreviousWebElements) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a PreviousWebElements.
- assertThat(CommonG, String) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(CommonG, String) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a String.
- assertThat(CommonG, List<WebElement>) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(CommonG, List<WebElement>) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a selenium list of WebElements.
- assertThat(CommonG, Alert) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(CommonG, WebDriver) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(CommonG, WebDriver) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a selenium WebDriver.
- assertThat(CommonG, WebElement) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(CommonG, WebElement) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a selenium WebElement.
- assertThat(PreviousWebElements) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(DataTable, ArrayList<DBObject>) - Static method in class com.privalia.qa.assertions.Assertions
- assertThat(ArrayList<DBObject>) - Static method in class com.privalia.qa.assertions.DBObjectsAssert
- assertThat(List<WebElement>) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a selenium a list of WebElements.
- assertThat(WebDriver) - Static method in class com.privalia.qa.assertions.Assertions
-
Check if two WebDrivers are equals.
- assertThat(WebDriver) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a selenium WebDriver.
- assertThat(WebElement) - Static method in class com.privalia.qa.assertions.Assertions
-
Check if two WebElements are equals.
- assertThat(WebElement) - Static method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks a selenium WebElement.
- assertValuesOfTable(String, String, DataTable) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Checks if a cassandra table contains the values of a DataTable.
- assertValuesOfTableMongo(String, String, DataTable) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Checks the values of a MongoDB table.
- availableBrowsers(ITestContext, Constructor<?>) - Static method in class com.privalia.qa.data.BrowsersDataProvider
-
Get the browsers available in a selenium grid.
- availableBrowsersCallPointcut(ITestContext, Constructor<?>) - Method in class com.privalia.qa.aspects.BrowsersDataProviderAspect
- availableBrowsersCalls(ProceedingJoinPoint, ITestContext, Constructor<?>) - Method in class com.privalia.qa.aspects.BrowsersDataProviderAspect
-
If a System property with FORCE_BROWSER exists then Methods in BrowsersDataProvider will return its value.
- availableIOSBrowsers(ITestContext, Constructor<?>) - Static method in class com.privalia.qa.data.BrowsersDataProvider
-
Get the browsers available with "iOS" as platformName in a selenium grid.
- availableMobileBrowsers(ITestContext, Constructor<?>) - Static method in class com.privalia.qa.data.BrowsersDataProvider
-
Get the browsers available with "Android" or "iOS" as platformName in a selenium grid.
- availableUniqueBrowsers(ITestContext, Constructor<?>) - Static method in class com.privalia.qa.data.BrowsersDataProvider
-
Get unique browsers available in a selenium grid.
- avroRecords - Variable in class com.privalia.qa.utils.KafkaUtils
B
- BaseGSpec - Class in com.privalia.qa.specs
-
Base class for all classes that contain steps definitions
- BaseGSpec() - Constructor for class com.privalia.qa.specs.BaseGSpec
- BaseGTest - Class in com.privalia.qa.utils
-
This is a custom implementation of
AbstractTestNGCucumberTests
that makes use of the customCucumberRunner
class. - BaseGTest() - Constructor for class com.privalia.qa.utils.BaseGTest
- beforeGClass(ITestContext) - Method in class com.privalia.qa.utils.BaseGTest
-
Method executed before a test class.
- beforeGMethod(Method) - Method in class com.privalia.qa.utils.BaseGTest
-
Method executed after a test method.
- beforeGSuite(ITestContext) - Method in class com.privalia.qa.utils.BaseGTest
-
Method executed before a suite.
- beforeLogStep(ProceedingJoinPoint, String) - Method in class com.privalia.qa.aspects.LogTagAspect
- BigDataGSpec - Class in com.privalia.qa.specs
-
Steps definition for big data functionality
- BigDataGSpec(CommonG) - Constructor for class com.privalia.qa.specs.BigDataGSpec
-
Generic constructor.
- browser - Variable in class com.privalia.qa.utils.BaseGTest
- BrowsersDataProvider - Class in com.privalia.qa.data
-
Handles the connection to a Selenium Grid/Standalone Nodes to all classes with the
Factory
annotation in the constructor - BrowsersDataProvider() - Constructor for class com.privalia.qa.data.BrowsersDataProvider
- BrowsersDataProviderAspect - Class in com.privalia.qa.aspects
-
This Aspect verifies if the maven variable FORCE_BROWSER exists when executing selenium related tests and forces the BrowsersDataProvider class to return only that browser
- BrowsersDataProviderAspect() - Constructor for class com.privalia.qa.aspects.BrowsersDataProviderAspect
- buildCluster() - Method in class com.privalia.qa.utils.CassandraUtils
-
Build a Cassandra cluster.
C
- captureEvidence(WebDriver, String) - Method in class com.privalia.qa.specs.CommonG
-
Capture a snapshot or an evidence in the driver
- captureEvidence(WebDriver, String, String) - Method in class com.privalia.qa.specs.CommonG
-
Capture a snapshot or an evidence in the driver
- CassandraQueryUtils - Class in com.privalia.qa.utils
- CassandraQueryUtils() - Constructor for class com.privalia.qa.utils.CassandraQueryUtils
- CassandraUtil - Enum in com.privalia.qa.utils
-
Singelton class of cassandra utils.
- CassandraUtils - Class in com.privalia.qa.utils
-
Generic utilities for operations over Cassandra.
- CassandraUtils() - Constructor for class com.privalia.qa.utils.CassandraUtils
-
Generic contructor of CassandraUtils.
- checkAck(InputStream) - Method in class com.privalia.qa.utils.RemoteSSHConnection
-
UTILS
- checkCookies(DataTable) - Method in class com.privalia.qa.specs.RestSpec
-
Checks if the cookies in the response matches the specified values
- checkHeaders(DataTable) - Method in class com.privalia.qa.specs.RestSpec
-
Checks if the headers in the response matches the specified values
- checkMessages(String, String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Pools the given topic for messages and checks if any have the given value.
- checkNumberOfPartitions(String, int) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Check that the number of partitions is the expected for the given topic.
- checkParams(String[]) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- checkParams(String, String[]) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- checkShellExitStatus(int) - Method in class com.privalia.qa.specs.SshGSpec
-
Deprecated.Success exit status is directly checked in the "execute remote command" method, so this is not needed anymore.
- checkURL(String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Checks that we are in the URL passed
- checkValue(String, String, String) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Check value stored in environment variable "is|matches|is higher than|is lower than|contains|is different from" to value provided
- checkZnodeExists(String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Read zPath
- checkZnodeNotExist(String) - Method in class com.privalia.qa.specs.BigDataGSpec
- clearCookies() - Method in class com.privalia.qa.specs.RestSpec
-
Clears the cookies set by any previous request.
- clearHeaders() - Method in class com.privalia.qa.specs.RestSpec
-
Clears the headers set by any previous request.
- closeConnection() - Method in class com.privalia.qa.utils.RemoteSSHConnection
-
Close connection
- com.privalia.qa.aspects - package com.privalia.qa.aspects
- com.privalia.qa.assertions - package com.privalia.qa.assertions
- com.privalia.qa.conditions - package com.privalia.qa.conditions
- com.privalia.qa.cucumber.converter - package com.privalia.qa.cucumber.converter
- com.privalia.qa.cucumber.reporter - package com.privalia.qa.cucumber.reporter
- com.privalia.qa.cucumber.testng - package com.privalia.qa.cucumber.testng
- com.privalia.qa.data - package com.privalia.qa.data
- com.privalia.qa.exceptions - package com.privalia.qa.exceptions
- com.privalia.qa.specs - package com.privalia.qa.specs
- com.privalia.qa.utils - package com.privalia.qa.utils
- CommonG - Class in com.privalia.qa.specs
-
Class with common functions used by all the step definition classes
- CommonG() - Constructor for class com.privalia.qa.specs.CommonG
- commonspec - Variable in class com.privalia.qa.specs.BaseGSpec
- compareTable(DataTable) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Verifies the results of a SELECT query against a
DataTable
- Conditions - Enum in com.privalia.qa.conditions
-
Exception list class(Singleton).
- connect() - Method in class com.privalia.qa.utils.CassandraUtils
-
Connect to Cassandra host.
- connect() - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Connect to ES.
- connect() - Method in class com.privalia.qa.utils.KafkaUtils
-
Connect to Kafka.
- connect() - Method in class com.privalia.qa.utils.MongoDBUtils
-
Connect to MongoDB Host.
- connect(String, int, String, String, Boolean, String, String) - Method in class com.privalia.qa.utils.SqlUtils
-
Attempts to establish a connection with the given parameters.
- connect(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Connect to cluster.
- connectDatabase(String, String, String, String, String, String, String) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Attempts to establish a connection with the given parameters.
- connectionStatus() - Method in class com.privalia.qa.utils.SqlUtils
-
Verify the state of the connection
- connectKafka(String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Connect to Kafka.
- connectToElasticSearch(String, String, String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Connect to ElasticSearch using custom parameters
- connectToMongoDBDataBase(String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Connect to DataBase of MongoDB(If it not exists, it will be created).
- connectToZk(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Connect to zookeeper.
- connectZk() - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- containedInMongoDBResult(DataTable) - Method in class com.privalia.qa.assertions.DBObjectsAssert
- contains(CharSequence...) - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks if a webDriver or WebElement has values.
- copyFrom(String, String) - Method in class com.privalia.qa.utils.RemoteSSHConnection
-
Copy remotePath to localPath using the session created
- copyFromRemoteFile(String, String) - Method in class com.privalia.qa.specs.SshGSpec
-
Copies file/s from remote system into local system
- copyTo(String, String) - Method in class com.privalia.qa.utils.RemoteSSHConnection
-
Copy localPath to remotePath using the session created
- copyToRemoteFile(String, String) - Method in class com.privalia.qa.specs.SshGSpec
-
Copies file/s from local system to remote system
- createBasicMapping(String, String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Create a basic Index.
- createCassandraKeyspace(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Create a Cassandra Keyspace.
- createCustomMapping(String, String, String, String, String, String, DataTable) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Create a Cassandra index.
- createElasticsearchIndex(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Create an elasticsearch index.
- createFile(String, String, String, DataTable) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Create a JSON in resources directory with given name, so for using it you've to reference it as: $(pwd)/target/test-classes/fileName
- createGenericRecord(String, String, String) - Method in class com.privalia.qa.utils.KafkaUtils
-
given a json representation of the data, creates a generic record with the given schema
- createGenericRecord(String, Map<String, String>, String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Creates a
GenericRecord
to be sent through kafka using avro serializers. - createKafkaTopic(String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Create a Kafka topic.
- createKeyspace(String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Create a keyspace in Cassandra.
- createKeyspaceQuery(Boolean, String, String, String) - Method in class com.privalia.qa.utils.CassandraQueryUtils
- createKeyspaceReplication(Map<String, String>) - Method in class com.privalia.qa.utils.CassandraQueryUtils
- createMapping(String, String, ArrayList<XContentBuilder>) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Create a mapping over an index
- createMongoDBCollection(String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Create a MongoDB collection without options.
- createMongoDBCollection(String, DataTable) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Create a MongoDB collection.
- createMongoDBDataBase(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Create a MongoDB dataBase.
- createSingleIndex(String) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Create an ES Index.
- createTable(String, Map<String, String>, ArrayList<String>) - Method in class com.privalia.qa.utils.CassandraQueryUtils
- createTableWithData(String, String, DataTable) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Create table
- createTableWithData(String, Map<String, String>, ArrayList<String>) - Method in class com.privalia.qa.utils.CassandraUtils
-
Create a table in Cassandra.
- createTopic(String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Create a Kafka topic.
- createZNode(String, String, String, boolean) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Create zPath and domcument
- CucumberRunner - Class in com.privalia.qa.cucumber.testng
-
This is a custom implementation of
TestNGCucumberRunner
for running feature files using TestNG. - CucumberRunner(Class) - Constructor for class com.privalia.qa.cucumber.testng.CucumberRunner
-
Bootstrap the cucumber runtime
D
- DBException - Exception in com.privalia.qa.exceptions
- DBException() - Constructor for exception com.privalia.qa.exceptions.DBException
- DBException(String) - Constructor for exception com.privalia.qa.exceptions.DBException
- DBException(String, Throwable) - Constructor for exception com.privalia.qa.exceptions.DBException
- DBException(Throwable) - Constructor for exception com.privalia.qa.exceptions.DBException
- DBObjectsAssert - Class in com.privalia.qa.assertions
- DBObjectsAssert(ArrayList<DBObject>) - Constructor for class com.privalia.qa.assertions.DBObjectsAssert
- DEFAULT_LESS_LENGTH - Static variable in class com.privalia.qa.data.BrowsersDataProvider
- DEFAULT_RADIX - Static variable in class com.privalia.qa.cucumber.converter.NullableStringConverter
- DEFAULT_TIMEOUT - Static variable in class com.privalia.qa.data.BrowsersDataProvider
- DEFAULT_TIMEOUT - Static variable in class com.privalia.qa.specs.UtilsGSpec
- delete(String) - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- deleteDocument(String, String, String) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Deletes a document by its id.
- deleteKafkaTopic(String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Delete a Kafka topic.
- deleteTopic(String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Delete a Kafka topic.
- delimP - Static variable in class com.privalia.qa.utils.ScriptRunner
-
regex to detect delimiter.
- disconnect() - Method in class com.privalia.qa.utils.CassandraUtils
-
Disconnect from Cassandra host.
- disconnect() - Method in class com.privalia.qa.utils.MongoDBUtils
-
Disconnect of MongoDB host.
- disconnect() - Method in class com.privalia.qa.utils.SqlUtils
-
Closes the connection to the database
- disconnect() - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- disconnectDatabase() - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Close the Database connection
- disconnectFromZk() - Method in class com.privalia.qa.specs.BigDataGSpec
-
Disconnect from zookeeper.
- dismissSeleniumAlert() - Method in class com.privalia.qa.specs.CommonG
-
Dismiss any existing alert message in the current selenium context
- doHash(String) - Static method in class com.privalia.qa.utils.HashUtils
-
doHash.
- doReplaceKeys(String, String[]) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- driver - Variable in class com.privalia.qa.specs.HookGSpec
- dropAllDataMongoDBCollection(String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Drop all the data associated to a MongoDB Collection.
- dropAllIndexes() - Method in class com.privalia.qa.utils.ElasticSearchUtils
- dropCassandraKeyspace(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Drop a Cassandra Keyspace.
- dropElasticsearchIndex(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Drop an specific index of ElasticSearch.
- dropElasticsearchIndexes() - Method in class com.privalia.qa.specs.BigDataGSpec
-
Drop all the ElasticSearch indexes.
- dropKeyspace(boolean, String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Drop a keyspace in Cassandra.
- dropKeyspace(String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Drop a keyspace in Cassandra.
- dropKeyspaceQuery(Boolean, String) - Method in class com.privalia.qa.utils.CassandraQueryUtils
- dropMongoDBCollection(String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Drop a MongoDBCollection.
- dropMongoDBDataBase(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Drop MongoDB Database.
- dropMongoDBDataBase(String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Drop a MongoDB DataBase.
- dropSingleIndex(String) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Drop an ES Index
- dropTable(String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Drop a table of a keyspace.
- dropTableQuery(Boolean, String) - Method in class com.privalia.qa.utils.CassandraQueryUtils
- dropTableWithData(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Drop table
E
- elasticSearchIndexContainsDocument(String, String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Check that an elasticsearch index contains a specific document
- elasticSearchIndexDoesNotExist(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Check that the ElasticSearch index does not exist.
- elasticSearchIndexExist(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Check that the ElasticSearch index exists.
- elasticSearchQueryWithFilter(String, String, String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Execute query with filter over elasticsearch
- ElasticSearchUtil - Enum in com.privalia.qa.utils
- ElasticSearchUtils - Class in com.privalia.qa.utils
- ElasticSearchUtils() - Constructor for class com.privalia.qa.utils.ElasticSearchUtils
-
Default constructor.
- ElementCountByMethod - Class in com.privalia.qa.utils
-
Custom ExpectedCondition to evaluate if the amount of web elements in a page match the expected count.
- ElementCountByMethod(String, String, Integer) - Constructor for class com.privalia.qa.utils.ElementCountByMethod
- elementDeSelect(Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Choose no option from a select webelement found previously
- elementSelect(String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Choose an @{code option} from a select webelement found previously
- elementsWhereEqual(List<Map<String, String>>, String, String) - Method in class com.privalia.qa.utils.FileParserUtils
-
Returns the amount of records in which the specified column has the given value
- elementWhereNotEqual(List<Map<String, String>>, String, String) - Method in class com.privalia.qa.utils.FileParserUtils
-
Returns tue amount of records where the value of the specified column is different to the given value
- ENVCONDITION - com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
- ES_DEFAULT_CLUSTER_NAME - Static variable in class com.privalia.qa.specs.BigDataGSpec
- ES_DEFAULT_NATIVE_PORT - Static variable in class com.privalia.qa.specs.BigDataGSpec
- evaluateJSONElementOperation(Object, String, String) - Method in class com.privalia.qa.specs.CommonG
-
Evaluate an expression.
- evaluateXml(String, String) - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Given an String representing an XML object, returns the value of the given variable
- exampleLines(String, String[], List<String>, int) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- exceptionCallPointcut() - Method in class com.privalia.qa.aspects.SeleniumAspect
- ExceptionList - Enum in com.privalia.qa.utils
-
Exception list class(Singleton).
- executeCommand(String, String, Integer, String, String) - Method in class com.privalia.qa.specs.SshGSpec
-
Executes the command specified in remote system
- executeLocalCommand(String, Integer, String) - Method in class com.privalia.qa.specs.SshGSpec
-
Executes the command specified in local system
- executeMethod(String, String) - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Executes the given method in the remote webservice
- executeMethodWithParams(String, String, Map<String, String>) - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Alter the given XML request with the given values in the Map before executing the given method
- executeQueriesList(List<String>) - Method in class com.privalia.qa.utils.CassandraUtils
-
Execute a list of queries over Cassandra.
- executeQuery(Reader) - Method in class com.privalia.qa.utils.SqlUtils
-
Executes the given SQL statement, which may return multiple results If the SQL statement returned a ResultSet, it is converted to a List of List and stored in an accessible variable in case it needs to be used
- executeQuery(String) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Executes the given SQL statement, which may be an INSERT, UPDATE, or DELETE statement or an SQL statement that returns nothing, such as an SQL DDL statement.
- executeQuery(String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Execute a query over Cassandra.
- executeQueryFromFile(String) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Executes an SQL from a file.
- executeSelectQuery(String) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Executes the given SQL statement, which returns a single ResultSet object.
- executeSelectQuery(String) - Method in class com.privalia.qa.utils.SqlUtils
-
Executes the given SQL statement, which returns a single ResultSet object.
- executeUpdateQuery(String) - Method in class com.privalia.qa.utils.SqlUtils
-
Executes the given SQL statement, which may be an INSERT, UPDATE, or DELETE statement or an SQL statement that returns nothing, such as an SQL DDL statement.
- exists(String) - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- existsKeyspace(String, boolean) - Method in class com.privalia.qa.utils.CassandraUtils
-
Checks if a keyspace exists in Cassandra.
- existsMapping(String, String) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Check if a mapping exists in an expecific index.
- existsTable(String, String, boolean) - Method in class com.privalia.qa.utils.CassandraUtils
-
Checks if a keyspace contains an especific table.
- exitsCollections(String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Checks if a collection exists in a MongoDB dataBase.
- exitsMongoDbDataBase(String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Checks if a database exists in MongoDB.
- extract(WebElement) - Method in class com.privalia.qa.assertions.SeleniumExtractor
F
- featureBuilderRead(Resource) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- featureStepConverter(String, String, String[]) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- FileParserGSpec - Class in com.privalia.qa.specs
-
Steps definitions for handling and parsing text files.
- FileParserGSpec(CommonG) - Constructor for class com.privalia.qa.specs.FileParserGSpec
- FileParserUtil - Enum in com.privalia.qa.utils
-
Singleton class to retrieve
FileParserUtils
instance - FileParserUtils - Class in com.privalia.qa.utils
-
Base class for parsing text files based on XML definitions This class makes use of Utah Parser: A Java library for parsing semi-structured text files https://github.com/sonalake/utah-parser/tree/master/src/test/java/com/sonalake/utah
- FileParserUtils() - Constructor for class com.privalia.qa.utils.FileParserUtils
-
Generic constructor
- filterRecordThatMatches(List<Map<String, String>>, String, String, String) - Method in class com.privalia.qa.utils.FileParserUtils
-
Returns a list of records that matches the expected condition.
- findShellOutput(String) - Method in class com.privalia.qa.specs.SshGSpec
-
Check the existence of a text at a command output
- finish() - Method in class com.privalia.qa.cucumber.testng.CucumberRunner
G
- generateRequest(String, boolean, String, String, String, String) - Method in class com.privalia.qa.specs.CommonG
-
Deprecated.
- generateRequest(String, boolean, String, String, String, String, String) - Method in class com.privalia.qa.specs.CommonG
-
Generates the request based on the type of request, the end point, the data and type passed
- generateRequest(String, boolean, String, String, String, String, String, String) - Method in class com.privalia.qa.specs.CommonG
-
Deprecated.
- generateRestRequest(String, String) - Method in class com.privalia.qa.specs.CommonG
-
Generates a request to a REST endpoint
- get(String) - Method in class com.privalia.qa.cucumber.reporter.AnsiFormats
- get(String) - Method in class com.privalia.qa.cucumber.reporter.MonochromeFormats
- get(String) - Static method in class com.privalia.qa.utils.ThreadProperty
-
Get a property shared.
- getAstNode(String, int) - Method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- getAvailableSoapActions() - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Returns a Map with all the posible SOAP operations for the the first service found in the WSDL file
- getAvroRecords() - Method in class com.privalia.qa.utils.KafkaUtils
- getBackgroundForTestCase(TestSourcesModel.AstNode) - Static method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- getBrowserName() - Method in class com.privalia.qa.specs.CommonG
-
Get the browser name.
- getCassandraClient() - Method in class com.privalia.qa.specs.CommonG
-
Get the cassandra utils.
- getCassandraResults() - Method in class com.privalia.qa.specs.CommonG
- getCassandraUtils() - Method in enum com.privalia.qa.utils.CassandraUtil
- getClient() - Method in class com.privalia.qa.specs.CommonG
- getClient() - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Get ES client(Connected previously).
- getCommandExitStatus() - Method in class com.privalia.qa.specs.CommonG
- getCommandResult() - Method in class com.privalia.qa.specs.CommonG
- getCommonspec() - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Returns the commonspec
- getCommonSpec() - Method in class com.privalia.qa.specs.BaseGSpec
-
Constructor BaseGSpec.
- getCondition() - Method in class com.privalia.qa.conditions.TextFieldCondition
- getCookies() - Method in class com.privalia.qa.specs.CommonG
- getCookies() - Method in class com.privalia.qa.utils.HttpResponse
- getCSVResults() - Method in class com.privalia.qa.specs.CommonG
- getDriver() - Method in class com.privalia.qa.specs.CommonG
-
Get the remoteWebDriver.
- getElasticSearchClient() - Method in class com.privalia.qa.specs.CommonG
-
Get the elasticSearch utils.
- getElasticsearchResults() - Method in class com.privalia.qa.specs.CommonG
- getElasticSearchUtils() - Method in enum com.privalia.qa.utils.ElasticSearchUtil
- getExceptions() - Method in class com.privalia.qa.specs.CommonG
-
Get the exception list.
- getExceptions() - Method in enum com.privalia.qa.utils.ExceptionList
- getExitStatus() - Method in class com.privalia.qa.utils.RemoteSSHConnection
- getFeature(String) - Method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- getFeatureName(String) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- getFileParserUtil() - Method in class com.privalia.qa.specs.CommonG
-
Get the File Parser class
- getFileParserUtils() - Method in enum com.privalia.qa.utils.FileParserUtil
- getFinalResultSet() - Method in class com.privalia.qa.utils.ScriptRunner
- getFirstRecordThatMatches(List<Map<String, String>>, String, String) - Method in class com.privalia.qa.utils.FileParserUtils
-
Returns the first record that matches the given condition
- getHeaders() - Method in class com.privalia.qa.specs.CommonG
- getJSONPathString(String, String, String) - Method in class com.privalia.qa.specs.CommonG
-
Parse jsonpath expression from a given string.
- getKafkaUtils() - Method in class com.privalia.qa.specs.CommonG
-
Get the Kafka utils.
- getKafkaUtils() - Method in enum com.privalia.qa.utils.KafkaUtil
- getKeyspaces() - Method in class com.privalia.qa.utils.CassandraUtils
-
Get a list of the existing keyspaces in Cassandra.
- getKeywordFromSource(String, int) - Method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- getLastFileParseRecord() - Method in class com.privalia.qa.specs.CommonG
-
Returns the last selected record
- getLastFileParseResult() - Method in class com.privalia.qa.specs.CommonG
-
Returns the records resulted from the last operation when decoding/parsing files
- getLastSoapResponse() - Method in class com.privalia.qa.specs.CommonG
-
Returns the las response from a remote method execution in the webservice as an XML String
- getLogger() - Method in class com.privalia.qa.specs.CommonG
-
Get the common logger.
- getMetadata() - Method in class com.privalia.qa.utils.CassandraUtils
-
Get the metadata of the Cassandra Cluster.
- getMongoDBClient() - Method in class com.privalia.qa.specs.CommonG
-
Get the MongoDB utils.
- getMongoDBCollection(String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Get a MongoDB collection.
- getMongoDBCollections() - Method in class com.privalia.qa.utils.MongoDBUtils
-
Get a list of collections of a database.
- getMongoDBUtils() - Method in enum com.privalia.qa.utils.MongoDBUtil
- getMongoResults() - Method in class com.privalia.qa.specs.CommonG
- getParams(String) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- getParams(String) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- getParentWindow() - Method in class com.privalia.qa.specs.CommonG
-
Returns the parentWindow
- getPartitions(String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Returns the number of partitions for the given topic
- getPortName() - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Returns the Port name for the first service found in the WSDL file
- getPreviousSqlResult() - Method in class com.privalia.qa.specs.CommonG
-
Get the SQL result from the last step
- getPreviousSqlResult() - Method in class com.privalia.qa.utils.SqlUtils
- getPreviousWebElements() - Method in class com.privalia.qa.specs.CommonG
-
Returns the previous webElement
- getPreviousWebElements() - Method in class com.privalia.qa.utils.PreviousWebElements
- getPropsConsumer() - Method in class com.privalia.qa.utils.KafkaUtils
- getRawLineString(TestCase, int) - Method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- getRecordAtPosition(List<Map<String, String>>, int) - Method in class com.privalia.qa.utils.FileParserUtils
-
Returns a single record at the specified position
- getRemoteSSHConnection() - Method in class com.privalia.qa.specs.CommonG
-
Get the common remote connection.
- getResponse() - Method in class com.privalia.qa.specs.CommonG
- getResponse() - Method in class com.privalia.qa.utils.HttpResponse
- getRestCookies() - Method in class com.privalia.qa.specs.CommonG
-
Set the values of the cookies used when performing rest requests
- getRestHost() - Method in class com.privalia.qa.specs.CommonG
-
Get the common REST host.
- getRestPort() - Method in class com.privalia.qa.specs.CommonG
-
Get the common REST port.
- getRestProtocol() - Method in class com.privalia.qa.specs.CommonG
- getRestRequest() - Method in class com.privalia.qa.specs.CommonG
-
Returns the Rest Request object (restassured)
- getRestResponse() - Method in class com.privalia.qa.specs.CommonG
-
Get the previos Rest response (restassured)
- getResult() - Method in class com.privalia.qa.utils.RemoteSSHConnection
- getResultsType() - Method in class com.privalia.qa.specs.CommonG
- getScenarioDefinition(TestSourcesModel.AstNode) - Static method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- getScenarioDefinition(String, int) - Method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- getScenName(String) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- getSchemaFromRegistry(String, String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Fetch version of the schema registered under the specified subject in the registry
- getSchemaRegistryUrl() - Method in class com.privalia.qa.utils.KafkaUtils
- getSeleniumAlert() - Method in class com.privalia.qa.specs.CommonG
- getSeleniumCookies() - Method in class com.privalia.qa.specs.CommonG
- getServiceName() - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Returns name of the first service found in the WSDL description
- getSession() - Method in class com.privalia.qa.utils.CassandraUtils
-
Get the cassandra session.
- getSession() - Method in class com.privalia.qa.utils.RemoteSSHConnection
- getSettings() - Method in class com.privalia.qa.utils.ElasticSearchUtils
- getSoapServiceClient() - Method in class com.privalia.qa.specs.CommonG
-
Get the SOAP Services utils.
- getSoapServiceUtils() - Method in enum com.privalia.qa.utils.SoapServiceUtil
- getSqlClient() - Method in class com.privalia.qa.specs.CommonG
-
Get the SQL utils.
- getSqlUtils() - Method in enum com.privalia.qa.utils.SqlUtil
- getStatusCode() - Method in class com.privalia.qa.utils.HttpResponse
- getTables(String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Get tables of a keyspace.
- getTargetNameSpace() - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Returns Target Namespace
- getTextFieldCondition() - Method in enum com.privalia.qa.conditions.Conditions
- getTextFieldCondition() - Method in class com.privalia.qa.specs.CommonG
-
Get the textFieldCondition list.
- getValueofColumnAtPosition(List<Map<String, String>>, String, int) - Method in class com.privalia.qa.utils.FileParserUtils
-
Get the value of the given column at the given index (starting at 0)
- getWebHost() - Method in class com.privalia.qa.specs.CommonG
-
Get the common WEB host.
- getWebPort() - Method in class com.privalia.qa.specs.CommonG
-
Get the common WEB port.
- getWsdlAddress() - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Gets the address of the remote wsdl
- getZkSecClient() - Method in class com.privalia.qa.specs.CommonG
- getZkUtils() - Method in class com.privalia.qa.utils.KafkaUtils
- getZookeeperSecClient() - Method in class com.privalia.qa.specs.CommonG
-
Get the Zookeeper Sec utils.
- getZookeeperSecUtils() - Method in enum com.privalia.qa.utils.ZookeeperSecUtil
- globalSetup() - Method in class com.privalia.qa.specs.HookGSpec
-
Clean the exception list before each scenario.
H
- hasAtLeast(Integer) - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks if a
List<WebElement>
has at least @size elements. - hasBackground(String, int) - Method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- HashUtils - Class in com.privalia.qa.utils
- hasSize(Integer) - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks if a
List<WebElement>
has size @size. - HookGSpec - Class in com.privalia.qa.specs
-
This class contains functions that are executed before and after each test.
- HookGSpec(CommonG) - Constructor for class com.privalia.qa.specs.HookGSpec
-
Default constructor.
- HttpResponse - Class in com.privalia.qa.utils
- HttpResponse(Integer, String, List<Cookie>) - Constructor for class com.privalia.qa.utils.HttpResponse
-
Constructor of an HttpResponse.
I
- iAcceptTheAlert() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Accepts an alert message previously found
- iAddTheFileToTheRequest(String) - Method in class com.privalia.qa.specs.RestSpec
-
Adds the specified file to the request as a form-params parameter (the request contentType must be changed to 'multipart/form-data')
- iClearTheUrlParametersFromPreviousRequest() - Method in class com.privalia.qa.specs.RestSpec
-
Clears the url query parameters that were configured in a previous step.
- iCloseTheApplication() - Method in class com.privalia.qa.specs.MobileGSpec
-
Close the app which was provided in the capabilities at session creation and quits the session.
- iCloseTheConnectionToKafka() - Method in class com.privalia.qa.specs.KafkaGSpec
-
Close the connection to kafka.
- iConfigureConsumerProperties(DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
A single step for modifying the consumer properties for the rest of the scenario.
- iConfigureProducerProperties(DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
A single step for modifying the producer properties for the rest of the scenario.
- iCreateTheAvroRecordRecord(String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Creates an Avro record from the specified schema.
- iCreateTheAvroRecordRecordUsingVersionOfSubjectRecordFromRegistryWith(String, String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Creates a new Avro record by reading the schema directly from the schema registry for the specified subject and version
- iDismissTheAlert() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Dismiss an alert message previously found
- idleWait(Integer) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Wait seconds.
- iExecuteTheMethodAddBasedOnSchemasAddRequestWith(String, String, String, DataTable) - Method in class com.privalia.qa.specs.SoapServiceGSpec
-
Executes the remote method in the webservice.
- iExecuteTheScriptScriptOnTheElmentOnIndex(String, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Executes a JavaScript function in the current driver.
- iGetTheFirstRecordWithColumnXEqualToY(String, String) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Returns the first records in the set in which the column has the given value
- iGetTheRecordAtPosition(int) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Returns the record at the specified position in the set
- IgnoreTagAspect - Class in com.privalia.qa.aspects
-
Aspect for managing the @ignore annotation on a feature/scenario
- IgnoreTagAspect() - Constructor for class com.privalia.qa.aspects.IgnoreTagAspect
- IgnoreTagAspect.ignoreReasons - Enum in com.privalia.qa.aspects
- IMPLICITLY_WAIT - Static variable in class com.privalia.qa.specs.HookGSpec
- IncludeException - Exception in com.privalia.qa.exceptions
- IncludeException() - Constructor for exception com.privalia.qa.exceptions.IncludeException
- IncludeException(String) - Constructor for exception com.privalia.qa.exceptions.IncludeException
- IncludeException(String, Throwable) - Constructor for exception com.privalia.qa.exceptions.IncludeException
- IncludeException(Throwable) - Constructor for exception com.privalia.qa.exceptions.IncludeException
- indexDocument(String, String, String, XContentBuilder) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Indexes a document.
- indexElasticsearchDocument(String, String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Index a document within a mapping type.
- indexExists(String) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Check if an index exists in ES
- insertData(String, String, DataTable) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Insert Data
- insertData(String, Map<String, Object>) - Method in class com.privalia.qa.utils.CassandraQueryUtils
- insertData(String, Map<String, Object>) - Method in class com.privalia.qa.utils.CassandraUtils
-
Insert data in a keyspace.
- insertDocIntoMongoDBCollection(String, String) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Insert document in a MongoDB Collection.
- insertIntoMongoDBCollection(String, DataTable) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Insert data in a MongoDB Collection.
- insertOnMongoTable(String, String, DataTable) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Insert data in a MongoDB table.
- insertOnMongoTable(String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Insert document in a MongoDB table.
- INSTANCE - com.privalia.qa.conditions.Conditions
- INSTANCE - com.privalia.qa.utils.CassandraUtil
- INSTANCE - com.privalia.qa.utils.ElasticSearchUtil
- INSTANCE - com.privalia.qa.utils.ExceptionList
- INSTANCE - com.privalia.qa.utils.FileParserUtil
- INSTANCE - com.privalia.qa.utils.KafkaUtil
- INSTANCE - com.privalia.qa.utils.MongoDBUtil
- INSTANCE - com.privalia.qa.utils.SoapServiceUtil
- INSTANCE - com.privalia.qa.utils.SqlUtil
- INSTANCE - com.privalia.qa.utils.ZookeeperSecUtil
- iOpenTheApplication() - Method in class com.privalia.qa.specs.MobileGSpec
-
Launches the app, which was provided in the capabilities at session creation, and (re)starts the session.
- iParseTheFileLocatedAtUsingTheTemplateDefinedIn(String, String) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Parse the given file according to the rules described in the XML configuration file The operation returns a list of 'records' (List(Map(String, String))) that is stored internally for further operations
- iRegisterANewVersionOfASchemaUnderTheSubject(String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Generates a POST to the schema register to add a new schema for the given subject
- iRotateTheDeviceToLandscapeMode(String) - Method in class com.privalia.qa.specs.MobileGSpec
-
Changes the device orientation
- iSaveTheValueOfThePropertyHrefOfTheElementInIndexInVariableVAR(String, int, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Saves the given property of the specified webelement (referenced by its index) in the specified variable.
- isBackgroundStep(TestSourcesModel.AstNode) - Static method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- isConnected() - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- iSelectAllRecordsThatMatchTheFollowingCases(DataTable) - Method in class com.privalia.qa.specs.FileParserGSpec
-
From the previous operation, filter all the records from the set that match the conditions given in the datatable.
- iSendTheAvroRecordRecordToTheKafkaTopic(String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Send the previously created Avro record to the given topic.
- isEqualTo(boolean) - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks boolean value.
- isEqualTo(String) - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks boolean value.
- iSetTheFileInSchemasEmptyJsonToTheElementOnIndex(String, int) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Assigns the given file (relative to schemas/) to the web elements in the given index.
- iSetUrlQueryParameters(DataTable) - Method in class com.privalia.qa.specs.RestSpec
-
Specify a custom map of url query parameters to be added to future requests
- isHasResults() - Method in class com.privalia.qa.utils.ScriptRunner
- isNotEqualTo(Object) - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks element not equal
- isNotNull() - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks String is not null.
- isScenarioOutlineScenario(TestSourcesModel.AstNode) - Static method in class com.privalia.qa.cucumber.reporter.TestSourcesModel
- isTextField(Condition<WebElement>) - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks if a WebElement is a TextField.
J
- JaCoCoClient - Class in com.privalia.qa.utils
-
Jacoco client for Server coverages.
- JaCoCoClient() - Constructor for class com.privalia.qa.utils.JaCoCoClient
- JIRATICKET - com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
- JsonUtils - Class in com.privalia.qa.utils
-
Generic utilities for operations with Json and text formats.
- JsonUtils() - Constructor for class com.privalia.qa.utils.JsonUtils
K
- KafkaGSpec - Class in com.privalia.qa.specs
-
Steps definitions for working with Apache Kafka
- KafkaGSpec(CommonG) - Constructor for class com.privalia.qa.specs.KafkaGSpec
-
Instantiates a new Kafka g spec.
- kafkaTopicExist(String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Check that a kafka topic exist
- kafkaTopicNotExist(String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Check that a kafka topic does not exist
- KafkaUtil - Enum in com.privalia.qa.utils
- KafkaUtils - Class in com.privalia.qa.utils
-
Generic utilities for operations over Kafka.
- KafkaUtils() - Constructor for class com.privalia.qa.utils.KafkaUtils
-
Generic contructor of KafkaUtils.
L
- linkText() - Static method in class com.privalia.qa.assertions.SeleniumExtractor
-
Get selenium extractor.
- listTopics() - Method in class com.privalia.qa.utils.KafkaUtils
-
List all Kafka topics.
- loadScript(String) - Static method in class com.privalia.qa.utils.CassandraUtils
-
Load the lines of a CQL script containing one statement per line into a list.
- loadTestData(String, String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Load a
keyspace
in Cassandra using the CQL sentences in the script path. - locateElement(String, String, Integer) - Method in class com.privalia.qa.specs.CommonG
-
Looks for webelements inside a selenium context.
- locateElementWithPooling(int, int, String, String, Integer, String) - Method in class com.privalia.qa.specs.CommonG
-
Similar to
CommonG.locateElement(String, String, Integer)
. - logAssertJFailurePointcut() - Method in class com.privalia.qa.aspects.AssertJAspect
- logStep(String) - Method in class com.privalia.qa.aspects.LogTagAspect
- LogTagAspect - Class in com.privalia.qa.aspects
-
Adds the possibility of printing the comments from the feature files as info level messages when executing.
- LogTagAspect() - Constructor for class com.privalia.qa.aspects.LogTagAspect
- LoopIncludeTagAspect - Class in com.privalia.qa.aspects
-
Aspect for managing the @include, @background and @loop tags.
- LoopIncludeTagAspect() - Constructor for class com.privalia.qa.aspects.LoopIncludeTagAspect
M
- manageTags(List<String>, String) - Method in class com.privalia.qa.aspects.IgnoreTagAspect
- MANUAL - com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
- matches(String) - Method in class com.privalia.qa.assertions.SeleniumAssert
-
Checks string matches value.
- matchesOrContains(String) - Static method in class com.privalia.qa.specs.CommonG
-
Checks if a given string matches a regular expression or contains a string
- matchesSafely(ArrayList<DBObject>, DataTable) - Method in class com.privalia.qa.assertions.DBObjectsAssert
- matchWithExpresion(String, DataTable) - Method in class com.privalia.qa.specs.RestSpec
-
Check if expression defined by JSOPath (http://goessner.net/articles/JsonPath/index.html) match in JSON stored in a environment variable.
- MobileGSpec - Class in com.privalia.qa.specs
-
Step definition for Appium (mobile testing).
- MobileGSpec(CommonG) - Constructor for class com.privalia.qa.specs.MobileGSpec
-
Generic constructor.
- modifyConsumerProperties(String, String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Modify a single property of the producer
- modifyData(String, String, DataTable) - Method in class com.privalia.qa.specs.CommonG
-
Returns the information modified
- modifyDataJson(String, String, DataTable) - Method in class com.privalia.qa.utils.JsonUtils
-
Returns the information modified
- modifyDataString(String, String, DataTable) - Method in class com.privalia.qa.utils.JsonUtils
-
Returns the information modified
- modifyPartitions(int, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Modify partitions in a Kafka topic by increasing the current number of partitions in the topic by the specified number.
- modifyProducerProperties(String, String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Modify a single property of the producer
- modifyTopicPartitioning(String, int) - Method in class com.privalia.qa.utils.KafkaUtils
-
Modify number of partition of a Kafka topic.
- MongoDBUtil - Enum in com.privalia.qa.utils
-
Singelton class of MongoDBUtils.
- MongoDBUtils - Class in com.privalia.qa.utils
-
Generic operations over MongoDB Driver.
- MongoDBUtils() - Constructor for class com.privalia.qa.utils.MongoDBUtils
-
Generic constructor.
- MonochromeFormats - Class in com.privalia.qa.cucumber.reporter
- MonochromeFormats() - Constructor for class com.privalia.qa.cucumber.reporter.MonochromeFormats
- mySchemaRegistryIsRunningAtLocalhost(String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Initializes the remote URL of the schema registry service for all future requests.
N
- node - Variable in class com.privalia.qa.cucumber.reporter.TestSourcesModel.AstNode
- NonReplaceableException - Exception in com.privalia.qa.exceptions
- NonReplaceableException() - Constructor for exception com.privalia.qa.exceptions.NonReplaceableException
- NonReplaceableException(String) - Constructor for exception com.privalia.qa.exceptions.NonReplaceableException
- NonReplaceableException(String, Throwable) - Constructor for exception com.privalia.qa.exceptions.NonReplaceableException
- NonReplaceableException(Throwable) - Constructor for exception com.privalia.qa.exceptions.NonReplaceableException
- NOREASON - com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
- notFindShellOutput(String) - Method in class com.privalia.qa.specs.SshGSpec
-
Check the non existence of a text at a command output
- NOTIGNORED - com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
- NullableStringConverter - Class in com.privalia.qa.cucumber.converter
- NullableStringConverter() - Constructor for class com.privalia.qa.cucumber.converter.NullableStringConverter
O
- onFinish(ITestContext) - Method in class com.privalia.qa.utils.JaCoCoClient
- openSSHConnection(String, String, String, String, String, String) - Method in class com.privalia.qa.specs.SshGSpec
-
Opens a ssh connection to remote host
P
- PAGE_LOAD_TIMEOUT - Static variable in class com.privalia.qa.specs.HookGSpec
- parent - Variable in class com.privalia.qa.cucumber.reporter.TestSourcesModel.AstNode
- parseFile(Config, Reader) - Method in class com.privalia.qa.utils.FileParserUtils
-
Parses the file passed as a Reader object using the definition in the XMLDefinitionFile as a
Config
object - parseLines(List<String>, String) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
- parseWsdl(String) - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Parses the remote WSDL file and store its variables internally for easier access
- PreviousWebElements - Class in com.privalia.qa.utils
- PreviousWebElements(List<WebElement>) - Constructor for class com.privalia.qa.utils.PreviousWebElements
- provideScenarios() - Method in class com.privalia.qa.cucumber.testng.CucumberRunner
R
- readFileToVariable(String, String, String, DataTable) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Read the file passed as parameter, perform the modifications specified and save the result in the environment variable passed as parameter.
- readFileToVariableNoDataTable(String, String, String) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Read the file passed as parameter and save the result in the environment variable passed as parameter.
- readFromCSV(String) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Read csv file and store result in list of maps
- readFromMongoDBCollection(String, DataTable) - Method in class com.privalia.qa.utils.MongoDBUtils
-
Read data from a MongoDB collection.
- readTopicFromBeginning(String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Fetch messages from the given partition using poll().
- readTopicFromBeginning(String, K, V) - Method in class com.privalia.qa.utils.KafkaUtils
- reconnect() - Method in class com.privalia.qa.utils.CassandraUtils
-
Reconnect to Cassandra host.
- registerNewSchema(String, String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Publish a new version of the schema under the given subject
- RemoteSSHConnection - Class in com.privalia.qa.utils
- RemoteSSHConnection(String, String, String, String) - Constructor for class com.privalia.qa.utils.RemoteSSHConnection
-
Default constructor.
- remoteSSHConnectionTeardown() - Method in class com.privalia.qa.specs.HookGSpec
-
Disconnect any remaining open SSH connection after each scenario is completed
- removeJSONPathElement(String, String) - Method in class com.privalia.qa.specs.CommonG
-
Remove a subelement in a JsonPath
- removeNulls(JsonObject) - Method in class com.privalia.qa.utils.JsonUtils
-
Eliminates null occurrences, replacing them with "TO_BE_NULL"
- removeZNode(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Delete zPath, it should be empty
- replaceCodePlaceholders(String, JoinPoint) - Method in class com.privalia.qa.aspects.ReplacementAspect
-
Replaces every placeholded element, enclosed in @{} with the corresponding attribute value in local Common class
- replacedElement(String, JoinPoint) - Method in class com.privalia.qa.aspects.ReplacementAspect
- replaceEnvironmentPlaceholders(String, JoinPoint) - Method in class com.privalia.qa.aspects.ReplacementAspect
-
Replaces every placeholded element, enclosed in ${} with the corresponding java property
- replaceJSONPathElement(String, String, String) - Method in class com.privalia.qa.specs.CommonG
-
The function searches over the array by certain field value, and replaces occurences with the parameter provided.
- replacementArguments() - Method in class com.privalia.qa.aspects.ReplacementAspect
- ReplacementAspect - Class in com.privalia.qa.aspects
-
Aspect to replace variables used in the feature files
- ReplacementAspect() - Constructor for class com.privalia.qa.aspects.ReplacementAspect
- replacementScenarios(List<Tag>, Location, String, String, String, List<Step>) - Method in class com.privalia.qa.aspects.ReplacementAspect
- replacementScenarios(List<Tag>, Location, String, String, String, List<Step>) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- replacementScenariosOutline(List<Tag>, Location, String, String, String, List<Step>, List<Examples>) - Method in class com.privalia.qa.aspects.ReplacementAspect
- replacementScenariosOutline(List<Tag>, Location, String, String, String, List<Step>, List<Examples>) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- replacePropertyPlaceholders(String, JoinPoint) - Method in class com.privalia.qa.aspects.ReplacementAspect
-
Replaces every placeholded element, enclosed in #{} with the corresponding value in a properties file.
- replaceReflectionPlaceholders(String, JoinPoint) - Method in class com.privalia.qa.aspects.ReplacementAspect
-
Replaces every placeholded element, enclosed in !{} with the corresponding attribute value in local Common class
- restClientSetup() - Method in class com.privalia.qa.specs.HookGSpec
-
If the feature has the @rest annotation, creates a new REST client before each scenario
- restClientTeardown() - Method in class com.privalia.qa.specs.HookGSpec
-
If the feature has the @rest annotation, closes the REST client after each scenario is completed
- RestSpec - Class in com.privalia.qa.specs
-
Steps definitions for testing REST services
- RestSpec(CommonG) - Constructor for class com.privalia.qa.specs.RestSpec
- resultsMustBe(DataTable) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Checks the different results of a previous query
- resultsMustBeCassandra(DataTable) - Method in class com.privalia.qa.specs.CommonG
-
Checks the different results of a previous query to Cassandra database
- resultsMustBeCSV(DataTable) - Method in class com.privalia.qa.specs.CommonG
-
Checks the different results of a previous query to CSV file
- resultsMustBeElasticsearch(DataTable) - Method in class com.privalia.qa.specs.CommonG
-
Checks the different results of a previous query to Elasticsearch database
- resultsMustBeMongo(DataTable) - Method in class com.privalia.qa.specs.CommonG
-
Checks the different results of a previous query to Mongo database
- retrieveData(String, String) - Method in class com.privalia.qa.specs.CommonG
-
Returns the information contained in file passed as parameter.
- retrieveData(String, String, String) - Method in class com.privalia.qa.specs.CommonG
-
Returns the information contained in file passed as parameter
- runCommand(String) - Method in class com.privalia.qa.utils.RemoteSSHConnection
-
Execute the command in the session created
- runCommandAndGetResult(String) - Method in class com.privalia.qa.specs.CommonG
- runCommandLoggerAndEnvVar(int, String, Boolean) - Method in class com.privalia.qa.specs.CommonG
- runLocalCommand(String) - Method in class com.privalia.qa.specs.CommonG
-
Runs a command locally
- RunOnTagAspect - Class in com.privalia.qa.aspects
-
Allows conditional scenario execution using @skipOnEnv and @runOnEnv tags
- RunOnTagAspect() - Constructor for class com.privalia.qa.aspects.RunOnTagAspect
- runScenario(PickleEventWrapper, CucumberFeatureWrapper) - Method in class com.privalia.qa.utils.BaseGTest
- runScenario(PickleEvent) - Method in class com.privalia.qa.cucumber.testng.CucumberRunner
- runScript(Reader) - Method in class com.privalia.qa.utils.ScriptRunner
-
Runs an SQL script (read in using the Reader parameter)
S
- saveContentWebElementInEnvVar(Integer, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Takes the content of a webElement and stores it in the thread environment variable passed as parameter
- saveCookieValue(String, String) - Method in class com.privalia.qa.specs.RestSpec
-
Saves the cookie value for future use
- saveElasticCluster(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Save clustername of elasticsearch in an environment varible for future use.
- saveElementEnvironment(String, String, String) - Method in class com.privalia.qa.specs.RestSpec
-
Save value for future use.
- saveHeaderValue(String, String) - Method in class com.privalia.qa.specs.RestSpec
-
Saves the header value for future use
- saveInEnvironment(String, String) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Save value for future use.
- saveSeleniumCookies() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Save cookie in context for future references
- saveSqlResultInVariable(int, String, String) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Save an specific element (by row and column) in an environmental variable
- scenarios() - Method in class com.privalia.qa.utils.BaseGTest
-
Returns two dimensional array of PickleEventWrapper scenarios with their associated CucumberFeatureWrapper feature.
- SCRIPT_TIMEOUT - Static variable in class com.privalia.qa.specs.HookGSpec
- ScriptRunner - Class in com.privalia.qa.utils
-
Tool to run database scripts
- ScriptRunner(Connection, boolean, boolean) - Constructor for class com.privalia.qa.utils.ScriptRunner
-
Default constructor
- searchSimpleFilterElasticsearchQuery(String, String, String, Object, String) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Simulate a SELET * FROM index.mapping WHERE (One simple filter)
- SeleniumAspect - Class in com.privalia.qa.aspects
- SeleniumAspect() - Constructor for class com.privalia.qa.aspects.SeleniumAspect
- SeleniumAssert - Class in com.privalia.qa.assertions
- SeleniumAssert(CommonG, boolean) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with CommonG and boolean.
- SeleniumAssert(CommonG, PreviousWebElements) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with CommonG and previousWebElements.
- SeleniumAssert(CommonG, String) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with CommonG and String.
- SeleniumAssert(CommonG, List<WebElement>) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with CommonG and
List<WebElement>
. - SeleniumAssert(CommonG, Alert) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with CommonG and Alert.
- SeleniumAssert(CommonG, WebDriver) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with CommonG and WebDriver.
- SeleniumAssert(CommonG, WebElement) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with CommonG and WebElement.
- SeleniumAssert(List<WebElement>) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with a list of WebElements.
- SeleniumAssert(Alert) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with Alert
- SeleniumAssert(WebDriver) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with WebDriver.
- SeleniumAssert(WebElement) - Constructor for class com.privalia.qa.assertions.SeleniumAssert
-
Constructor with WebElement.
- seleniumBrowse(String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Browse to
url
using the current browser. - seleniumChangeWindow() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Change current window to another opened window.
- seleniumClear(Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Clear the text on a numbered
index
previously found element. - seleniumClick(Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Click on an numbered
url
previously found element. - seleniumDrag(String, String, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Searchs for two webelements dragging the first one to the second
- SeleniumExtractor - Class in com.privalia.qa.assertions
- seleniumGetwindows() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Get all opened windows and store it.
- SeleniumGSpec - Class in com.privalia.qa.specs
-
Steps definitions for selenium (web application automation)
- SeleniumGSpec(CommonG) - Constructor for class com.privalia.qa.specs.SeleniumGSpec
-
Generic constructor.
- seleniumIdFrame(String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Swith to the iFrame where id matches idframe
- seleniumKeys(String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Send a
strokes
list on an numberedurl
previously found element or to the driver. - seleniumMaximize() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Maximizes current browser window.
- seleniumSetup() - Method in class com.privalia.qa.specs.HookGSpec
-
If the feature has the @web annotation, creates a new selenium web driver before each scenario
- seleniumSnapshot() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Takes an snapshot of the current page
- seleniumSwitchAParentFrame() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Switches to a parent frame/ iframe.
- seleniumSwitchFrame(Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Switches to a frame/ iframe.
- seleniumSwitchParentFrame() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Switches to the frames main container.
- seleniumTeardown() - Method in class com.privalia.qa.specs.HookGSpec
-
If the feature has the @web or @mobile annotation, closes selenium web driver after each scenario is completed.
- seleniumType(String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Type a
text
on an numberedindex
previously found element. - sendAMessage(String, String, String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Sends a message to a Kafka topic.
- sendAMessageWithDatatable(String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Sends a message to a Kafka topic.
- sendAndConfirmMessage(String, String, String, long) - Method in class com.privalia.qa.utils.KafkaUtils
-
Send (and confirm) a message.
- sendMessage(String, String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Deprecated.
- sendQueryOfType(String, String, String, String, DataTable) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Execute a query on (mongo) database
- sendQueryOfType(String, String, String, String, String, String, DataTable) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Execute a query with schema over a cluster
- sendRequestDataTable(String, String, String, String, String, DataTable) - Method in class com.privalia.qa.specs.RestSpec
-
Send a request of the type specified
- sendRequestNoDataTable(String, String, String, String, String) - Method in class com.privalia.qa.specs.RestSpec
-
Generates a REST request of the type specified to the indicated endpoint
- sendRequestTimeout(Integer, Integer, String, String, String, String) - Method in class com.privalia.qa.specs.RestSpec
-
SExecutes the given request to the REST endpont for the specified amount of time in regular intervals, until the response body contains the specified text
- set(String, String) - Static method in class com.privalia.qa.utils.ThreadProperty
-
Set a string to share in other class.
- setBrowserName(String) - Method in class com.privalia.qa.specs.CommonG
-
Set the browser name.
- setCassandraResults(ResultSet) - Method in class com.privalia.qa.specs.CommonG
- setClient(AsyncHttpClient) - Method in class com.privalia.qa.specs.CommonG
- setCommandExitStatus(int) - Method in class com.privalia.qa.specs.CommonG
- setCommandResult(String) - Method in class com.privalia.qa.specs.CommonG
- setCookies(DataTable) - Method in class com.privalia.qa.specs.RestSpec
-
Specify a custom map of cookies to be added to future requests
- setCookies(List<Cookie>) - Method in class com.privalia.qa.specs.CommonG
- setCookies(List<Cookie>) - Method in class com.privalia.qa.utils.HttpResponse
- setCSVResults(List<Map<String, String>>) - Method in class com.privalia.qa.specs.CommonG
- setDelimiter(String, boolean) - Method in class com.privalia.qa.utils.ScriptRunner
- setDriver(WebDriver) - Method in class com.privalia.qa.specs.CommonG
-
Set the remoteDriver.
- setElasticsearchResults(List<JSONObject>) - Method in class com.privalia.qa.specs.CommonG
- setErrorLogWriter(PrintWriter) - Method in class com.privalia.qa.utils.ScriptRunner
-
Setter for errorLogWriter property
- setEventPublisher(EventPublisher) - Method in class com.privalia.qa.cucumber.reporter.TestNGPrettyFormatter
-
Events are mapped to the appropriate handler method
- setExitStatus(int) - Method in class com.privalia.qa.utils.RemoteSSHConnection
- setFinalResultSet(ResultSet) - Method in class com.privalia.qa.utils.ScriptRunner
- setHasResults(boolean) - Method in class com.privalia.qa.utils.ScriptRunner
- setHeaders(DataTable) - Method in class com.privalia.qa.specs.RestSpec
-
Specify a custom map of headers to be added to future requests
- setHeaders(Map<String, String>) - Method in class com.privalia.qa.specs.CommonG
- setHost(String) - Method in class com.privalia.qa.utils.ElasticSearchUtils
- setLastFileParseRecord(Map<String, String>) - Method in class com.privalia.qa.specs.CommonG
-
Sets the record for the last operation
- setLastFileParseResult(List<Map<String, String>>) - Method in class com.privalia.qa.specs.CommonG
-
Stores the result of an operation when decoding/parsing files
- setLastSoapResponse(String) - Method in class com.privalia.qa.specs.CommonG
-
Sets the response of the execution of a remote method in a webservice as an XML String
- setLogWriter(PrintWriter) - Method in class com.privalia.qa.utils.ScriptRunner
-
Setter for logWriter property
- setMongoResults(DBCursor) - Method in class com.privalia.qa.specs.CommonG
- setMonochrome(boolean) - Method in class com.privalia.qa.cucumber.reporter.TestNGPrettyFormatter
- setNativePort(Integer) - Method in class com.privalia.qa.utils.ElasticSearchUtils
- setParentWindow(String) - Method in class com.privalia.qa.specs.CommonG
-
Sets the parentWindow
- setPreviousElement(String, String) - Method in class com.privalia.qa.specs.CommonG
-
Saves the value in the attribute in class extending CommonG.
- setPreviousSqlResult(List<List<String>>) - Method in class com.privalia.qa.specs.CommonG
-
Sets the result of the SQL sentence
- setPreviousWebElements(PreviousWebElements) - Method in class com.privalia.qa.specs.CommonG
-
Set the previous webElement
- setPreviousWebElements(List<WebElement>) - Method in class com.privalia.qa.utils.PreviousWebElements
- setRemoteSSHConnection(RemoteSSHConnection) - Method in class com.privalia.qa.specs.CommonG
-
Set the remote connection.
- setResponse(String) - Method in class com.privalia.qa.utils.HttpResponse
- setResponse(String, Response) - Method in class com.privalia.qa.specs.CommonG
- setRestCookies(Map<String, String>) - Method in class com.privalia.qa.specs.CommonG
-
Returns the values of the cookies used in the rest requests
- setRestHost(String) - Method in class com.privalia.qa.specs.CommonG
-
Set the REST host.
- setRestPort(String) - Method in class com.privalia.qa.specs.CommonG
-
Set the REST port.
- setRestProtocol(String) - Method in class com.privalia.qa.specs.CommonG
-
Set the REST host.
- setRestRequest(RequestSpecification) - Method in class com.privalia.qa.specs.CommonG
-
Sets the Rest request object (restassured)
- setRestResponse(Response) - Method in class com.privalia.qa.specs.CommonG
-
Sets the Rest response (restassured)
- setResult(String) - Method in class com.privalia.qa.utils.RemoteSSHConnection
- setResultsType(String) - Method in class com.privalia.qa.specs.CommonG
- setSchemaRegistryUrl(String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Set remote schema registry url and port for all future requests
- setSeleniumAlert(Alert) - Method in class com.privalia.qa.specs.CommonG
- setSeleniumCookies(Set<Cookie>) - Method in class com.privalia.qa.specs.CommonG
- setSession(Session) - Method in class com.privalia.qa.utils.RemoteSSHConnection
- setSettings(LinkedHashMap<String, Object>) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Set settings about ES connector.
- setStatusCode(int) - Method in class com.privalia.qa.utils.HttpResponse
- setupApp(String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Set app host and port
- setupApp(String, String) - Method in class com.privalia.qa.specs.RestSpec
-
Set app host and port
host, @code port
for Rest requests. - setUpClass() - Method in class com.privalia.qa.utils.BaseGTest
- setWebHost(String) - Method in class com.privalia.qa.specs.CommonG
-
Set the WEB host.
- setWebPort(String) - Method in class com.privalia.qa.specs.CommonG
-
Set the WEB port.
- setZkHost(String, String, String) - Method in class com.privalia.qa.utils.KafkaUtils
- setZookeeperSecConnection(String, int) - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- SoapServiceGSpec - Class in com.privalia.qa.specs
-
Steps definitions for working with SOAP web services
- SoapServiceGSpec(CommonG) - Constructor for class com.privalia.qa.specs.SoapServiceGSpec
- SoapServiceUtil - Enum in com.privalia.qa.utils
-
Singleton class to retrieve
SoapServiceUtils
instance - SoapServiceUtils - Class in com.privalia.qa.utils
-
Class to execute methods on any remote WebService.
- SoapServiceUtils() - Constructor for class com.privalia.qa.utils.SoapServiceUtils
- sortElements(String, String, String) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Sort elements in envVar by a criteria and order.
- sqlConnectionClose() - Method in class com.privalia.qa.specs.HookGSpec
-
If the feature has the @sql annotation, closes any open connection to a database after each scenario is completed
- SqlDatabaseGSpec - Class in com.privalia.qa.specs
-
Steps definitions for working with relational databases (postgresql and mysql)
- SqlDatabaseGSpec(CommonG) - Constructor for class com.privalia.qa.specs.SqlDatabaseGSpec
- SqlUtil - Enum in com.privalia.qa.utils
-
Singleton class to retrieve
SqlUtils
instance - SqlUtils - Class in com.privalia.qa.utils
-
Generic operations on SQL relational databases.
- SqlUtils() - Constructor for class com.privalia.qa.utils.SqlUtils
-
Generic constructor.
- SshGSpec - Class in com.privalia.qa.specs
-
Steps definitions for running bash commands and establishing SSH connections with a remote host
- SshGSpec(CommonG) - Constructor for class com.privalia.qa.specs.SshGSpec
-
Default constructor.
- sumColumn(List<Map<String, String>>, String) - Method in class com.privalia.qa.utils.FileParserUtils
-
Sum al lthe values in the given colum.
T
- tagsIteration(List<Tag>, Location) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- teardown() - Method in class com.privalia.qa.specs.HookGSpec
-
Close logger.
- tearDownClass() - Method in class com.privalia.qa.utils.BaseGTest
- TestNGPrettyFormatter - Class in com.privalia.qa.cucumber.reporter
-
This class implements a set of eventListeners for the tests suite.
- TestNGPrettyFormatter() - Constructor for class com.privalia.qa.cucumber.reporter.TestNGPrettyFormatter
-
Instantiates a new Test ng pretty formatter.
- TestSourcesModel - Class in com.privalia.qa.cucumber.reporter
- TestSourcesModel() - Constructor for class com.privalia.qa.cucumber.reporter.TestSourcesModel
- TestSourcesModel.AstNode - Class in com.privalia.qa.cucumber.reporter
- TestSourcesModel.ExamplesRowWrapperNode - Class in com.privalia.qa.cucumber.reporter
- TextFieldCondition - Class in com.privalia.qa.conditions
- TextFieldCondition() - Constructor for class com.privalia.qa.conditions.TextFieldCondition
- theElementOnIndexHasTextInCustomPropertyName(int, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Verifies if the value of a property of the webelement referenced by index matches the given value
- theFileContainsRecords(String, int) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Verifies that the stored result from the last operation contains the specified amount of records, or if the amount of records is greater that or equal than the expected
- theKafkaTopicAvroTopicHasAnAvroMessageRecordWith(String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Reads the specified topic from beginning for the specified avro record.
- theKafkaTopicHasAnAvroMessageWith(String, String, int, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Performs a partial property matching on the avro records returned
- theKafkaTopicStringTopicHasAMessageContainingHelloWith(String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Reads messages from the beginning of the topic with the specified properties for the consumer.
- thereAreRecordsWithColumnEqualTo(int, String, String) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Calculates the ammount of records in the last operation where the column matches the expected value
- theRecordAtPositionAtColumnColumnHasTheValueValue(int, String, String) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Verifies that for the record located at the given position, the column contains the expected value
- theResponseMatchesTheFollowingCases(DataTable) - Method in class com.privalia.qa.specs.SoapServiceGSpec
-
Evaluates the response of the remote websevice against a set of conditions provided by a datatable
- theSelectedRecordMatchesTheFollowingCases(DataTable) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Verifies if the selected record matches the given cases by the datatable
- theTotalOfTheColumnColumnaNameIs(String, float) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Calculates the sum of the given column.
- theWebserviceWSDLIsLocatedIn(String) - Method in class com.privalia.qa.specs.SoapServiceGSpec
-
Indicates the library the location of the remote WSDL (descriptor of the remote webservice) This is an initialization step and must be provided before executing any other steps
- ThreadProperty - Class in com.privalia.qa.utils
- TOOCOMPLEX - com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
- transform(String) - Method in class com.privalia.qa.cucumber.converter.ArrayListConverter
- transform(String) - Method in class com.privalia.qa.cucumber.converter.NullableStringConverter
- transformXml(String, Map<String, String>) - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Alter the given XML request with the given values in the Map
- truncateTable(String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Truncate a table of a keyspace.
- truncateTable(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Truncate table
- truncateTableInMongo(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Truncate table in MongoDB.
- truncateTableQuery(Boolean, String) - Method in class com.privalia.qa.utils.CassandraQueryUtils
U
- UNIMPLEMENTED - com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
- up(int) - Method in class com.privalia.qa.cucumber.reporter.AnsiFormats
- up(int) - Method in class com.privalia.qa.cucumber.reporter.MonochromeFormats
- updateMarathonJson(String) - Method in class com.privalia.qa.specs.CommonG
- useKeyspace(String) - Method in class com.privalia.qa.utils.CassandraUtils
-
Use a keyspace in Cassandra.
- useQuery(String) - Method in class com.privalia.qa.utils.CassandraQueryUtils
- UtilsGSpec - Class in com.privalia.qa.specs
-
Steps definitions for other useful functions/operations
- UtilsGSpec(CommonG) - Constructor for class com.privalia.qa.specs.UtilsGSpec
-
Default constructor.
V
- validateRecordValues(Map<String, String>, String, String) - Method in class com.privalia.qa.utils.FileParserUtils
-
Validates the value of a given key in a record
- VALUE_SUBSTRING - Static variable in class com.privalia.qa.specs.BigDataGSpec
- valueOf(String) - Static method in enum com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.conditions.Conditions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.CassandraUtil
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.ElasticSearchUtil
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.ExceptionList
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.FileParserUtil
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.KafkaUtil
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.MongoDBUtil
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.SoapServiceUtil
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.SqlUtil
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.privalia.qa.utils.ZookeeperSecUtil
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.privalia.qa.aspects.IgnoreTagAspect.ignoreReasons
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.conditions.Conditions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.CassandraUtil
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.ElasticSearchUtil
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.ExceptionList
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.FileParserUtil
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.KafkaUtil
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.MongoDBUtil
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.SoapServiceUtil
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.SqlUtil
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.privalia.qa.utils.ZookeeperSecUtil
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyTable(String) - Method in class com.privalia.qa.utils.SqlUtils
-
Verify if a table exists
- verifyTableContent(String, DataTable) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Verify if the content of a table matches the given
DataTable
- verifyTableDoesNotExists(String) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Verify if a table does not exists
- verifyTableExists(String) - Method in class com.privalia.qa.specs.SqlDatabaseGSpec
-
Verify if a table exists
W
- waitAlertWithPooling(int, int) - Method in class com.privalia.qa.specs.CommonG
-
Similar to
CommonG.locateElementWithPooling(int, int, String, String, Integer, String)
, looks for an alert message inside a selenium context. - waitAlertWithPooling(int, int) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Checks if an alert message is open in the current page.
- waitWebElementWithPooling(int, int, int, String, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Checks that a web elements exists in the page and is of the type specified.
Z
- zCreate(String, boolean) - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- zCreate(String, String, boolean) - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- ZookeeperSecUtil - Enum in com.privalia.qa.utils
- ZookeeperSecUtils - Class in com.privalia.qa.utils
- ZookeeperSecUtils() - Constructor for class com.privalia.qa.utils.ZookeeperSecUtils
- ZookeeperSecUtils(String, int) - Constructor for class com.privalia.qa.utils.ZookeeperSecUtils
- zRead(String) - Method in class com.privalia.qa.utils.ZookeeperSecUtils
All Classes All Packages