public NewTemplateElement() { InitializeComponent(); LoadUrl loadUrl = new LoadUrl(); loadUrl.NewInstance(); availableBaseObjects.Add(loadUrl); GetInputFromUser getInputFromUser = new GetInputFromUser(); getInputFromUser.NewInstance(); availableBaseObjects.Add(getInputFromUser); SwitchWindowVisibility switchWindowVisibility = new SwitchWindowVisibility(); switchWindowVisibility.NewInstance(); availableBaseObjects.Add(switchWindowVisibility); ElementToLoad elementToLoad = new ElementToLoad(); elementToLoad.NewInstance(); availableBaseObjects.Add(elementToLoad); EventToTrigger eventToTrigger = new EventToTrigger(); eventToTrigger.NewInstance(); availableBaseObjects.Add(eventToTrigger); GetAttribute getAttribute = new GetAttribute(); getAttribute.NewInstance(); availableBaseObjects.Add(getAttribute); GetHttpAuth getHttpAuth = new GetHttpAuth(); getHttpAuth.NewInstance(); availableBaseObjects.Add(getHttpAuth); GetImage getImage = new GetImage(); getImage.NewInstance(); availableBaseObjects.Add(getImage); GetJsPrompt getJsPrompt = new GetJsPrompt(); getJsPrompt.NewInstance(); availableBaseObjects.Add(getJsPrompt); GetStyle getStyle = new GetStyle(); getStyle.NewInstance(); availableBaseObjects.Add(getStyle); InvokeSubmit invokeSubmit = new InvokeSubmit(); invokeSubmit.NewInstance(); availableBaseObjects.Add(invokeSubmit); InvokeMouseClick invokeMouseClick = new InvokeMouseClick(); invokeMouseClick.NewInstance(); availableBaseObjects.Add(invokeMouseClick); JavascriptToExecute javascriptToExecute = new JavascriptToExecute(); javascriptToExecute.NewInstance(); availableBaseObjects.Add(javascriptToExecute); ResourceToLoad resourceToLoad = new ResourceToLoad(); resourceToLoad.NewInstance(); availableBaseObjects.Add(resourceToLoad); SetAttribute setAttribute = new SetAttribute(); setAttribute.NewInstance(); availableBaseObjects.Add(setAttribute); SetHttpAuth setHttpAuth = new SetHttpAuth(); setHttpAuth.NewInstance(); availableBaseObjects.Add(setHttpAuth); SetJsPrompt setJsPrompt = new SetJsPrompt(); setJsPrompt.NewInstance(); availableBaseObjects.Add(setJsPrompt); SetStyle setStyle = new SetStyle(); setStyle.NewInstance(); availableBaseObjects.Add(setStyle); SiteLoaded siteLoaded = new SiteLoaded(); siteLoaded.NewInstance(); availableBaseObjects.Add(siteLoaded); GetInnerText getInnerText = new GetInnerText(); getInnerText.NewInstance(); availableBaseObjects.Add(getInnerText); GetInnerHtml getInnerHtml = new GetInnerHtml(); getInnerHtml.NewInstance(); availableBaseObjects.Add(getInnerHtml); SetValue setValue = new SetValue(); setValue.NewInstance(); availableBaseObjects.Add(setValue); SecondsToWait secondsToWait = new SecondsToWait(); secondsToWait.NewInstance(); availableBaseObjects.Add(secondsToWait); InvokeFullKeyboardEvent invokeFullKeyBoardEvent = new InvokeFullKeyboardEvent(); invokeFullKeyBoardEvent.NewInstance(); availableBaseObjects.Add(invokeFullKeyBoardEvent); }