| || |
Need help with scrolling screenshots in Firefox 3
I have TestComplete Enterprise v6.40.344.7. I am trying to run a script in Firefox 3 that runs through a list of website home pages and takes a scrolling screenshot of each home page. I can get the script to run through the web pages, but I cannot get it to take the scrolling screenshot. The script runs fine when I comment out the following lines:
pic.SaveToFile("C:\\Screenshots\\ObitsSuite\\ObitP age\\" + affname + ".jpg");
Log.Picture(pic, affname + " landing page", affname + " landing page");
I have gotten the same exact script to run successfully in IE 7 (except a minor change to get the script to launch FF instead of IE), so I'm pretty sure that the problem has something to do with the way FF3 handles scrolling screenshots. Anybody have any ideas?
I can include the entire script if needed.
Re: Need help with scrolling screenshots in Firefox 3
The PagePicture method works fine for Firefox 3.0.3 on my test computer. I recommend that you try using the latest version of TestComplete - v. 6.50.387.
If this version does not work either, please post here your entire script and specify the line that throws the very first error that you see in the Test Log panel.