PLF_PERF_04_SocialRead-3.5.1
open /portal/default/
clickAndWait link=Login to the ACME social intranet
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp
echo ${timestamp} 1000.  ++Login
click //b[contains(text(),'Sign in')]
waitForElementPresent name=username
type name=username bench.user2
waitForElementPresent name=password
type name=password exo
clickAndWait id=UIPortalLoginFormAction
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp1
echo ${timestamp1} 1000.  --Login
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp2
echo ${timestamp2} 2000.  ++Goto Home
waitForText css=div.ContTit My Profile
waitForElementPresent css=div.ContTit
assertElementPresent css=div.ContTit
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp3
echo ${timestamp3} 2000.  --Goto Home
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp4
echo ${timestamp4} 3000.  ++click on Space in user activities
waitForElementPresent link=Space Updates
click link=Space Updates
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp5
echo ${timestamp5} 3000.  --click on Space in user activities
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp6
echo ${timestamp6} 4000.  ++click on My status on activities
waitForElementPresent link=My Status
click link=My Status
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp7
echo ${timestamp7} 4000.  --click on My status on activities
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp8
echo ${timestamp8} 5000.  ++Goto people porlet
waitForElementPresent link=Find People
clickAndWait link=Find People
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp9
echo ${timestamp} 5000.  --Goto people porlet
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp10
echo ${timestamp10} 6000.  ++Mathching search on people porlet
type id=Search Mary Williams
waitForElementPresent link=Search
click link=Search
verifyElementPresent link=Mary Williams
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp11
echo ${timestamp11} 6000.  --Mathching search on people porlet
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp12
echo ${timestamp12} 7000.  ++Goto myConnections
waitForElementPresent link=My Connections
clickAndWait link=My Connections
verifyElementPresent link=Requests Received
verifyElementPresent link=Requests Sent
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp13
echo ${timestamp13} 7000.  --Goto myConnections
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp14
echo ${timestamp14} 8000.  ++Goto publicSpace
waitForElementPresent link=My Spaces
clickAndWait link=My Spaces
waitForElementPresent link=Add New Space
storeEval { var stamp,year,month,day,hours,mins,secs,result ;stamp = new Date(); year=stamp.getYear()+1900;  month = stamp.getMonth()+1;  day = stamp.getDate();   hours = stamp.getHours();  mins = stamp.getMinutes();  secs = stamp.getSeconds();if (month < 10){month="0"+month;} if (day < 10){day="0"+day;} if (hours < 10)  { hours="0"+hours;} if (mins < 10)  {  mins="0"+mins;}  if (secs < 10)  {secs="0"+secs; }  result = " " + year + month + day + "_" + hours + mins + secs; } timestamp15
echo ${timestamp15} 8000.  --Goto publicSpace
waitForElementPresent link=Logout
clickAndWait link=Logout