11
votes
Accepted
Is it a best practice to use loops for a test case to run it multiple times?
Apart from the fact your second piece of code will not even be compiled and also pretty much not representative since you're not showing us how exactly you would use the information of which ...
8
votes
Which browsing mode is better for Web App Testing? Incognito mode or Normal mode?
While this depends heavily on what part/functionality of a web app you want to test, there is a place and time for both.
For example you might have a pop-up for informing the user about a cookie and ...
6
votes
Is it a best practice to use loops for a test case to run it multiple times?
Generally speaking I consider it a bad practice if you are using different data combinations to run UI tests.
I refer to this as data combinatorial testing.
Generally speaking I look to be sure that ...
4
votes
Which browsing mode is better for Web App Testing? Incognito mode or Normal mode?
Usually, web application testing services follow the approach of covering both the browser modes during web app testing.
Testing in Normal Browser Mode:
This should be tested majorly for regular ...
4
votes
Which browsing mode is better for Web App Testing? Incognito mode or Normal mode?
I would say you need to test app it in both modes if you're worried about caching issue.
Most of the (functional) testing would be in incognito mode (you are testing how application works, not how it'...
3
votes
How do we decide which tools to use to test web and mobile applications?
It depends
The long version:
The tools you choose will depend on the nature of the software you are testing and your clients' needs.
Some of the factors you should take into consideration are:
Budget -...
3
votes
Accepted
Is it neccessary to consider the front end while testing backend?
Back-end should be tested separately regardless of test results on the front-end. The main reason would be security.
It's great that you have tested that front-end can send to back-end only numbers, ...
2
votes
What should i test while fetching data from the database?
It really has nothing to do with whether someone could alter the input file or not; it's a matter of what the code is documented/expected to do, and expected to deal with. You also need to know what ...
2
votes
What is the best tool to record web actions and export scripts?
I sadly have to break with the rest and recommend ranorex for actual record and playback. Selenium is fickle and needs a solid framework around it to produce solid tests. The selenium IDE can't ...
2
votes
Which browsing mode is better for Web App Testing? Incognito mode or Normal mode?
I never test manual in incognito mode, now that I am thinking about it I do not see a lot of value in it. Automated tests will run against a fresh profile anyways.
Manual testing is more for ...
2
votes
Is it a best practice to use loops for a test case to run it multiple times?
If you're looping 5 times and the test fails, did it fail on the first occurrence? The last occurrence? Is it failing on all occurrences?
I like to have one assertion executed per test method if at ...
2
votes
Why do HTML IDs need to be unique?
My opinion is that technically it is hard enough to keep them really unique since part of a page could be a static template and another is generated dynamically.
If browsers would treat id uniqueness ...
1
vote
Buggy websites for Selenium testing
here are a few websites or applications that you can practice functional testing with Selenium:
www.google.com - It is a simple and widely used website, you can practice testing on various elements ...
1
vote
Buggy websites for Selenium testing
@Narendra Chandratre answer is great, simply exercising the different interactions is a good way to go.
Amazon is a good real website, but if you wish for something more focused, The Internet is a ...
1
vote
Accepted
Buggy websites for Selenium testing
Frankly speaking, I tried, learnt & play with automation test scenarios with amazon.com as my playground.
You can try a bug is fine but important for your learning is you try to automate ...
1
vote
Why do HTML IDs need to be unique?
I just want to know what are the possible issues. I had to raise an issue for non-unique IDs, but the rest of the team didn't consider it to be very important.
In some ways, I'd agree that it would ...
1
vote
Is it a best practice to use loops for a test case to run it multiple times?
It Depends
Testing in a loop is a best practice when you're testing for things that require a lot of repetitive testing to come up with a positive or negative result. There is no One Right Answer to ...
1
vote
What is the best tool to record web actions and export scripts?
Selenium IDE for web (open source) and testcomplete for commercial(paid version)
Appium desktop for mobiles. You can tap and verify whether its working.
Inspector for desktop
Provided you are working ...
1
vote
What is the best tool to record web actions and export scripts?
Selenium IDE is best record and playback tool for web applications. The new Selenium IDE has many useful feature that makes the tool unique from all the other tools. Here is the blog which explains ...
1
vote
What is the best tool to record web actions and export scripts?
To test web applications and record it you can use the most used Selenium IDE. It is very easy to learn and documentation is also very precise. You just need to download the extension and than it's ...
1
vote
How AdBlock Affects Web Testing
Adblocker prevents some website traffic from reaching you. Therefore, the behavior of the website you are testing may be different from if you were testing the website without adblocker. If you ...
1
vote
Is it a best practice to use loops for a test case to run it multiple times?
In the end it boils down to the personal preferences. Personally, I do not like loops in the test cases because of the following reasons:
Loops make the test case more complex
In most cases a loop ...
1
vote
Is it neccessary to consider the front end while testing backend?
Is it necessary to consider inputs that the front end blocks when testing the back end?
The short answer is YES.
The reason the answer is yes is because it is trivial for anyone with a little ...
1
vote
Is it neccessary to consider the front end while testing backend?
If you're responsible for testing the entire solution then you have to consider all the components which compose that solution. If you are responsible for only back-end testing then you should ...
1
vote
WebTest Plugin not used when the Webtests are in a folder
Adding the DLL the plugin is compiled in (In my case the same project as the WebTest) to the TestSettings deployment will solve the issue and the WebTest will be able to use the custom plugin.
1
vote
How do you test the cache of a website?
The link from Yu Zhang in the comments has some good things in it.
It depends on the goal here, usually caching is for performance improvement. If that is the goal then I would think performance ...
1
vote
Accepted
Google extension Check My Links returns different test results for the same webpage
Some webpages display elements based on viewport size of the browser. I have used CheckMyLinks XPI with chromedriver in a test Automation suite in the past and it provided consistent results.
Please ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
web-testing × 16automated-testing × 4
selenium-webdriver × 3
manual-testing × 3
web-application × 3
visualstudio × 2
functional × 2
web × 2
python × 1
performance × 1
browser-automation × 1
unit-tests × 1
api-testing × 1
testcase × 1
performance-testing × 1
selenium-ide × 1
mobile-automation × 1
chrome × 1
css-selectors × 1
team × 1
programmer-relations × 1
test-creation × 1
watir × 1
test-techniques × 1
action-recording × 1