I use MS at work to automate the testing of websites that my company provides content for. It's worked pretty well until yesterday.
What happens is the page just sits there, stalled. If you hit refresh, it will normally continue. What I believe is happening is that there are ads on the pages that don't completely download, therefore the page never fully "loads", therefore the script never gets past waiting.
So I removed the "IE_Wait" tags, but this has not solved the problem.
We run MS to test pages on three different computers, so it's not a machine issue.
Suggestions?
________
buy vapir oxygen
Issues with IE scripts advancing
Moderators: JRL, Dorian (MJT support)
Issues with IE scripts advancing
Last edited by synacor on Tue Feb 01, 2011 8:42 am, edited 1 time in total.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Would need to see the script and website to offer any suggestions. Can you post your code?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
MouseMove>0,0mtettmar wrote:Would need to see the script and website to offer any suggestions. Can you post your code?
Let>delay=2
IE_Create>0,IE[0]
let>title={"Microsoft Internet Explorer"}
WindowAction>1,title
//adelphia
Let>atest=0
label>adelphia
IE_Navigate>%IE[0]%,http://www.adelphia.net,r
Wait>delay
Let>FrameName={""}
Let>FormName={"sb_searchform"}
Let>FieldName={"q"}
Let>FieldValue={"synacor"}
IE_FormFill>%IE[0]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0,r
Let>FrameName={""}
Let>FormName={"sb_searchform"}
Let>TagValue={""}
IE_ClickTag>%IE[0]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue,r
On occasion, it never gets to the IE_Formfill command. It just sits there with the page loaded, doing nothing.
________
buy vapolution
Last edited by synacor on Tue Feb 01, 2011 8:42 am, edited 1 time in total.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Insert a longer wait after the IE_Navigate. At present it's only waiting 1 second and you've removed IE_Wait. So it will not wait until the page is loaded before you try to fill the form. At the point the script is trying to fill the form it probably doesn't exist yet.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?