New answers tagged

0

Travis docs explain how to setup your job for multiple OS: language: c os: # Will run on Linux and Mac - linux - osx compiler: - gcc - clang addons: apt: packages: - graphviz before_install: # You can use $TRAVIS_OS_NAME to perform OS specific actions. - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update ; fi - if [ "$...


0

From what you've given us so far (but please elaborate) you want one of two things: headless browser testing. This has advanced greatly in the last two years. Google it. integrated testing. If this is what you mean by 'not through the UI' then perhaps you are seeing agile testing quadrant two, integrated testing. If so you can set up: API testing ...


2

I am assuming that your application has UI, but you want to run automated tests in the background without opening the physical browser on the machine. For this, you can try running your selenium test cases with headless chrome driver. If you are using serenity, then the serenity property "chrome.switches = --headless" allows you to run your test cases in ...


0

The choice of best acceptance testing practices can vary according to the project, organization and the system under test. I am not sure that the answer that follows would be used as a generic solution but surely does help in software testing domain. 1: Using regression test result as the acceptance criteria: In most organizations, on integrating new ...


1

Here's a number of design patterns you can use for testing REST services (with REST-assured, but not necessarily*): Service Object pattern. Just like Page Object encapsulates HTML page, Service Object encapsulates REST API. Hence, instead of dealing directly with forming HTTP requests and parsing HTTP responses, you can use business level methods like ...


0

I just wanted to write an update to my original question, as its been about 7 months and a lot of things have changed since I penned this question. I decided to take a risk assessment based approach. As my manager at the time really doesn't like the word 'no' this seemed like the best option. If I could categorically prove that certain ...


0

May this help you, just replace your test case class like this:- public class MhCurrentMonthReportTest extends LoginTest { public MhCurrentMonthReportBusiness mhCurrentMonthReportBusiness; public MhCurrentMonthReportTest() throws Exception { mhCurrentMonthReportBusiness = PageFactory.initElements(driver, ...


0

ArrayList<String> tabs = new ArrayList<String>(driver.getWindowHandles()); driver.switchTo().window(tabs.get(1)); driver.close(); driver.switchTo().window(tabs.get2));


0

I learn Appium using multiple resources, I found online stuff and experimental project for android & iOS App. Just google "Appium tutorial", I will suggest don't stick with any programing language(like python), it's just a medium to express code. In my case, I learn Appium using JAVA but I implemented using C#, You can cover up if you have good command ...


-1

Here is a good YouTube video series by Raghav Pal on Python: https://www.youtube.com/watch?v=X2VXCEfIgC0&list=PLhW3qG5bs-L_IH9bmssFw47zHeLm1gsxo


Top 50 recent answers are included