Dealing with a shopping cart test scenario

How to use eValid to support regression testing.

Dealing with a shopping cart test scenario

Postby HDempsey » Mon May 03, 2021 9:46 am

Good morning.

I have a test scenario and I was wondering if eValid could accomplish it:

The shopping cart has two products, normal product and personalized product.

Against each normal product there is a "move to Wishlist" button and there is no "move to Wishlist" button for personalized product.

The test needs to validate the absence of the "move to Wishlist" button for the personalized product.

Any ideas on how eValid to can complete this task?

Thanks in advance.
HDempsey
 
Posts: 1
Joined: Mon May 03, 2021 9:30 am

Re: Dealing with a shopping cart test scenario

Postby eValid » Tue May 04, 2021 10:04 am

HDempsey wrote:Good morning.

I have a test scenario and I was wondering if eValid could accomplish it:

The shopping cart has two products, normal product and personalized product.

Against each normal product there is a "move to Wishlist" button and there is no "move to Wishlist" button for personalized product.

The test needs to validate the absence of the "move to Wishlist" button for the personalized product.

Any ideas on how eValid to can complete this task?

Thanks in advance.


Thanks for asking about this HDempsey.

The best solution is to use one of these commands:

IndexFindElement

IndexFindElementEx

as described here in this manual page:

http://e-valid.com/Products/Documentati ... event.html`

What you are looking for is the absence of a find in the search.

The way to detect that is to set sourceIndex to 0 and verify after the search has finished, that it is STILL 0.

It would have been changed to be the sourceIndex of the element where a match was found.`


-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Regression Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons