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(PickleWrapper, FeatureWrapper) - Method in class com.privalia.qa.aspects.IgnoreTagAspect
-
Pointcut is executed for
AbstractTestNGCucumberTests.runScenario(PickleWrapper, FeatureWrapper)
- addIgnoreTagPointcutScenario(PickleWrapper, FeatureWrapper) - Method in class com.privalia.qa.aspects.RunOnTagAspect
-
Pointcut is executed for
AbstractTestNGCucumberTests.runScenario(PickleWrapper, FeatureWrapper)
- addSsoToken(HashMap<String, String>, String[]) - Method in class com.privalia.qa.specs.CommonG
-
Add sso token list.
- 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.
- annotationType() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
- 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, PickleWrapper, FeatureWrapper) - Method in class com.privalia.qa.aspects.IgnoreTagAspect
- aroundAddIgnoreTagPointcut(ProceedingJoinPoint, PickleWrapper, FeatureWrapper) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- aroundAddLoopTagPointcutScenario(ProceedingJoinPoint, Resource) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
-
Around add loop tag pointcut scenario string.
- aroundReplacementArguments(JoinPoint, TestCaseState) - Method in class com.privalia.qa.aspects.ReplacementAspect
-
When a step is about to be executed, the Match#getArguments method is called.
- aroundReplacementScenarios(JoinPoint) - Method in class com.privalia.qa.aspects.ReplacementAspect
- 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
-
Validates command output with timeout
- 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
- assertKeyspaceOnCassandraExists(String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Checks if a keyspaces exists in Cassandra.
- assertNumberOfRecordsWithColumn(int, String, String) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Calculates the amount of records in the last operation where the column matches the expected value
- assertRecordMatchesProperties(DataTable) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Verifies if the selected record matches the given cases by the datatable
- assertRecordValue(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
- assertResponseLength(Integer) - Method in class com.privalia.qa.specs.RestSpec
-
Verifies the length of the response body.
- assertResponseMessage(String) - Method in class com.privalia.qa.specs.RestSpec
-
Verifies if the response body contains an specific string
- assertResponseSchema(String) - Method in class com.privalia.qa.specs.RestSpec
-
Verifies the response body matches a json schema.
- assertResponseStatusCode(Integer) - Method in class com.privalia.qa.specs.RestSpec
-
Verifies the status response (HTTP response code) of a rest request.
- assertResponseStatusLength(Integer, String) - Method in class com.privalia.qa.specs.RestSpec
-
Deprecated.
- 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 if a webelement previously found is displayed or not
- assertSeleniumIsEnabled(Integer, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Verifies if a webelement previously found is enabled or not
- assertSeleniumIsSelected(Integer, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Verifies if a webelement previously found is selected or not
- assertSeleniumNElementExists(String, Integer, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Checks that the expected count of webelements are present in the page.
- assertSeleniumNElementExistsOnTimeOut(Integer, Integer, Integer, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Deprecated.
- 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 the given text
- assertTableExistsOnCassandraKeyspace(String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Checks if a cassandra keyspace contains a table.
- assertThat(DataTable, ArrayList<DBObject>) - Static method in class com.privalia.qa.assertions.Assertions
-
Check if two WebElements are equals.
- assertThat(ArrayList<DBObject>) - Static method in class com.privalia.qa.assertions.DBObjectsAssert
- assertTopicContainsAvroMessageWithProperties(String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Search the topic for the given Avro record.
- assertTopicContainsMessage(String, String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Check if message exists
- assertTopicContainsMessageWithProperties(String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Reads message from topic with properties
- assertTopicContainsPartialAvroMessageWithProperties(String, String, int, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Performs a partial property matching on the avro records returned
- assertTopicDoesntExist(String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Check that a kafka topic does not exist
- assertTopicExists(String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Check that a kafka topic exist
- 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
for adding special configuration of GingerSpec to theCucumberOptions
annotation of the class Test classes must extend this class in order to be executed with TestNG and use the Gingerspec steps and other functionality - 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
- 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
- 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
- checkURLContains(String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Checks if the current URL contains the specified text
- 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.
- closeApplication() - Method in class com.privalia.qa.specs.MobileGSpec
-
Closes an application
- 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).
- configureConsumerProperties(DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Modify consumer properties
- configureProducerProperties(DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Modify producer properties
- 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 database.
- connectionStatus() - Method in class com.privalia.qa.utils.SqlUtils
-
Verify the state of the connection
- connectToElasticSearch(String, String, String, String, String) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Connect to ElasticSearch using custom parameters
- connectToKafka(String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Connect to Kafka.
- 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
- 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 file from seed.
- 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. - 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.
- createNewAvroMessage(String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Creates an Avro record from the specified schema.
- createNewAvroMessageFromRegistry(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
- 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.
- createTopic(String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Create a Kafka topic.
- createZNode(String, String, String, boolean) - Method in class com.privalia.qa.specs.BigDataGSpec
-
Create zPath and domcument
- CucumberOptionsImpl - Class in com.privalia.qa.cucumber.testng
-
This is a custom implementation of
CucumberOptions
annotation. - CucumberOptionsImpl(Class) - Constructor for class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
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.
- deleteTopic(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
- disconnectFromKafka() - Method in class com.privalia.qa.specs.KafkaGSpec
-
Close the connection to kafka.
- 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
- dryRun() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
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.
- evaluateWebserviceResponse(DataTable) - Method in class com.privalia.qa.specs.SoapServiceGSpec
-
Verifies response of webservice.
- 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
- 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 the 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
- 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 an SQL statement which returns a ResultSet, such as a
SELECT
statement - 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.
- executeWebserviceMethod(String, String, String, DataTable) - Method in class com.privalia.qa.specs.SoapServiceGSpec
-
Executes remote webservice method with parameters
- 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
- extraGlue() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
F
- featureBuilderRead(Resource) - Method in class com.privalia.qa.aspects.LoopIncludeTagAspect
-
Pointcut is executed for
FeatureParser.read(Resource)
- features() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
- 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
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) - Static method in class com.privalia.qa.utils.ThreadProperty
-
Get a property shared.
- 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
- 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.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
- 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
- getFirstRecordWithColumn(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
- 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.
- 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
- getRecord(int) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Returns the record at the specified position in the set
- 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
- 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)
- getVariable(String) - Method in class com.privalia.qa.specs.CommonG
-
Returns the value of the given placeholder as used in the gherkin step
- 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.
- glue() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
-
Automatically adds
com.privalia.qa.specs
to the glue if not present to have access to all GingerSpec steps definitions - goBackBrowserHistory(Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
- goForwardBrowserHistory(Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
H
- HashUtils - Class in com.privalia.qa.utils
- 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.
- 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.
- iExecuteTheScriptScriptOnTheElmentOnIndex(String, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Executes a JavaScript function in the current driver.
- IgnoreTagAspect - Class in com.privalia.qa.aspects
-
Aspect for managing the @ignore tag on a feature/scenario
- IgnoreTagAspect() - Constructor for class com.privalia.qa.aspects.IgnoreTagAspect
- IgnoreTagAspect.ignoreReasons - Enum in com.privalia.qa.aspects
- iGoToUrl(String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Directly navigate go to the specified url
- 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
- 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.
- isConnected() - Method in class com.privalia.qa.utils.ZookeeperSecUtils
- 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
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.
- 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
- launchApplication() - Method in class com.privalia.qa.specs.MobileGSpec
-
Launches an application,
- 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)
. - 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
- 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
-
Verifies the structure of a json document against a set of test cases defined in a datatable
- 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
- 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.
- modifyTopicPartitions(int, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Increase partitions in 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.
- monochrome() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
N
- name() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
- 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
- NullableStringConverter - Class in com.privalia.qa.cucumber.converter
- NullableStringConverter() - Constructor for class com.privalia.qa.cucumber.converter.NullableStringConverter
O
- objectFactory() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
- 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
- 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
- parseTemplateFile(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
- parseWsdl(String) - Method in class com.privalia.qa.utils.SoapServiceUtils
-
Parses the remote WSDL file and store its variables internally for easier access
- plugin() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
-
Automatically adds reference of to the plugins and includes path to store TestNG reports
- PreviousWebElements - Class in com.privalia.qa.utils
- PreviousWebElements(List<WebElement>) - Constructor for class com.privalia.qa.utils.PreviousWebElements
- publish() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
R
- readFileToVariable(String, String, String, DataTable) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Saves file in variable with modifications.
- readFileToVariableNoDataTable(String, String, String) - Method in class com.privalia.qa.specs.UtilsGSpec
-
Saves file in variable.
- 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.specs.KafkaGSpec
-
Adds a new schema to the schema register.
- 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) - Static 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) - Static method in class com.privalia.qa.aspects.ReplacementAspect
- replaceEnvironmentPlaceholders(String, JoinPoint) - Static 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(TestCaseState) - 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() - Method in class com.privalia.qa.aspects.ReplacementAspect
- replacePropertyPlaceholders(String, JoinPoint) - Static 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) - Static 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
- rotateDevice(String) - Method in class com.privalia.qa.specs.MobileGSpec
-
Changes the device orientation
- 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
- 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
-
Saves value of a json document 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 a specific element (by row and column) in an environmental variable
- 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
- scrollUntilElementVisible(String, int) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Scrolls the page up or down until the element referenced by index is visible
- scrollUntilElementVisibleByLocator(String, String, String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Directly scrolls the page up or down until the element is visible
- searchSimpleFilterElasticsearchQuery(String, String, String, Object, String) - Method in class com.privalia.qa.utils.ElasticSearchUtils
-
Simulate a SELET * FROM index.mapping WHERE (One simple filter)
- selectRecordsWithProperties(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.
- seleniumBrowse(String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Deprecated.This method is deprecated, use
SeleniumGSpec.iGoToUrl(String)
instead - seleniumChangeWindow() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Change current focus 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
-
Deprecated.This method is deprecated, use
SeleniumGSpec.seleniumClickByLocator(String, String, Integer)
instead - seleniumClickByLocator(String, String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Directly clicks the given element referenced by locator
- seleniumDoubleClick(Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Deprecated.This method is deprecated, use
SeleniumGSpec.seleniumDoubleClickByLocator(String, String, Integer)
instead - seleniumDoubleClickByLocator(String, String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Directly double clicks the given element referenced by locator
- seleniumDrag(String, String, String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Search 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
-
Assert that a new window is open
- 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.
- seleniumHoverByLocator(String, String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Directly hovers on the given element referenced by locator
- seleniumIdFrame(String, String) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Switch to the frame/iframe with the given locator
- 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.
- SeleniumPause() - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Temporally stop the execution of the feature
- seleniumRightClick(Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Deprecated.This method is deprecated, use
SeleniumGSpec.seleniumRightClickByLocator(String, String, Integer)
instead - seleniumRightClickByLocator(String, String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Directly right clicks the given element referenced by locator
- 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 a snapshot/screenshot/screen capture 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(Scenario) - 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
-
Deprecated.This method is deprecated, use
SeleniumGSpec.seleniumTypeByLocator(String, String, String, Integer)
instead - seleniumTypeByLocator(String, String, String, Integer) - Method in class com.privalia.qa.specs.SeleniumGSpec
-
Directly types the given text in the element referenced by locator.
- sendAndConfirmMessage(String, String, String, long) - Method in class com.privalia.qa.utils.KafkaUtils
-
Send (and confirm) a message.
- sendAvroMessageToTopicWithProperties(String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Send the previously created Avro record.
- sendMessage(String, String) - Method in class com.privalia.qa.utils.KafkaUtils
-
Deprecated.
- sendMessageToTopic(String, String, String, String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Sends a message to a Kafka topic.
- sendMessageToTopicWithProperties(String, String, String, DataTable) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Sends a message to a Kafka topic with properties.
- 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
-
Deprecated.
- 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
- 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.
- setRemoteWSDL(String) - Method in class com.privalia.qa.specs.SoapServiceGSpec
-
Set URL of remote WSDL
- 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
- setSchemaRegistryURL(String) - Method in class com.privalia.qa.specs.KafkaGSpec
-
Sets URL of schema registry.
- 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
-
Deprecated.This method is deprecated, use
SeleniumGSpec.iGoToUrl(String)
instead - setupApp(String, String) - Method in class com.privalia.qa.specs.RestSpec
-
Set app host and port for Rest requests.
- setUpClass() - Method in class com.privalia.qa.utils.BaseGTest
-
Overrides the parent method
AbstractTestNGCucumberTests.setUpClass()
and executes custom code before the object is created - 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
- snippets() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
- 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.
- strict() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
- sumColumn(String, float) - Method in class com.privalia.qa.specs.FileParserGSpec
-
Calculates the sum of the given column.
- sumColumn(List<Map<String, String>>, String) - Method in class com.privalia.qa.utils.FileParserUtils
-
Sum al lthe values in the given colum.
T
- tags() - Method in class com.privalia.qa.cucumber.testng.CucumberOptionsImpl
- tagsIteration(List<String>) - Method in class com.privalia.qa.aspects.RunOnTagAspect
- TestNGPrettyFormatter - Class in com.privalia.qa.cucumber.reporter
-
This class is responsible for printing the steps/features/scenarios to console.
- TestNGPrettyFormatter(OutputStream) - Constructor for class com.privalia.qa.cucumber.reporter.TestNGPrettyFormatter
- 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
- 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
- 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.
- verifyLastResult(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
- 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 if it is of the type specified in the given time interval.
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