Skip to main content
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 ...
Alexey R.'s user avatar
  • 11.6k
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 ...
Blub's user avatar
  • 311
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 ...
Michael Durrant's user avatar
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 ...
Vishal's user avatar
  • 1,262
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'...
Michal Dobrzycki's user avatar
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 -...
Kate Paulk's user avatar
  • 31.5k
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, ...
mdymek's user avatar
  • 469
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 ...
Kevin McKenzie's user avatar
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 ...
Daniel's user avatar
  • 968
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 ...
Niels van Reijmersdal's user avatar
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 ...
CJ Dennis's user avatar
  • 278
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 ...
Alexey R.'s user avatar
  • 11.6k
2 votes
Accepted

Best practice for UI test automation to verify that data entered by user persists correctly in the system

Your proposals have a few problems: Check a confirmation message that is shown on a web page after adding a record. It doesn't say anything about the interaction with the backend. Anyone can code ...
João Farias's user avatar
  • 10.9k
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 ...
João Farias's user avatar
  • 10.9k
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 ...
Narendra Chandratre's user avatar
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 ...
Lee Jensen's user avatar
  • 2,240
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 ...
phyrfox's user avatar
  • 111
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 ...
dp1005's user avatar
  • 11
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 ...
Bharath QA's user avatar
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 ...
Parth Pandya's user avatar
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 ...
newsn31's user avatar
  • 609
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 ...
Dakshinamurthy Karra's user avatar
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 ...
Kate Paulk's user avatar
  • 31.5k
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 ...
Alexey R.'s user avatar
  • 11.6k
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.
Amorphis's user avatar
  • 186
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 ...
mutt's user avatar
  • 1,693
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 ...
BountyHunter's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible