IDEMPIERE-92 Implement Selenium testing framework. Added instanceName for selenium script.
This commit is contained in:
parent
8619761edf
commit
ea9830767d
|
@ -37,6 +37,7 @@ import java.util.Vector;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
import org.adempiere.webui.AdempiereWebUI;
|
||||||
import org.adempiere.webui.LayoutUtils;
|
import org.adempiere.webui.LayoutUtils;
|
||||||
import org.adempiere.webui.component.Button;
|
import org.adempiere.webui.component.Button;
|
||||||
import org.adempiere.webui.component.Column;
|
import org.adempiere.webui.component.Column;
|
||||||
|
@ -240,8 +241,9 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
this.setTitle(Msg.getMsg(Env.getCtx(), "Find").replaceAll("&", "") + ": " + title);
|
this.setTitle(Msg.getMsg(Env.getCtx(), "Find").replaceAll("&", "") + ": " + title);
|
||||||
this.setClosable(false);
|
this.setClosable(false);
|
||||||
this.setSizable(true);
|
this.setSizable(true);
|
||||||
this.setMaximizable(true);
|
this.setMaximizable(false);
|
||||||
|
|
||||||
|
this.setWidgetAttribute(AdempiereWebUI.WIDGET_INSTANCE_NAME, "findWindow");
|
||||||
this.setId("findWindow_"+targetWindowNo);
|
this.setId("findWindow_"+targetWindowNo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import org.adempiere.webui.AdempiereWebUI;
|
||||||
import org.adempiere.webui.component.Button;
|
import org.adempiere.webui.component.Button;
|
||||||
import org.adempiere.webui.component.ConfirmPanel;
|
import org.adempiere.webui.component.ConfirmPanel;
|
||||||
import org.adempiere.webui.component.Label;
|
import org.adempiere.webui.component.Label;
|
||||||
|
@ -132,6 +133,7 @@ public class WChat extends Window implements EventListener<Event>, DialogEvents
|
||||||
*/
|
*/
|
||||||
private void staticInit () throws Exception
|
private void staticInit () throws Exception
|
||||||
{
|
{
|
||||||
|
this.setAttribute(AdempiereWebUI.WIDGET_INSTANCE_NAME, "chat");
|
||||||
this.appendChild(mainPanel);
|
this.appendChild(mainPanel);
|
||||||
mainPanel.setStyle("position:absolute; height:90%; width:95%; border: none; background-color: white;");
|
mainPanel.setStyle("position:absolute; height:90%; width:95%; border: none; background-color: white;");
|
||||||
//
|
//
|
||||||
|
|
|
@ -26,6 +26,7 @@ import java.util.ArrayList;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import org.adempiere.webui.AdempiereWebUI;
|
||||||
import org.adempiere.webui.apps.AEnv;
|
import org.adempiere.webui.apps.AEnv;
|
||||||
import org.adempiere.webui.component.ConfirmPanel;
|
import org.adempiere.webui.component.ConfirmPanel;
|
||||||
import org.adempiere.webui.component.Listbox;
|
import org.adempiere.webui.component.Listbox;
|
||||||
|
@ -92,6 +93,7 @@ public class WRecordInfo extends Window implements EventListener<Event>
|
||||||
this.setBorder("normal");
|
this.setBorder("normal");
|
||||||
this.setSizable(true);
|
this.setSizable(true);
|
||||||
this.setClosable(true);
|
this.setClosable(true);
|
||||||
|
this.setWidgetAttribute(AdempiereWebUI.WIDGET_INSTANCE_NAME, "recordInfo");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue