Javacode to close a tab in Internet Explorer.

5 views
Skip to first unread message

Net

unread,
Nov 1, 2009, 9:30:22 AM11/1/09
to watij
Hi All,

I am a fresher who joined a company where I am working on WATIJ.I am
completely new to this field.Can anyone please send me the java code
to fill in the form in any website(ex. WWW.google.com).Especially the
code where one can close a tab in Internet Explorer.And I am Working
in eclipse.

Please I need help Very badly,Plz plz plz

Jake Dempsey

unread,
Nov 1, 2009, 12:43:19 PM11/1/09
to wa...@googlegroups.com
"new to this field" meaning new to java, automation, developing, ???

Have you tried anything yet?  Did you take a moment to look at the website at www.watij.com.  The home page shows how to start ie and initiate a google search.

Jake Dempsey
www.starterstep.com

John Overbaugh

unread,
Nov 1, 2009, 2:40:14 PM11/1/09
to wa...@googlegroups.com
Hey Net,

Pls give this article a read. Freshers are often looking for help via these groups, so I offer a few steps you can take to ensure you get the help you're looking for. Welcome to the group; I'm sure with more detail you'll get the help you're looking for.

http://thoughtsonqa.blogspot.com/2009/01/how-to-ask-for-help-with-software.html

John O.
--
John Overbaugh
blog: http://thoughtsonqa.blogspot.com

Net

unread,
Nov 1, 2009, 11:42:06 PM11/1/09
to watij
Hi Jake,

yes,I have gone through WWW.watij.com and also I am trying on simple
code like clicking some link.Its working perfectly.When i tried to
close,all the tabs opened is getting closed.
But i want the code to close the particular tab.

On Nov 1, 10:43 pm, Jake Dempsey <angelo0...@gmail.com> wrote:
> "new to this field" meaning new to java, automation, developing, ???
>
> Have you tried anything yet?  Did you take a moment to look at the website
> atwww.watij.com.  The home page shows how to start ie and initiate a google
> search.
>
> Jake Dempseywww.starterstep.com
>
>
>
> On Sun, Nov 1, 2009 at 8:30 AM, Net <nethr...@gmail.com> wrote:
>
> > Hi All,
>
> > I am a fresher who joined a company where I am working on WATIJ.I am
> > completely new to this field.Can anyone please send me the java code
> > to fill in the form in any website(ex. WWW.google.com).Especially the
> > code where one can close a tab in Internet Explorer.And I am Working
> > in eclipse.
>
> > Please I need help Very badly,Plz plz plz- Hide quoted text -
>
> - Show quoted text -

Net

unread,
Nov 7, 2009, 11:48:53 AM11/7/09
to watij
Hi All,

The question to close the particular tab What i asked was just a
image,which i tried to close it using
ie.image(the image value).click();
it worked

Regards
Net
Reply all
Reply to author
Forward
0 new messages