Tag Info

New answers tagged

1

Just use an Excel library to load data from Excel files and use that data in your Asserts? C# and Excel: http://stackoverflow.com/questions/657131/how-to-read-data-of-an-excel-file-using-c C# and Asserts: https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.assert.aspx


0

Take a look at Selenide. It's just a more convenient and readable Selenium.


1

When trying to figure out what to automate I like the questions (and advice) from this Elemental Selenium Tip. It basically says A great way to increase your chances of automated web testing success is to map out a testing strategy. And the best way to do it is to answer these four questions: How does your business make money? How do your ...


1

A generic answer here is: Essential stuff like login. It's a start. Easy to automate functions to acquire some coverage, fast. Bugs as you encounter then, this is good practice and already receiving attention anyway. Fragile functionality as determined by your developers. This list goes on, of course. In the end 100% coverage is the goal. Which never ...


1

Its difficult to get an idea of what you are after without a bit more information but a bit of background; Selenium Webdriver is a framework which helps you select and manipulate elements within a webbrowser. Selenium is compatible with a number of languages now. Java, C#, etc You will likely need a testing framework such as JUnit or TestNG. These allow ...


0

Where ever the selenium library is running is where the browser will run. If you are planning on putting this on a server, you'll have trouble if there is nobody logged in to the console. You should look at Selenium Grid which allows the browser to run on a different machine. There are cloud based services for these clients, for example, Browser Stack ...


0

I am not expert on responsive design for mobile devices, but AFAIK most differences should be different CSS styling for the same HTML, using same locators for all page formats. But you have a valid point that some CSS might i.e. hide navigation for small screen into button (requiring extra click to expand it if present). Approach which I would consider ...


1

There are many, many approaches, each having its pros and cons when it comes to simplicity of reading, easiness of modifying data, easiness of modifying data schema (refactoring), easiness of parsing data, type of data you want to model. If you were I would experiment. I would pickup the simplest approach (properties) to see if fits your problem. Here's the ...


1

First of all:There is no best approach. There are just several approaches and you have to decide which one is your favorite. What is the best approach to make test data configurable ? Through XML file or properties file or any other way. But must not be hard coded. I like it to put the test data in properties files, read the data and put them ...


0

Sounds like you want to do Data Binding (also called Data Driven Testing). You can parse a CSV file and have your test run as many times as there are rows in the file. Each row can have columns for username and password. You will need to add appropriate logging so that when a test 'fails' you know which iteration it failed on. How you read in the csv file ...


0

Take a look at Winium.StoreApps framework. It's free & open-source actively developed & supported supports many programming languages based on Selenium scalable Also there are official Coded UI tools from Microsoft.


0

Highly recommend to look at Allure Test Report framework, it allows attaching screenshots & files (during execution & on failure, as you need). Few useful links, as follows: Allure C# library Getting started guide


0

Follow the below mentioned steps:- 1. adb tcpip 5555 This should give the output: restarting in TCP mode port: 5555 2. Now knowing the IP of you'r Android device (Settings->About->Status) type the following into the terminal: adb connect you should now get the output: connected to 3. You should now be able to debug against you'r device as ...


1

I found the solution at http://stuffandtech.blogspot.in/2012/03/android-quick-tip-adb-over-wifi.html. It worked for me. Steps from article: Connect with USB debugging and do adb tcpip 5555 result is: restarting in TCP mode port: 5555 Now do adb connect <you'r devices IP adress> result is: connected to (you'r devices IP adress) You ...


1

I would tend to disagree with the comment of not designing and just coding. As with any testing you should aim to plan and find issues in requirements Before writing code. Its harder to change things later! I am quite a fan of Page Object Model (POM) as an approach http://seleniumeasy.com/selenium-tutorials/page-object-model-framework-introduction ...


1

Don't start with designing framework: YAGNI principle applies. Start coding. Implement tests, refactor common parts - and framework will emerge. Difference is, this framework will have only features you need. By definition, if you have to ask how to design a testing framework (don't already have skills to do it right), you should not try to foresee what you ...



Top 50 recent answers are included