Package

Source Code of SS_096_Test

/* order_test_1Test.java

  Purpose:
   
  Description:
   
  History:
    Sep, 7, 2010 17:30:59 PM

Copyright (C) 2010 Potix Corporation. All Rights Reserved.

This program is distributed under Apache License Version 2.0 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
*/

import org.zkoss.ztl.Widget;

//right click to shift left sheet "Market"
public class SS_096_Test extends SSAbstractTestCase {
 
  @Override
  protected void executeTest() {
    contextMenu(jq("@tab[label=\"Market\"] span.z-tab-text"));       
    waitResponse();
    click(jq("$shiftSheetLeft a.z-menu-item-cnt"));
    waitResponse();
   
   
    //verify       
    Widget marketSibling = widget(jq("@tab[label=\"Market\"]")).nextSibling();
    String content = jq(marketSibling).find("span").text();   
    verifyEquals("Debt", content);
  }
}


TOP

Related Classes of SS_096_Test

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.