Beispiel #1
0
 public static API_IE_CxWebClient login(this API_IE_CxWebClient cxClient, string username, string password)
 {
     if (cxClient.loggedIn())
     {
         "[API_IE_CxWebClient][login] user already logged in, skipping login".info();
     }
     else
     {
         cxClient.open("/CxWebClient/login.aspx");
         ie.field("txtUserName").value(username);
         ie.field("txtPassword").value(password);
         ie.button("Login").click();
     }
     return(cxClient);
 }
		public static API_IE_ExecutionGUI homepage(this API_IE_CxWebClient cxWeb)
		{
			return cxWeb.open(""); 
		}