I hope I am in right places.
Recently I want to test similecookie performance. The test procedure is:
Go to http://www.smileycookie.com
Select from menu “Shop By Price”
Select menu item “$20.00 -$30.00”;
Select Position dropdown and select Sort Product by “Sales Rank”;
Click the first item on the page;
Enter QTY to “3”
Click “ADD TO BASKET”
Click “PROCEED TO CHECKOUT”
=================
I wrote scripts like:
logData 1
navigate http://www.smileycookie.com/
click innerText=“$20.00 -$30.00”
//navigate http://www.smileycookie.com/shop-by-pric...hirty.html
navigate http://www.smileycookie.com/shop-by-pric...sales_rank
navigate http://www.smileycookie.com/travel-mug-c...asket.html
//click title=“Travel Mug and Gourmet Sugar Cookie Gift Basket”
//click innerText=“Travel Mug and Gourmet Sugar Cookie Gift Basket”
//clickAndWait id=“name1”
//Enter QTY to “3”
setValue id=qty 3
//Click “ADD TO BASKET”
click className=“button add-to-cart”
//Click “PROCEED TO CHECKOUT”
clickAndWait title=“Proceed to Checkout”
The issue:
a) The homepage popups a dialog and block next click event.
b) Though popup is closed manually, the next click and clickAndWait with title/className/innerText seems still not work.
The test browser is FF.
Could anyone help me resolve this issues(a and b). Or correct me if any wrong in my scripts. Thanks