Add1Change5.script Script
//Open the browser to your PT applications webpage
WebPage.Get("http://<Your ServerName>/tat/en-us/gate.asp")
WebPage.Get("http://<Your ServerName>/tat/menu/menu.asp")
WebPage.Get("http://<Your ServerName>/tat/en-us/border.htm")
Sleep(20)
WebPage.Get("http://<Your ServerName>/tat/en-us/Welcome.htm")
//Select the User Information page to display the Person form
Sleep(1432)
WebPage.FormData["fileName"] = "person"
WebPage.Get("http://<Your ServerName>/tat/en-us/gate.asp")
WebPage.Get("http://<Your ServerName>/tat/menu/menu.asp")
WebPage.Get("http://<Your ServerName>/tat/en-us/border.htm")
Sleep(10)
WebPage.FormData["fileName"] = "person"
WebPage.Get("http://<Your ServerName>/tat/en-us/logo.htm")
Sleep(10)
WebPage.FormData["fileName"] = "person"
WebPage.Get("http://<Your ServerName>/tat/en-us/person.htm")
Sleep(10)
WebPage.FormData["fileName"] = "person"
WebPage.Get("http://<Your ServerName>/tat/en-us/personList.htm")
//add a new person the the database
Sleep(28882)
WebPage.FormData["tableName"] = "person"
WebPage.FormData["procName"] = "lw_addPerson"
WebPage.FormData["actionBtn"] = "ADD"
WebPage.FormData["PersonId"] = ""
WebPage.FormData["ID"] = ""
WebPage.FormData["ReleaseInfo"] = "1101000000000"
WebPage.FormData["FirstName"] = "one"
WebPage.FormData["chkReleaseFirstName"] = "on"
WebPage.FormData["LastName"] = "student"
WebPage.FormData["chkReleaseLastName"] = "on"
WebPage.FormData["StudentId"] = ""
WebPage.FormData["Email"] = "1student@company.com"
WebPage.FormData["chkReleaseEmailName"] = "on"
WebPage.FormData["Phone"] = ""
WebPage.FormData["Street"] = ""
WebPage.FormData["City"] = ""
WebPage.FormData["Region"] = ""
WebPage.FormData["PostalCode"] = ""
WebPage.FormData["Country"] = ""
WebPage.FormData["Contact"] = ""
WebPage.FormData["ContactPhone"] = ""
WebPage.FormData["ContactRelationship"] = ""
WebPage.Post("http://<Your ServerName>/tat/Scripts/postIt.asp")
//change that person's information
Sleep(47839)
WebPage.FormData["tableName"] = "person"
WebPage.FormData["procName"] = "lw_changePerson"
WebPage.FormData["actionBtn"] = "CHANGE"
WebPage.FormData["PersonId"] = "9517"
WebPage.FormData["ID"] = "9517"
WebPage.FormData["ReleaseInfo"] = "1101000000000"
WebPage.FormData["FirstName"] = "one"
WebPage.FormData["chkReleaseFirstName"] = "on"
WebPage.FormData["LastName"] = "student"
WebPage.FormData["chkReleaseLastName"] = "on"
WebPage.FormData["StudentId"] = ""
WebPage.FormData["Email"] = "1student@company.com"
WebPage.FormData["chkReleaseEmailName"] = "on"
WebPage.FormData["Phone"] = ""
WebPage.FormData["Street"] = "One Microsoft Way"
WebPage.FormData["City"] = "Redmond"
WebPage.FormData["Region"] = "WA"
WebPage.FormData["PostalCode"] = "98052"
WebPage.FormData["Country"] = "USA"
WebPage.FormData["Contact"] = ""
WebPage.FormData["ContactPhone"] = ""
WebPage.FormData["ContactRelationship"] = ""
WebPage.Post("http://<Your ServerName>/tat/Scripts/postIt.asp")
//change that person's information
Sleep(33217)
WebPage.FormData["tableName"] = "person"
WebPage.FormData["procName"] = "lw_changePerson"
WebPage.FormData["actionBtn"] = "CHANGE"
WebPage.FormData["PersonId"] = "9517"
WebPage.FormData["ID"] = "9517"
WebPage.FormData["ReleaseInfo"] = "1101000000000"
WebPage.FormData["FirstName"] = "one"
WebPage.FormData["chkReleaseFirstName"] = "on"
WebPage.FormData["LastName"] = "student"
WebPage.FormData["chkReleaseLastName"] = "on"
WebPage.FormData["StudentId"] = ""
WebPage.FormData["Email"] = "1student@company.com"
WebPage.FormData["chkReleaseEmailName"] = "on"
WebPage.FormData["Phone"] = ""
WebPage.FormData["Street"] = "One Microsoft Way"
WebPage.FormData["City"] = "Redmond"
WebPage.FormData["Region"] = "WA"
WebPage.FormData["PostalCode"] = "98052"
WebPage.FormData["Country"] = "USA"
WebPage.FormData["Contact"] = "Jeff"
WebPage.FormData["ContactPhone"] = "74345"
WebPage.FormData["ContactRelationship"] = "Brother"
WebPage.Post("http://<Your ServerName>/tat/Scripts/postIt.asp")
//change that person's information
Sleep(15833)
WebPage.FormData["tableName"] = "person"
WebPage.FormData["procName"] = "lw_changePerson"
WebPage.FormData["actionBtn"] = "CHANGE"
WebPage.FormData["PersonId"] = "9517"
WebPage.FormData["ID"] = "9517"
WebPage.FormData["ReleaseInfo"] = "1101000000000"
WebPage.FormData["FirstName"] = "one"
WebPage.FormData["chkReleaseFirstName"] = "on"
WebPage.FormData["LastName"] = "student"
WebPage.FormData["chkReleaseLastName"] = "on"
WebPage.FormData["StudentId"] = ""
WebPage.FormData["Email"] = "1student@company.com"
WebPage.FormData["chkReleaseEmailName"] = "on"
WebPage.FormData["Phone"] = ""
WebPage.FormData["Street"] = "One Microsoft Way"
WebPage.FormData["City"] = "Redmond"
WebPage.FormData["Region"] = "WA"
WebPage.FormData["PostalCode"] = "98052"
WebPage.FormData["Country"] = "USA"
WebPage.FormData["Contact"] = "Suzie"
WebPage.FormData["ContactPhone"] = "74346"
WebPage.FormData["ContactRelationship"] = "Sister"
WebPage.Post("http://<Your ServerName>/tat/Scripts/postIt.asp")
//change that person's information
Sleep(27099)
WebPage.FormData["tableName"] = "person"
WebPage.FormData["procName"] = "lw_changePerson"
WebPage.FormData["actionBtn"] = "CHANGE"
WebPage.FormData["PersonId"] = "9517"
WebPage.FormData["ID"] = "9517"
WebPage.FormData["ReleaseInfo"] = "1101000000000"
WebPage.FormData["FirstName"] = "one"
WebPage.FormData["chkReleaseFirstName"] = "on"
WebPage.FormData["LastName"] = "student"
WebPage.FormData["chkReleaseLastName"] = "on"
WebPage.FormData["StudentId"] = ""
WebPage.FormData["Email"] = "1student@company.com"
WebPage.FormData["chkReleaseEmailName"] = "on"
WebPage.FormData["Phone"] = ""
WebPage.FormData["Street"] = "One Microsoft Way"
WebPage.FormData["City"] = "Redmond"
WebPage.FormData["Region"] = "WA"
WebPage.FormData["PostalCode"] = "98052"
WebPage.FormData["Country"] = "USA"
WebPage.FormData["Contact"] = "Jeanie"
WebPage.FormData["ContactPhone"] = "74346"
WebPage.FormData["ContactRelationship"] = "Mother"
WebPage.Post("http://<Your ServerName>/tat/Scripts/postIt.asp")
//change that person's information
Sleep(19939)
WebPage.FormData["tableName"] = "person"
WebPage.FormData["procName"] = "lw_changePerson"
WebPage.FormData["actionBtn"] = "CHANGE"
WebPage.FormData["PersonId"] = "9517"
WebPage.FormData["ID"] = "9517"
WebPage.FormData["ReleaseInfo"] = "1101000000000"
WebPage.FormData["FirstName"] = "one"
WebPage.FormData["chkReleaseFirstName"] = "on"
WebPage.FormData["LastName"] = "student"
WebPage.FormData["chkReleaseLastName"] = "on"
WebPage.FormData["StudentId"] = ""
WebPage.FormData["Email"] = "1student@company.com"
WebPage.FormData["chkReleaseEmailName"] = "on"
WebPage.FormData["Phone"] = ""
WebPage.FormData["Street"] = "One Microsoft Way"
WebPage.FormData["City"] = "Redmond"
WebPage.FormData["Region"] = "WA"
WebPage.FormData["PostalCode"] = "98052"
WebPage.FormData["Country"] = "USA"
WebPage.FormData["Contact"] = "PJ"
WebPage.FormData["ContactPhone"] = "74357"
WebPage.FormData["ContactRelationship"] = "Daddy"
WebPage.Post("http://<Your ServerName>/tat/Scripts/postIt.asp")
Sleep(13380)
WebPage.FormData["fileName"] = "personGroup"
WebPage.FormData["pid"] = "9517"
WebPage.Get("http://<Your ServerName>/tat/en-us/gate.asp")
WebPage.Get("http://<Your ServerName>/tat/menu/menu.asp")
WebPage.Get("http://<Your ServerName>/tat/en-us/border.htm")
Sleep(10)
WebPage.FormData["fileName"] = "personGroup"
WebPage.Get("http://<Your ServerName>/tat/en-us/logo.htm")
Sleep(20)
WebPage.FormData["fileName"] = "personGroup"
WebPage.FormData["pid"] = "9517"
WebPage.Get("http://<Your ServerName>/tat/en-us/personGroup.htm")
Sleep(10)
WebPage.FormData["fileName"] = "personGroup"
WebPage.FormData["pid"] = "9517"
WebPage.Get("http://<Your ServerName>/tat/en-us/personGroupList.htm")
Sleep(57814)
WebPage.FormData["lang"] = "en-us"
WebPage.Get("http://<Your ServerName>/tat/gate.asp")
Sleep(1753)
WebPage.FormData["fileName"] = "person"
WebPage.Get("http://<Your ServerName>/tat/en-us/gate.asp")
WebPage.Get("http://<Your ServerName>/tat/menu/menu.asp")
WebPage.Get("http://<Your ServerName>/tat/en-us/border.htm")
Sleep(30)
WebPage.FormData["fileName"] = "person"
WebPage.Get("http://<Your ServerName>/tat/en-us/logo.htm")
Sleep(20)
WebPage.FormData["fileName"] = "person"
WebPage.Get("http://<Your ServerName>/tat/en-us/person.htm")
Sleep(20)
WebPage.FormData["fileName"] = "person"
WebPage.Get("http://<Your ServerName>/tat/en-us/personList.htm")