selenium.captureEntirePageScreenshot("\\test.png","") throws failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]

mugenhere at 12h15
08
Sep
2009
selenium.captureEntirePageScreenshot("\\test.png","") throws failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]

Hi,
I'm running Selenium with TestNG using Eclipse and Selenium RC. I used the command:
Code:
selenium.captureEntirePageScreenshot("\\test.png","");

but got the following error:

Code:
com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the forum at
[......]
About
This topic belongs to the forum
  • Numbers of topics : 2329
  • Numbers of messages : 6043
  • Numbers of users : 5006
  • Numbers of points : 243
Similar topics
Hi I am using selenium IDE for recording my application activity, its recording fine and i can playback what i recorded with setting the speed slow.I am running the test using selenium RC in command line using the following command. java -jar
My program is to count the number of items in a combobox. import com.thoughtworks.selenium.*; public class combocountitem extends SeleneseTestCase { public void setUp() throws Exception { selenium = new DefaultSelenium("localhost", 4444, "*chrome",
hi guys I have some tests made with selenium IDE but I want to be able to test in other browsers too so can anyone help me with a guide how to configure java and webdriver (im using netbeans) and convert my tests in java i tried to export my test as
Hello, I am Kitty, and I am a begginer with Selenium IDE. My problem is that if I want to import a code written in Python in Selenium IDE, I receive this error message: error loading test case: no command found I do not know what to do next. I have
How to upload / download file in selenium, Please any one can give a sample code for downloading and uploading a file in selenium RC and WebDriver, or please provide a link which helps me to solve this doubt. Thanks & Regards, Ashok N T
Forums from same category