Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As the title mentioned above, how can we test waiting indicator or progress indicator on a web-page. I have been assigned following task:

Apply wait indicator to display on every page. If page loads in quickly the indicator would not display. If the page is slow to load or there is a delay, the wait indicator will display so the user will know something is happening. The indicator should only show up if page takes longer then 1-2 seconds to load.

I have no idea how to test. Please advise.

enter image description here

share|improve this question
    
You can achieve this by changing network settings to 2g,3g,wifi. if u want to do in Automation Jmeter will help you. – sameer joshi Jan 11 at 9:21
    
I have to test on laptop. I have no idea about Jmeter. Do I have to learn Jmeter for this? Isn't there any other way to test this manually? – Muhammad Ali Khamis Jan 11 at 9:22
    
Jmeter is an Automation tool you need to write script to use jmeter, in manually as you said you are using laptop with photon? then you can reduce speed by reducing the Maximum speed(in bps) it will be available on modem configuration. – sameer joshi Jan 11 at 9:31
    
@sameerjoshi - How jmeter can help here? Can you explain? – Helping Hands Jan 11 at 9:34
    
jmeter helps to create virtual users[Load testing] in that way definitely your network speed will be reduced thats what i thought. i didnt much explored about Jmeter sorry if my understandings are wrong. – sameer joshi Jan 11 at 9:36

Try to access the page on a slow network. Get a bad broadband connection with slow internet speed and load the page. It'll take some time to load the page and in the mean while if the page loader displays have celebrations with your team otherwise report a bug.

You can also try connecting your mobile data to your laptop via hotspot or even via Bluetooth (if you have a Bluetooth enabled laptop or a dongle for it). That might help you with a slow net speed. You can call the customer care of your mobile carrier for settings to share your mobile internet with your laptop.

share|improve this answer
    
Thanks. Good tips. Will apply. – Muhammad Ali Khamis Jan 11 at 9:52

Depending on what you need to test:

  1. To test the progress indicator.
    Find a slow page in you system under test and verify the time between the command to open the page and the moment the page is fully drawn, as well as the appearance of the indicator in between. Document the test case for future use. Add a fast page as negative test. As mentioned in the comment above by @sameer joshi you can spoof slowness by slowing down your connection is some way. Apple has some standard development tools for this.

  2. To test the system for progress indicator handling.
    Open each and every page of the system and verify they either comply with the positive or negative test case as mentioned above.

  3. To fully test the system for progress indicator handling.
    Ask development to give you a slow and a fast version of every page of the system and verify they both comply with the positive or negative test case as mentioned above.

Needless to say situation 2 and 3 are cumbersome to test manually. Automation would conceivably help here, but: You'd really want to research if there is a standard handling for the function. There should be. Then you only need to check situation 1 and review the code that the same standard solution is present everywhere.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.