Sunday, July 25, 2010

Vugen Recording - Web Tours New User Registration

Pre-Requisite
setting-up-recording-options-before-recording
Steps To Record
  1. Double click “Vugen” desktop shortcut
  2. Click File > New
  3. In New Virtual User Dialog window, Select Web(HTT P/HTML) if it is not selected default
  4. Click Create button
  5. In Start Recording Dialog window, Enter http://127.0.0.1:1080/WebTours if it is not displayed default
  6. Click ok button
  7. Web Tours welcome page is opened in the Internet Explorer.


  8. In Vugen Recording toolbar, Click “Insert Comment” (3rd from right)menu item
  9. In Insert Comment dialog window, Enter comment as “Click sign up now link” and click “ok” button.
  10. Click “sign up now “ link in Web Tours welcome page
  11. In Customer Profile page, complete the form by entering the following values.
  12. For simplicity, enter value as “staytuned1” for all the text field values.
  13. In Vugen Recording toolbar, Click “Insert Comment” menu item
  14. In Insert Comment dialog window, Enter comment as “Click Continue… button” and click “ok” button.
  15. Click “Continue… “ button in Web Tours application.
  16. In Vugen Recording toolbar, Click “Stop” (3rd from left) menu item

  17. In your system, create the following folder structure
    D:\StayTuned\Scripts\Recording
    Or
    C:\StayTuned\Scripts\Recording

  18. In Vugen, select File, click Save As and save the script under folder “D:\StayTuned\Scripts\Recording” with script name as “WebTours_NewRegistration”

Click Continue... button - Web Request Function



web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"TargetFrame=info",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/login.pl?username=&password=&getInfo=true",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=staytuned1", ENDITEM,
"Name=password", "Value=staytuned1", ENDITEM,
"Name=passwordConfirm", "Value=staytuned1", ENDITEM,
"Name=firstName", "Value=staytuned1", ENDITEM,
"Name=lastName", "Value=staytuned1", ENDITEM,
"Name=address1", "Value=staytuned1", ENDITEM,
"Name=address2", "Value=staytuned1", ENDITEM,
"Name=register.x", "Value=40", ENDITEM,
"Name=register.y", "Value=5", ENDITEM,
LAST);

1 comment:

  1. Travelers will stay at the Il Borro estate, immersed in the beauty of the Tuscan countryside. Il Borro estate offers guests a glimpse of Tuscany’s rural life combined with all the luxuries of a five-star property limousine maui

    ReplyDelete