Search found 10 matches

by jstatham
Tue Jan 13, 2009 1:44 pm
Forum: Command Line and Scripting Interface
Topic: saveas filename problem
Replies: 2
Views: 3094

Re: saveas filename problem

I also have this problem. The second SAVEAS works, but the first one fails consistently.

I have an XP machine that does not encounter this problem, but my Vista machine does. I don't know that this is the factor causing the problem, just an observation.
by jstatham
Fri Jul 11, 2008 3:12 pm
Forum: Command Line and Scripting Interface
Topic: Runtime Error 91
Replies: 8
Views: 6253

Re: Runtime Error 91

I only get the error when I load it using jawin. If you save the macro and run it manually the error doesn't show. My java code: public static void runMacro(String macro){ //run Macro using jawin try { Ole32.CoInitialize(); DispatchPtr app = new DispatchPtr("InternetMacros.iim"); app.invok...
by jstatham
Mon Jun 23, 2008 7:24 pm
Forum: Command Line and Scripting Interface
Topic: Runtime Error 91
Replies: 8
Views: 6253

Re: Runtime Error 91

I am having this same problem. Was there ever a fix for it?
by jstatham
Thu Jan 10, 2008 8:42 pm
Forum: General Support & Discussions
Topic: auto login - retrieve cookie in http header
Replies: 1
Views: 2524

save http header solution

http://web-sniffer.net

If you use iMacros to load the address and save the result, you can then retrieve the Set-Cookie field.
by jstatham
Wed Jan 09, 2008 10:08 pm
Forum: General Support & Discussions
Topic: auto login - retrieve cookie in http header
Replies: 1
Views: 2524

auto login - retrieve cookie in http header

I would like to use iMacros to login to a website and extract the session cookie. I can then use Java to do some other things to interact with the site as long as I have this cookie and it hasn't timed out.

Is there any way anyone knows of to extract from the http header?
by jstatham
Fri Sep 28, 2007 1:10 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extracted text slaughtered
Replies: 2
Views: 3742

textarea extract problem

I'm having the same problem, though even when using type TXT I can't see where it puts in anything for a new line. It just lumps it together without any space or anything. If there was some character that I could delimit it by, I could clean it up after the fact. However I'm stuck with an extract th...
by jstatham
Tue Aug 07, 2007 3:10 pm
Forum: Data Extraction and Web Screen Scraping
Topic: font size screwing up winclick
Replies: 1
Views: 2885

font size screwing up winclick

I have a macro that works fine on one machine, but bombs on another. I have discovered that because the font is so much bigger on the other machine, the winclick required for a file upload box is all out of whack. I cannot find where to set this font size. The font is normal on pages as it logs in, ...
by jstatham
Thu Jul 26, 2007 2:20 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Howto handle AJAX?
Replies: 9
Views: 37877

Yes, I've found that v6 works great with EXTRACT: WAIT SECONDS=5 EXTRACT POS=1 TYPE=HTM ATTR=<div<SP>id=result>* Above works, however to eliminate the wait keep up with new methods I want to use TAG: TAG POS=1 TYPE=DIV ATTR=ID:result EXTRACT=HTM but it doesn't work. It goes to "Loading: x (174)...
by jstatham
Wed Jul 25, 2007 9:09 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Howto handle AJAX?
Replies: 9
Views: 37877

updated TAG command?

I am working on a similar project, but I'm trying to extract a DIV instead of H2 that initially is blank. I can only get it to work using the WAIT command (not a big deal). However since with version 6.0 EXTRACT is no longer supported, how do I get this to work with the TAG command? TAG POS=1 TYPE=T...
by jstatham
Sat Jan 20, 2007 11:20 pm
Forum: How-To's and Examples for Web Testing
Topic: Update on iMacros using Java
Replies: 4
Views: 141035

I have followed the instructions at http://www.iopus.com/imacros/tutorials/java.htm
and when I try to compile I get the following error:

cannot access org.jawin.COMException
class file for org.jawin.COMException not found
result = imacros.iimInit();

Can anyone help???