1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_07) on Tue Jun 09 11:50:57 CDT 2009 -->
6 <META http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
8 CaptureScreenshotToStringCommand (Selenium RC Server (Coreless)
1.0.1 API)
11 <META NAME=
"date" CONTENT=
"2009-06-09">
13 <LINK REL =
"stylesheet" TYPE=
"text/css" HREF=
"../../../../../stylesheet.css" TITLE=
"Style">
15 <SCRIPT type=
"text/javascript">
16 function windowTitle()
18 if (location.href.indexOf('is-external=true') == -
1) {
19 parent.document.
title=
"CaptureScreenshotToStringCommand (Selenium RC Server (Coreless) 1.0.1 API)";
28 <BODY BGCOLOR=
"white" onload=
"windowTitle();">
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <A NAME=
"navbar_top"><!-- --></A>
34 <A HREF=
"#skip-navbar_top" title=
"Skip navigation links"></A>
35 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
37 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
38 <A NAME=
"navbar_top_firstrow"><!-- --></A>
39 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
40 <TR ALIGN=
"center" VALIGN=
"top">
41 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
42 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
43 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
44 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/CaptureScreenshotToStringCommand.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
45 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
46 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
47 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
48 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
52 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
58 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
59 <A HREF=
"../../../../../org/openqa/selenium/server/commands/CaptureScreenshotCommand.html" title=
"class in org.openqa.selenium.server.commands"><B>PREV CLASS
</B></A>
60 <A HREF=
"../../../../../org/openqa/selenium/server/commands/Command.html" title=
"class in org.openqa.selenium.server.commands"><B>NEXT CLASS
</B></A></FONT></TD>
61 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
62 <A HREF=
"../../../../../index.html?org/openqa/selenium/server/commands/CaptureScreenshotToStringCommand.html" target=
"_top"><B>FRAMES
</B></A>
63 <A HREF=
"CaptureScreenshotToStringCommand.html" target=
"_top"><B>NO FRAMES
</B></A>
64 <SCRIPT type=
"text/javascript">
67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
72 <A HREF=
"../../../../../allclasses-noframe.html"><B>All Classes
</B></A>
79 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
80 SUMMARY:
NESTED
|
<A HREF=
"#field_summary">FIELD
</A> |
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
81 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
82 DETAIL:
<A HREF=
"#field_detail">FIELD
</A> |
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
85 <A NAME=
"skip-navbar_top"></A>
86 <!-- ========= END OF TOP NAVBAR ========= -->
89 <!-- ======== START OF CLASS DATA ======== -->
92 org.openqa.selenium.server.commands
</FONT>
94 Class CaptureScreenshotToStringCommand
</H2>
97 <IMG SRC=
"../../../../../resources/inherit.gif" ALT=
"extended by "><B>org.openqa.selenium.server.commands.CaptureScreenshotToStringCommand
</B>
101 <DT><PRE>public class
<B>CaptureScreenshotToStringCommand
</B><DT>extends java.lang.Object
</DL>
105 Captures a full screen shot of the current screen using the java.awt.Robot class.
106 and returns it as a base
64 encoded PNG image.
113 <!-- =========== FIELD SUMMARY =========== -->
115 <A NAME=
"field_summary"><!-- --></A>
116 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
117 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
118 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
119 <B>Field Summary
</B></FONT></TH>
121 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
122 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
123 <CODE>static
java.lang.String
</CODE></FONT></TD>
124 <TD><CODE><B><A HREF=
"../../../../../org/openqa/selenium/server/commands/CaptureScreenshotToStringCommand.html#ID">ID
</A></B></CODE>
127 </TD>
131 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
133 <A NAME=
"constructor_summary"><!-- --></A>
134 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
135 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
136 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
137 <B>Constructor Summary
</B></FONT></TH>
139 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
140 <TD><CODE><B><A HREF=
"../../../../../org/openqa/selenium/server/commands/CaptureScreenshotToStringCommand.html#CaptureScreenshotToStringCommand()">CaptureScreenshotToStringCommand
</A></B>()
</CODE>
143 </TD>
147 <!-- ========== METHOD SUMMARY =========== -->
149 <A NAME=
"method_summary"><!-- --></A>
150 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
151 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
152 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
153 <B>Method Summary
</B></FONT></TH>
155 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
156 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
157 <CODE> java.lang.String
</CODE></FONT></TD>
158 <TD><CODE><B><A HREF=
"../../../../../org/openqa/selenium/server/commands/CaptureScreenshotToStringCommand.html#captureAndEncodeSystemScreenshot()">captureAndEncodeSystemScreenshot
</A></B>()
</CODE>
161 </TD>
163 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
164 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
165 <CODE> java.lang.String
</CODE></FONT></TD>
166 <TD><CODE><B><A HREF=
"../../../../../org/openqa/selenium/server/commands/CaptureScreenshotToStringCommand.html#execute()">execute
</A></B>()
</CODE>
169 </TD>
172 <A NAME=
"methods_inherited_from_class_java.lang.Object"><!-- --></A>
173 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
174 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
175 <TH ALIGN=
"left"><B>Methods inherited from class java.lang.Object
</B></TH>
177 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
178 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</CODE></TD>
184 <!-- ============ FIELD DETAIL =========== -->
186 <A NAME=
"field_detail"><!-- --></A>
187 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
188 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
189 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
190 <B>Field Detail
</B></FONT></TH>
194 <A NAME=
"ID"><!-- --></A><H3>
197 public static final java.lang.String
<B>ID
</B></PRE>
200 <DT><B>See Also:
</B><DD><A HREF=
"../../../../../constant-values.html#org.openqa.selenium.server.commands.CaptureScreenshotToStringCommand.ID">Constant Field Values
</A></DL>
203 <!-- ========= CONSTRUCTOR DETAIL ======== -->
205 <A NAME=
"constructor_detail"><!-- --></A>
206 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
207 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
208 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
209 <B>Constructor Detail
</B></FONT></TH>
213 <A NAME=
"CaptureScreenshotToStringCommand()"><!-- --></A><H3>
214 CaptureScreenshotToStringCommand
</H3>
216 public
<B>CaptureScreenshotToStringCommand
</B>()
</PRE>
220 <!-- ============ METHOD DETAIL ========== -->
222 <A NAME=
"method_detail"><!-- --></A>
223 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
224 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
225 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
226 <B>Method Detail
</B></FONT></TH>
230 <A NAME=
"execute()"><!-- --></A><H3>
233 public java.lang.String
<B>execute
</B>()
</PRE>
241 <A NAME=
"captureAndEncodeSystemScreenshot()"><!-- --></A><H3>
242 captureAndEncodeSystemScreenshot
</H3>
244 public java.lang.String
<B>captureAndEncodeSystemScreenshot
</B>()
245 throws java.lang.InterruptedException,
246 java.util.concurrent.ExecutionException,
247 java.util.concurrent.TimeoutException,
248 java.io.IOException
</PRE>
253 <DD><CODE>java.lang.InterruptedException
</CODE>
254 <DD><CODE>java.util.concurrent.ExecutionException
</CODE>
255 <DD><CODE>java.util.concurrent.TimeoutException
</CODE>
256 <DD><CODE>java.io.IOException
</CODE></DL>
259 <!-- ========= END OF CLASS DATA ========= -->
263 <!-- ======= START OF BOTTOM NAVBAR ====== -->
264 <A NAME=
"navbar_bottom"><!-- --></A>
265 <A HREF=
"#skip-navbar_bottom" title=
"Skip navigation links"></A>
266 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
268 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
269 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
270 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
271 <TR ALIGN=
"center" VALIGN=
"top">
272 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
273 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
274 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
275 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/CaptureScreenshotToStringCommand.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
276 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
277 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
278 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
279 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
283 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
289 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
290 <A HREF=
"../../../../../org/openqa/selenium/server/commands/CaptureScreenshotCommand.html" title=
"class in org.openqa.selenium.server.commands"><B>PREV CLASS
</B></A>
291 <A HREF=
"../../../../../org/openqa/selenium/server/commands/Command.html" title=
"class in org.openqa.selenium.server.commands"><B>NEXT CLASS
</B></A></FONT></TD>
292 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
293 <A HREF=
"../../../../../index.html?org/openqa/selenium/server/commands/CaptureScreenshotToStringCommand.html" target=
"_top"><B>FRAMES
</B></A>
294 <A HREF=
"CaptureScreenshotToStringCommand.html" target=
"_top"><B>NO FRAMES
</B></A>
295 <SCRIPT type=
"text/javascript">
298 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
303 <A HREF=
"../../../../../allclasses-noframe.html"><B>All Classes
</B></A>
310 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
311 SUMMARY:
NESTED
|
<A HREF=
"#field_summary">FIELD
</A> |
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
312 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
313 DETAIL:
<A HREF=
"#field_detail">FIELD
</A> |
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
316 <A NAME=
"skip-navbar_bottom"></A>
317 <!-- ======== END OF BOTTOM NAVBAR ======= -->
320 Copyright
© 2009. All Rights Reserved.