Need automated tests for filtering, sorting, counting

Find a consultant or advertise your services here
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team
Post Reply
amitagnihotri13
Posts: 2
Joined: Fri Jul 05, 2013 5:03 am

Need automated tests for filtering, sorting, counting

Post by amitagnihotri13 » Fri Jul 05, 2013 5:10 am

Hi

I am looking for a solution to automate some tests related to filtering and sorting on a shopping site. Please let me know the best possible way to automate them using iMacros and VBScripting. What will be your fee to provide this customized solution?

Case 1:

1. Go to http://www.jabong.com/men/shoes/men-spo ... ce&dir=asc
2. Select the filter Rs.8001-10500 in the left frame
3. It filters the results in right frame and displays shoes, where prices are within the selected filter range

User Story: As a Tester, I want to automate test that very 1st, very last and any item in the middle must be within the selected date range.
Acceptance Criteria: When price of 1st, last and any item in the middle is lesser or greater than specified filter range then it should return an error.

Case 2:

1. Go to http://www.jabong.com/men/shoes/men-spo ... ce&dir=asc
2. Select "Price: Low to high" from Sorted By dropdown
3. It sorts the items on the page low price to high price

User Story: As a Tester, I want to automate test that items are sorted in low to high price order.
Acceptance criteria:
Price of 1st item should be equal to or less than the 2nd consecutive item
Price of 2nd item should be equal to or less than the 3rd consecutive item
Price of 2nd item should be equal to or greater than the 1st item

Case 3:

1. Go to http://www.jabong.com/men/shoes/men-spo ... ce&dir=asc
2. It displays the items on the page.

User Story: As a Tester, I want to count the total items displayed on the page to check whether the total items number displayed by filters and in the header is OK or not?

Acceptance criteria:

It returns total number of items on the page, if there are 20 items then it should return 20
Then this number should match to the total numbers displayed by filter on left frame and in the header


Please let me know how soon the solution can be provided?
Post Reply