Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Comments on LYT/doc/test-script.md

Test schedule for LYT

Login:

- 1: Log on using correct username + password

- 2: Log on using correct username + incorrect password without illegal 
  characters

- 3: Log on using incorrect username without illegal characters + correct
  password

- 4: Log on with 'Capslock' on

- 5: Log on with non-UTF8-username *What does non-UTF8 mean?*

- 6: Log on with non-UTF8-password *What does non-UTF8 mean?*

- 7: Log on correctly, close tab, open it again. Still logged in?

- 8: Log on another device, then log off. Still logged on in first session? *What is the expected result?*

- 9: Log on correctly, log off, close tab, return to page. Still logged off?

- 10: Log on with 'guest/anypassword', check that you can play the books on the 
  shelf, use the search engine, but only play the freely available books in
  the database. 

- 11: Log on as guest, log off, then log on as normal user. Check your profile: 
  are you registered as the right user. 

- 12: Log on a normal user, then log off and log on as another normal user.
  Repeat above profile check. 

Searching and adding books:

- 1: Write 'Harry Potter' in the search field. Find all available Potter books?
  *What are all the available Potter books?*

- 2: Write 'krimi' in the search field. Check, that you only get crime fiction.
  *Which books are crime fiction?*

- 3: Write 'krimi Larsson' in the search field. Check, that you only get crime 
  fiction involving the name Larsson.
  *Same question as above.*

- 4: Find book without text and add it 

- 5: Find book with text and add it

- 6: Find comic book and add it

- 7: Find non-Danish book and add it

- 8: Log out, close tab, open again and log in. All books still there?
  *Adding books doesn't depend on the type, so we should be able to skip
   one book of each type.*

- 9: Remove a book, repeat above. Is the removal registered on return?

- 10: Log in on another device, keeping current session open as well. Add
  a book on the other device. Are the changes registered both places?

Playing books (linearly):

General:

    - 1: Open the book, press 'Play'. Does the book begin playing?
    
    - 2: Whilst playing, does the book start each new segment automatically?
      *Should it really say segment or is it section here?*
    
    - 3: Whilst playing, click 'Pause', then resume playing. 

    - 4: Whilst playing, click on the chapter's timeline. Does it jump to
      the place you've clicked?


(On a smartphone):

    - 5: Make a call to the phone whilst playing the book. Check, that 
      the book stops the playing, and can be started again at the correct
      chapter after the call
      
    - 6: Whilst playing, let the phone go on standby and lock. Does the 
      book keep playing undisturbed?
    
    Repeat above on: A normal book with/without text, a very large book 
    (e.g. a lexicon or similar), a non-Danish book.

Navigation between book sections:

- 1: Whilst playing a book, open the Chapter view, click a new chapter. Does it 
  begin playing?

- 2: Stop playing, repeat above. Does the new chapter begin playing immediately?

- 3: Whilst playing, click on the chapter's timeline. Does it jump to the place
  you've clicked?

- 4: Stop playing, repeat above. Does it begin the correct place when pressing
  'Play'?

- 5: In the middle of a chapter, click 'Forward'. Does it skip to the following
  section?

- 6: In the middle of a chapter, click 'Forward' twice. Does it skip two sections
  ahead?

- 7: In the middle of a chapter, click 'Forward' ten times in rapid succession.
  Does it skip ten sections ahead?

- 8: Wait until just before the ending of a section (not a book chapter), then 
  click 'Forward'. Do you skip to the next section?

- 9: Wait until just before the ending of a book chapter, then click 'Forward'.
  Does it skip to the beginning of the new chapter?

- 10: Repeat above with the 'Backwards' button.

- 11: Just at the beginning of a new section (not a book chapter), click 'Backwards'. 
  Does it begin at the beginning of the last section?

- 12: Just at the beginning of a new book chapter, click 'Backwards'. Does it begin 
  at the last section of the previous chapter?

- 13: Try the above with normally functioning books as well as books known to have 
  problems with overlapping sections, gaps between sections and books which are known to 
  snap off the last bits of text in each segment. 
  *Eh? Which books?*

Special cases for playing:

- Whilst on a mobile device: Open a book, pause it. Then exit the player, 
  log on another network and return to the book again. Does it continue uninterrupted?

Modifying settings:

- 1: Log on as normal user, change background colour. Play a book, checking that 
  the changes are registered.

- 2: Repeat above consecutively with text size and font. 

