Using Webrecorder without any result on .jsp or .aspx webpa

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
nachtegaal9999
Newbie
Posts: 8
Joined: Sun Apr 09, 2006 10:40 pm

Using Webrecorder without any result on .jsp or .aspx webpa

Post by nachtegaal9999 » Sun Apr 30, 2006 12:52 pm

Hi,

I have some problems to record some handlings with a website
like http://services.tiscali.nl/cp/sso/Login ... li.nl&l=nl
or http://www.sms.ac/HomePage/Default.aspx

With website https://www.login.vebbottomline.nl/login.asp
i have no problems.

Can anybody tel me why webrecorder don't record my handlings,
or what must i change to record the handlings i want to do.
Are this the limitations of the webrecorder aplication.

Thanks in advance to helping me or giving me some hints to solve this problem (its also for other users!)

Greetings Simon
from the Netherlands

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue May 02, 2006 11:46 am

Looks like the tiscali site is using iframes which seem to be confusing WebRecorder. The second URL (sms.ac) seems to need an extra delay before the FormFills. The following script works:

// Generated by MacroScript WebRecorder 1.70
// Recorded on Tuesday, May 2, 2006, at 12:34 PM
LibLoad>IEAuto.dll,hIE
If>hIE=0
MessageModal>Could not load IEAuto.dll, make sure it is in the path or edit the LibLoad line.
Goto>end_script
EndIf

//Move the mouse cursor out of harm's way to avoid causing mouseover events to interrupt
MouseMove>0,0
Let>delay=1

LibFunc>hIE,CreateIE,IE[0],0

LibFunc>hIE,Navigate,r,%IE[0]%,http://www.sms.ac/HomePage/Default.aspx
LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

Let>FrameName={""}
Let>FormName={""}
Let>TagValue={"Sign In"}
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,A,TEXT,str:TagValue

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>5

Let>FrameName={""}
Let>FormName={"Form1"}
Let>FieldName={"LoginControl:LoginUserId"}
Let>FieldValue={"fred"}
LibFunc>hIE,FormFill,r,%IE[0]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0

Let>FrameName={""}
Let>FormName={"Form1"}
Let>FieldName={"LoginControl:loginpassword"}
Let>FieldValue={"sally"}
LibFunc>hIE,FormFill,r,%IE[0]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0

Let>FrameName={""}
Let>FormName={"Form1"}
Let>TagValue={""}
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay

LibFree>hIE
Label>end_script

You'll need to change the userId and Password.

Unfortunately there will be sites that WebRecorder can't cope with and some may need some manual editing. Because of the diverse nature of the web we can't guarantee that WebRecorder can record every possible web site and combination of web technologies.

Regarding the IFRAME issue of the tiscali site, I'll get that looked into and see if there is any solution for future releases. There may not be. Not everything can be recorded successfully.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

nachtegaal9999
Newbie
Posts: 8
Joined: Sun Apr 09, 2006 10:40 pm

Using Webrecorder without any result on .jsp or .aspx webpa

Post by nachtegaal9999 » Tue May 02, 2006 6:24 pm

Hi Marcus

Thanks for your coplete reply, i am very satisfied of the product webrecorder that must be mentiond!!! And also the replies that solves issues. I'll hope that this wil contribute to future development of the product webrecorder.
I am sure there will be a solution for websites that have frames in it.
(there are many of those sites)

I am looking forward to the solution.

Thanks a lot for your help!

Greetings
Simon

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts