setting-up-recording-options-before-recording
Steps To Record
- Double click “Vugen” desktop shortcut
- Click File > New
- In New Virtual User Dialog window, Select Web(HTT P/HTML) if it is not selected default
- Click Create button
- In Start Recording Dialog window, Enter http://127.0.0.1:1080/WebTours if it is not displayed default
- Click ok button
- Web Tours welcome page is opened in the Internet Explorer.
- In Vugen Recording toolbar, Click “Insert Comment” (3rd from right)menu item
- In Insert Comment dialog window, Enter comment as “Click sign up now link” and click “ok” button.
- Click “sign up now “ link in Web Tours welcome page
- In Customer Profile page, complete the form by entering the following values.
- For simplicity, enter value as “staytuned1” for all the text field values.
- In Vugen Recording toolbar, Click “Insert Comment” menu item
- In Insert Comment dialog window, Enter comment as “Click Continue… button” and click “ok” button.
- Click “Continue… “ button in Web Tours application.
- In Vugen Recording toolbar, Click “Stop” (3rd from left) menu item
- In Vugen, select File, click Save As and save the script under folder “D:\StayTuned\Scripts\Recording” with script name as “WebTours_NewRegistration”
In your system, create the following folder structure D:\StayTuned\Scripts\Recording Or C:\StayTuned\Scripts\Recording |
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); |
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