Carina automation framework (TestNG): Web, Mobile, API, DB etc testing...
APACHE-2.0 License
Bot releases are hidden (Show)
Published by avabishchevich over 4 years ago
6.4.36 (2020-05-21)
[#1006] Redesigned listeners usage allowing to inject custom listeners with exact order
[#925] Reorganized screenshots usage based on IScreenshotRules for system carina calls.
// To disable all kinds of screenshots even for failures:
Screenshot.clearRules()
// Follow Screenshot.java java docs to register your custom rules for making screenshots
[#987] Added encryption/decryption for testdata.properties as well
[#1022] Removed I18N feature and language parameter
[#1010][#1020] Added the ability to choose what strategy for element loading to use:
[#1030] Hid one more exception for screenshot generation
[#1026] Exception during unit test runs was fixed
[#1003] Regression: dataprovider tests did not register [L000N] method name postfix
[#1004][#1000] Platform name is returned based on capabilities values as well
[#1001] CarinaReport had an invalid link to the Demo sub-report
[#988] No appenders could be found for logger
[#978] Removed all synchronized for Jira.java
[#874] Carina API properties file: Random string generation was provided
[#656] API validation error when comparing arrays inside an array was fixed
Removed public Device.getSysLog() method
Fixed AbstractApiMethod.setHeaders() method when a header value contained an equal sign
Published by vdelendik over 4 years ago
6.4.35 (2020-04-27)
[#997] Unable to parse tesng attribute (jre 1.8.251)
Published by avabishchevich over 4 years ago
6.4.34 (2020-04-21)
[#860][#951][#974] Reorganized listeners manipulation using TestNG-Foundation library:
[#977] Generated new 6.4.34 carina-archetype:
[#976] Screenshots publishing was moved to zafira-client where information about storage provider is registered
[#972] Moved to 3.0.0-M4 Maven Surefire plugin
[#970] Only auto_download folder is overridden now
// to keep only auto downloads document in dedicated location
auto_download_folder=C:/Temp/downloads
[#966] ALREADY_FAILED_BY_KNOWN_BUG SkipExceptions were fixed
[#902] support locale/language appium capabilities generator for iOS
[#766] In API automation add some mechanism to get request body as an object.
[#764] wrap uix ui dump plus screenshot into the single artifact enhancement
[#986] change copyright to 2020
[#975] Getting/saving driver log messages were hidden to the debug layer
[#967] NPE in logEntries for negative use-cases was fixed
[#944] Castdriver is now used in AndroidService when opening the notifications
[#943] EventFiringWebDriver could not be cast to RemoteWebDriver
[#938] Jira ticket allows anomalies in the registration logic
[#881] Empty screenshot in the last test step
Published by avabishchevich over 4 years ago
6.4.33 (2020-04-08)
Published by avabishchevich over 4 years ago
6.3.32 (2020-02-27)
Published by avabishchevich over 4 years ago
6.3.31 (2020-02-10)
locale=en_US
// carina parse locale and declare equivalent appium capabilities
capabilites.language=en
capabilites.locale=US
Published by vdelendik almost 5 years ago
6.3.30 (2020-01-14)
// com.qaprosoft.carina.core.foundation.jira.Jira class
public synchronized static void setKnownIssue(String jiraId)
public synchronized static void setKnownIssue(String jiraId, String description)
public synchronized static void setKnownIssue(String jiraId, String description, boolean blocker)
public static BaseWorkItem getKnownIssue()
s3_use_presign_url=true
Published by vdelendik almost 5 years ago
6.2.29 (2019-11-28)
ReportContext.setCustomTestDirName("my custom unique name");
public Object trigger(String script, WebElement element)
import org.apache.log4j.Logger;
public class MyClass {
protected static final Logger LOGGER = Logger.getLogger(MyClass.class);
Published by vdelendik almost 5 years ago
6.2.28 (2019-11-04)
chrome_args=--no-first-run,--disable-notifications
chrome_experimental_opts=w3c=false
chrome_mobile_emulation_opts=deviceName=Nexus 5
Published by vdelendik about 5 years ago
@CaseInsensitiveXPath()
@FindBy(xpath = "//*[contains(text(),'User reports')]")
private ExtendedWebElement textItem;
/*
Above element is is not case sensitive to text, i.e. all below variants are ok:
- User reports
- User Reports
- user reports
- USER REPORTS
- uSEr rEPORts
...
*/
Note: Only text() and @text are supported for case insensitive validation
Published by vdelendik about 5 years ago
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-kms</artifactId>
<version>1.11.600</version>
</dependency>
Published by vdelendik about 5 years ago
R.CONFIG.put("browser", "firefox"); // change globally for all threads/test
R.CONFIG.put("browser", "firefox", true); // change browser for current test only
//update capabilities for local test only
new CapabilitiesLoader().loadCapabilities("browserstack/android/Samsung_S8.properties", true);
Published by vdelendik over 5 years ago
Published by kolyakrasnik over 5 years ago
@MethodOwner(owner = "user1", platform = "android")
@MethodOwner(owner = "user2", platform = "ios")
Published by vdelendik over 5 years ago
Published by vdelendik over 5 years ago
Published by vdelendik over 5 years ago
Published by vdelendik over 5 years ago
@Test(dataProvider = "SingleDataProvider")
@XlsDataSourceParameters( spreadsheetId = "1G....", sheet = "urls", executeValue = "TRUE", dsUid = "TUID", dsArgs = "TUID, ARG1, ARG2")
public void test(String TUID, String ARG1, String ARG2)
Published by vdelendik over 5 years ago
Published by vdelendik over 5 years ago