Let’s run some automated selenium tests in Firefox, without Firefox! 😉 In other words, tests run in the background and there is no display (i.e. the browser UI is not displayed to the user).
Continue readingPosts by "Chandana Chaitanya"
9ac. WebDriver – Unable to locate an element easily? Read on…
The easy and best way to handle scenarios where there are no proper locators, is to introduce data-* attributes (custom data attributes) on HTML elements.
Continue reading15. Form input bindings
Welcome to a binding discussion! Now that we know all about this superstar, v-model, which is used to achieve two-way data binding on form elements, let’s visually understand how Vue works magically under the hood by picking the correct way to update a particular HTML element based on whether it is a radio button or a… Continue reading
10l. Advanced WebDriver – Using Log4j Part 2
This is a continuation of the article, ‘Using Log4j Part 1’ and hence, I suggest that you read part 1 before proceeding any further to get a grip on what’s happening. Scenario Configure Log4j.properties file, Log level – DEBUG Loggers – rootLogger and SeleniumTestLogger Appender – RollingFileAppender Layout – PatternLayout Write a JUnit4 test case, ‘Log4jTest.java’,… Continue reading
10k. Advanced WebDriver – Using Log4j Part 1
Let me take a stab at explaining logging for Selenium with Apache Log4j today! So, without further ado, let’s dive in!! Why do we need logging in the first place? As an automation tester, we deal with troubleshooting, debugging and so on. Logging makes this entire process so much easier! It gives us these magical… Continue reading
18. Class bindings
Welcome to yet another binding discussion. Today, I will be schooling you on class bindings. In other words, we will be playing around with HTML element’s class attribute by binding data to it using Vue. Why? Because we might be required to often manipulate the class list of an element. Just like any other data binding,… Continue reading
9ab. WebDriver – Using Actions Class
Lights, camera, action! Yes, today its all about Actions. Oh, I am not talking about those fight sequences you watch in movies but about the keyboard and mouse actions. 😛 Selenium WebDriver provides a user-facing API for performing complex user gestures. We want automation everywhere! So, instead of using keyboard and mouse directly, we can… Continue reading
14. Two-way data binding with v-model
Finally, the day has come, to understand the missing piece of the puzzle, data binding. So far, we have seen how to use interpolations, v-bind for attribute binding and v-on to listen to events. The missing piece was v-model which is used for two-way data binding and this is exactly what we will be concentrating… Continue reading
9r. WebDriver – Assert and Verify
Hiya superstars! We have been locating elements for quite some days now. Let us switch gears and talk about “Assert and Verify” today. To remember, The major difference between the two when the assert or verify condition/check fails is, Assert will fail the test and abort the execution of the current test case. All other test steps after… Continue reading
12. Listening to keyboard and mouse events
Ready to listen for some key codes on your keyboard and some mouse buttons using Vue? Let’s dig deep then! Make sure you read up on “Listening to DOM events and Event modifiers” if you haven’t already. Because this is more of a continuation to what we already saw.