Commit 1c165017 authored by Roque Porchetto's avatar Roque Porchetto

scalaiblity_test: refactoring createSaleOrder test

parent 156e3afa
......@@ -200,12 +200,13 @@ def createSaleOrder(result, browser):
# browser.mainForm.submit(name='Base_callDialogMethod:method',
# sleep=(TMIN_SLEEP, TMAX_SLEEP)))
#Add Sale order lines
max_ite = random.randint(1,MAX_PRODUCT)
for i in range (0, max_ite):
browser.open(sale_order_url+"/view")
addOrderLine(browser, my_title, result)
# Add Sale order lines
#max_ite = random.randint(1,MAX_PRODUCT)
#for i in range (0, max_ite):
# browser.open(sale_order_url+"/view")
# addOrderLine(browser, my_title, result)
addOrderLine(browser, my_title, result)
browser.open(my_order_sale_url)
# Validate the Sale Order
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment