Hi, My Application uses the generates the Random Order of the Questions and saves it in DB. Query the DB and get the sequence and match the questions are getting displayed in that order.
This is the most dump(or smart) way to save time and make it sure the UI displays correctly. I backed up with strong JUnit to make sure the randomizer is working as expected. Do u have any other thoughts? On Fri, Jan 30, 2009 at 8:59 AM, PBMax <[email protected]> wrote: > > How did it go? > > On Jan 27, 11:38 pm, Satheesh Jayabalan <[email protected]> > wrote: > > Thanks for the input. I will apply ur thoughts and comeback to you. > > > > Regards > > Satheesh.J > > > > > > > > > > > > On Tue, Jan 27, 2009 at 6:16 PM, PBMax <[email protected]> wrote: > > > > > I would create an arraylist of questions. When you have the first > > > question come up you can get the text of the question and see if the > > > array list "Contains" that item. If it does then "Remove" the item > > > from the array list. If the item doesn't exist in the array list > > > because it is an unknown question then there is an error. If a valid > > > question shows up again then it would have already been removed from > > > the arraylist so this is an error. If you close down the application > > > and restart it then the remaining items will be left in the > > > arraylist. Order doesn't matter because you just care that a valid > > > question is contained in the arraylist. > > > > > More on arraylists: > > > > >http://www.robvanderwoude.com/vbstech_data_arraylist.html > > > > > There are better ways to get this done such as using excel so that the > > > data can be updated in the future easily but this is the easiest. > > > > > PB > > > > > On Jan 27, 12:46 am, Satheesh Jayabalan <[email protected]> > > > wrote: > > > > Hi Ganadhar, > > > > > > I need to verify the sequences are correct. > > > > > > Say for example, if the applicant is taking up the interview for the > > > first > > > > time, the questions should appear in random order. > > > > > > And if he has answered for the first 2 questions and exits the > interview, > > > > when he comes back to take the interview again, the remaining 8 > questions > > > > should again be in random order. Not in the order in which he has > taken > > > > interview. > > > > > > This is the feature which I am supposed to test. > > > > > > How do I test this ? > > > > > > On Tue, Jan 27, 2009 at 11:02 AM, ganadhar < > [email protected] > > > >wrote: > > > > > > > Hi Satheesh, > > > > > > > Can you be specific on what you want to test? > > > > > Your problem statement says the questions are randomized, but what > are > > > > > you actually looking to verify? > > > > > > > Regards > > > > > Ganadhar > > > > > > > On Jan 27, 2:21 pm, Satheesh Jayabalan <[email protected]> > wrote: > > > > > > Hi, > > > > > > > > My Application has a sequence of question, which are randomized > every > > > > > time. > > > > > > > > The order of the question will never be the same. > > > > > > > > How do I test this scenario. > > > > > > > > -- > > > > > > _______________________ > > > > > > > > Satheesh.J > > > > > > 99450 - 31654 > > > > > > _______________________ > > > > > > -- > > > > _______________________ > > > > > > Satheesh.J > > > > 99450 - 31654 > > > > _______________________- Hide quoted text - > > > > > > - Show quoted text - > > > > -- > > _______________________ > > > > Satheesh.J > > 99450 - 31654 > > _______________________- Hide quoted text - > > > > - Show quoted text - > > > > -- _______________________ Satheesh.J 99450 - 31654 _______________________ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
