selenium:add case for test stop conductor

git-svn-id: http://talendforge.org/svn/tis_shared/branches/branch-5_0@77779 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
fgzhang
2012-02-03 08:41:55 +00:00
parent 793f755443
commit 8a7f91095a

View File

@@ -0,0 +1,36 @@
package com.talend.tac.cases.esbconductor;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
public class TestStopConductor extends ESBConductorUtils {
@Test
@Parameters({"labelOfService", "desOfService", "repository", "group", "artifact",
"version", "name", "type", "context", "serverOfRuntime"})
public void testStopESBConductor(String label, String des, String repository,
String group, String artifact, String version, String name, String type,
String context, String server) {
String startId = "idESBConductorTaskGridStartButton";
String startStatus = "Started";
String startPromptInfo = "Bundle 'jobSecondProvider' started.";
String stopId = "idESBConductorTaskGridStopButton";
String stopStatus = "Stopped";
String stopPopupInfo = "Are you sure you want to stop the bundle 'jobSecondProvider'";
String StopPromptInfo = "Bundle 'jobSecondProvider' stopped.";
this.addESBConductor(label, des, repository, group, artifact,
version, name, type, context, server);
this.deployStartConductor(label, name, startPromptInfo,
startId, startStatus);
this.undeployStopConductor(label, name, stopId,
stopStatus, stopPopupInfo,
StopPromptInfo);
}
}