- 3: Log off, log on again and check that changes persist.

- 4: Log on as a guest, change background colour, text size, and font, play a book.

- 5: Log out, log on as guest again and check that the changes are not registered. 

Comics: There are two kind of comics. Which kind?

    - 1: Open the comic, press 'Play'. Does the images seem to follow sound?
    
    - 2: Whilst playing, check that the image is scaled properly. Can you see everything?
    
    - 3: Whilst playing, click 'Pause', then resume playing. 

    - 4: Whilst playing, click on the chapter's timeline. Does it jump to
      the place you've clicked?

    - 5: Check, that clicking repeatedly on the images does not affect playing. 

    - 6: Forward and backward playing, checking that this does not disrupt the 
      showing of the images. 

Bookmarks:

    - 1: Open a book, place a bookmark in three different chapters. 
    
    - 2: Enter the bookmark index, click consecutively on each of the 
         bookmarks. Do they take you to the correct place in the book?
         
    - 3: Whilst playing, doubleclick the bookmark button. Check the 
         bookmark index: Have you created two bookmarks?
         *What is the expected outcome?*
         
    - 4: Wait until just before the end of a sound segment, then place a
         bookmark there. Does it work correctly?
         
    - 5: Place a bookmark just at the beginning of a sound segment. Does it work 
         correctly?
         
    - 6: Log out, then back in. Are your bookmarks still there?
    
    - 7: Remove your bookmarks. 
         *....and then...?*

Other comments

  • We should write test cases for the following:
    • Using a browser with JavaScript disabled.
@hwh

This comment has been minimized.

Copy link

@hwh hwh commented Nov 1, 2012

In Navigation, item 12.. describe that for books with text, it is correct behaviour to NOT go back to the last section in the previous chapter, but merely starting from the beginning on the current section.

@NajaWulff

This comment has been minimized.

Copy link

@NajaWulff NajaWulff commented Nov 5, 2012

Hi. I can't find a normal edit link for these comments, so I have summed up the answers as follows:

  • 5: Log on with non-UTF8-username/password What does non-UTF8 mean?

Ah, yes: I actually meant non-unicode character, but found that I couldn't actually create non-unicode on my Windows computer - as such I figured it wouldn't be a likely problem, but forgot to erase the test case.

  • 8: Log on another device, then log off. Still logged on in first session? What is the expected result?

As I've understood it, the expected result is that you're still logged on in the frst session.

  • 1: Write 'Harry Potter' in the search field. Find all available Potter books? What are all the available Potter books?

The avaliable HP books are:
Harry Potter and the Philosopher's Stone,
Harry Potter and the Chamber of Secrets,
Harry Potter and the Prisoner of Azkaban,
Harry Potter and the Goblet of Fire,
Harry Potter and the Order of the Phoenix,
Harry Potter and the Half-Blood Prince,
Harry Potter and the Deathly Hallows

  • 2: Write 'krimi' in the search field. Check, that you only get crime fiction.
    Which books are crime fiction?

I don't really know how to answer. Crime fiction covers books containing (fictitious) murders and murder enquiries. Main point of this test case is to make sure that the search engine accounts for the difference between crime fiction and e.g. academic books about crime etc.

  • 3: Write 'krimi Larsson' in the search field. Check, that you only get crime
    fiction involving the name Larsson.
    Same question as above.

By this, I refer to book where either the writer, the title or the content contains the word 'Larsson' and where the genre is crime fiction.

  • 8: Log out, close tab, open again and log in. All books still there?
    Adding books doesn't depend on the type, so we should be able to skip
    one book of each type.

This is correct.

  • 2: Whilst playing, does the book start each new segment automatically? Should it really say segment or is it section here?

Section is correct.

  • 13: Try the above with normally functioning books as well as books known to have
    problems with overlapping sections, gaps between sections and books which are known to
    snap off the last bits of text in each segment.
    Eh? Which books?

If you refer to the last typ of books, this is a flaw reported by the Support staff, referring to a number of titles. As far as I know, it was found out that the problem had to do with the books being recorded wrongly. I have therefore not tested with that type of book in mind, but neglected to remove it from the test cases.

  • 3: Whilst playing, doubleclick the bookmark button. Check the bookmark index: Have you created two bookmarks? What is the expected outcome?

The expected outcome is to only have one bookmark.

  • 7: Remove your bookmarks.
    ....and then...?

And check that they actually get removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment