BDG Scenario 3

Refresh.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(30)
WebPage.Get("http://<Your ServerName>/tat/en-us/Welcome.htm")


//Select User Information to display the Person form  
Sleep(10000)
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(10)
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")


 
//Select Home to display the Welcome form   
Sleep(60000)
WebPage.FormData["lang"] = "en-us"
WebPage.Get("http://<Your ServerName>/tat/gate.asp")

 

//Select Group Information to display the Group form   
Sleep(10000)
WebPage.FormData["fileName"] = "group"
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"] = "group"
WebPage.Get("http://<Your ServerName>/tat/en-us/logo.htm")
 
 
Sleep(20)
WebPage.FormData["fileName"] = "group"
WebPage.Get("http://<Your ServerName>/tat/en-us/group.htm")
 
 
Sleep(20)
WebPage.FormData["fileName"] = "group"
WebPage.Get("http://<Your ServerName>/tat/en-us/groupList.htm")

 

//Select Home to display the Welcome form    
Sleep(30000)
WebPage.FormData["lang"] = "en-us"
WebPage.Get("http://<Your ServerName>/tat/gate.asp")


 
//Select Location Information to display the Location form    
Sleep(10000)
WebPage.FormData["fileName"] = "location"
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"] = "location"
WebPage.Get("http://<Your ServerName>/tat/en-us/logo.htm")
 
 
Sleep(20)
WebPage.FormData["fileName"] = "location"
WebPage.Get("http://<Your ServerName>/tat/en-us/location.htm")
 
 
Sleep(10)
WebPage.FormData["fileName"] = "location"
WebPage.Get("http://<Your ServerName>/tat/en-us/locationList.htm")



//Select Home to display the Welcome form 
Sleep(30000)
WebPage.FormData["lang"] = "en-us"
WebPage.Get("http://<Your ServerName>/tat/gate.asp")

 

//Select Group Activities to display the Activity form 
Sleep(10000)
WebPage.FormData["fileName"] = "activity"
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"] = "activity"
WebPage.Get("http://<Your ServerName>/tat/en-us/logo.htm")
 
 
Sleep(20)
WebPage.FormData["fileName"] = "activity"
WebPage.Get("http://<Your ServerName>/tat/en-us/activity.htm")
 
 
Sleep(10)
WebPage.FormData["fileName"] = "activity"
WebPage.Get("http://<Your ServerName>/tat/en-us/activityList.htm")


 
//Select Home to display the Welcome form  
Sleep(30000)
WebPage.FormData["lang"] = "en-us"
WebPage.Get("http://<Your ServerName>/tat/gate.asp")



 
//Select Activity Type to display the ActivityType form  
Sleep(10000)
WebPage.FormData["fileName"] = "activityType"
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.FormData["fileName"] = "activityType"
WebPage.Get("http://<Your ServerName>/tat/en-us/logo.htm")
 
 
Sleep(10)
WebPage.FormData["fileName"] = "activityType"
WebPage.Get("http://<Your ServerName>/tat/en-us/activityType.htm")
 
 
Sleep(10)
WebPage.FormData["fileName"] = "activityType"
WebPage.Get("http://<Your ServerName>/tat/en-us/activityTypeList.htm")


//Select Home to display the Welcome form   
Sleep(30000)
WebPage.FormData["lang"] = "en-us"
WebPage.Get("http://<Your ServerName>/tat/gate.asp")