Monitis cloud monitoring

Q: How we can use Monitis cloud monitor for testing web availability, page load and make some web interaction(transaction)? Monitis gives many possibilities and options for monitoring simple web site’s and also for big enterprise solutions. In our case, we need simple monitoring of web page availability, full page load and maybe a simple interaction […]

Read more
Cucumber in Web testing (part 7 of 8)

7. Hooks Cucumber provides a methodology called Hooks which is analogue to traditional before and after methods. The hooks must be annotated with @Before and @After in step classes. Make sure to use cucumber.api.java.Before and cucumber.api.java.After annotations and not the JUnit ones. By default each before method will be executed before all scenarios and each […]

Read more
Cucumber in Web testing (part 5 of 8)

5. Web testing project structure Structure without cucumber The following picture represents our basic structure what we use for web testing: TestBase contains the initialization and termination of a Selenium Webdriver. It usually contains a before() and after() method where we start and close web browser. In addition to this we setting up desired capabilities […]

Read more
Can Chrome DevTools’ Device Mode be substitute for the Real device?

Every tester probably heard about Chrome Device Mode, if you didn’t, don’t worry, we will try to introduce you with it. Open the Chrome DevTools and Toggle the Device Mode button to turn Device Mode on or off. Device Mode will emulate your site across different screen sizes and resolutions. In Viewport Controls you can […]

Read more
Cucumber in Web testing (part 4 of 8)

4. TestRunner and Test steps To run features we need a Java class to start the test run. Here is a simple example: The TestRunner class needs to be annotated with @RunWith(Cucumber.class) and a body of it can be totally empty. By annotating the class with @CucumberOptions we can specify extra options to our test […]

Read more
Cucumber in Web testing (part 3 of 8)

3. Cucumber features “Feature” in cucumber is supposed to describe a single feature which is analog with “test group”/”test class” in standard Java world. A feature includes one or more scenarios. A scenario can be represented as a “test case” or a ”test method“ in standard Java world. The code of a cucumber feature need […]

Read more
Cucumber in Web testing (part 2 of 8)

2. How to install cucumber in Eclipse To start using cucumber in eclipse we need to install few things: First of all eclipse and Java Development Kit (JDK) need to be installed on the computer. Ones eclipse finished with the installation we are able to install “Cucumber Eclipse Plugin” with eclipse built-in plugin installation tool. […]

Read more
Cucumber in Web testing (part 1 of 8)

1. What is cucumber Cucumber is a testing framework which supports behavior-driven development (BDD). BDD is principally an idea about how software development should be managed by both business interests and technical insight. Implementation of BDD starts with describing the test cases with English like sentences following up with the test case implementation. With this […]

Read more