public void RegistrationWithInvallidData() { if (!IsTcAdded) { Report.AddToHtmlReportTCHeader("Register Test Cases"); IsTcAdded = true; } Report.AddToHtmlReport("TC_002: To veriy user is not able to register with invalid details.", true, false, true); Report.AddToHtmlReport("STEP 1: Insert Url in Browser Addressbar.", false, true); driver = Browser.OpenWithSelectedBrowser(driver, ProjectUrl, true); RegisterObjects objHome = new RegisterObjects(); driver = objHome.RegistrationWithInvallidData(driver); if (Convert.ToInt16(ConfigurationSettings.AppSettings.Get("CloseBrowser")) == 1) { Browser.CloseBrowser(driver); } }
// Start is called before the first frame update void Awake() { roomNavigation = GetComponent <RoomNavigation>(); textInput = GetComponent <TextInput>(); interactableItems = GetComponent <InteractableItems>(); registerObjects = GetComponent <RegisterObjects>(); registerRooms = GetComponent <RegisterRooms>(); map = GetComponent <MiniMap>(); debugClass = GetComponent <DebugMode>(); additionalNarrations = GetComponent <AdditionalNarrations>(); npcTalk = GetComponent <NPCTalk>(); npcInteraction = GetComponent <NPCInteraction>(); demoScript = GetComponent <DemoScript>(); achievements = GetComponent <Achievements>(); combat = GetComponent <Combat>(); teleType = GetComponent <TeleType>(); introScreen = GetComponent <IntroScreen>(); GameObject.Find("MainScrollRect").GetComponent <ScrollRect>().verticalNormalizedPosition = 0.5f; //enterToContinue = false; //escToContinue = false; //toResumeEscToContinue = false; //exitPopUp = false; debugMode = false; secondQuestActive = false; currentActiveInput = "main"; ego.equippedWeapon = null; ego.equippedArmor = null; ego.equippedShield = null; ego.chosenAction = ""; ego.allStats[0].value = 100; ego.allStats[1].value = 100; ego.allStats[2].value = 100; ego.allStats[3].value = 0; ego.allStats[4].value = 1; ego.allStats[5].value = 0; ego.allStats[6].value = 4; ego.allStats[7].value = 0; ego.allStats[8].value = 1.5f; ego.allStats[9].value = 0; ego.allStats[10].value = 0; for (int i = 0; i < ego.allStats.Length; i++) { ego.allStats[i].effectValue = 0; } ego.activeEffects.Clear(); ego.defeatedBadGuys.Clear(); ego.blueCrystals = 0; ego.bankedCrystals = 0; ego.fightClubRank = 0; ego.fleeLocation = ""; ego.conversation = 0; ego.currentInit = 0; ego.displayAction = ""; ego.chosenAction = ""; ego.chosenItem = null; ego.chosenItem2 = null; ego.chosenTarget = null; ego.potionBelt.Clear(); //enterToContinueDialogue = false; //timeDelay = 1; sentences = new Queue <string>(); pauses = new Queue <int>(); //ego = Instantiate(ego); }