Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

How to check object(button) exist in webpage or not

Thread view: 
QQ - 05 Oct 2007 07:50 GMT
Hi

I am doing a testing on Web application. and wanna use QTP to check
whether the button exists or not in one page,
How to realize it?

I tried: Browser("..").Page("...").WebButton("Exist").Exist against a
page where there is no this button there.
It just hang there for a while then report as exist ( exist returns
true).

Dont understand why....

Please help

Thanks.
Steven
Andrew Thompson - 05 Oct 2007 08:11 GMT
..
>I am doing a testing on Web application. and wanna..

*

>.. use QTP to check
>whether the button exists or not in one page,
>How to realize it?

I have never heard of QTP before today.  A bit of
googling suggests it is (amongst other things) a
Java based GUI testing API that can (at least to
some extent) deal with ..

>I tried: Browser("..").Page("...").WebButton("Exist").Exist against a
>page where there is no this button there.

..browsers.  My search failed to turn up a link to the
site of the authors (or from that) the link to the FAQ,
or JavaDocs, all of which might be handy here.

Or to rephrase that into the form of a question.
What are links for the three resources mentioned
above?

>It just hang there for a while then report as exist ( exist returns
>true).
>
>Dont understand why....

What to the JavaDocs fot that method state?

* An as an aside.  To best help, to get a thread;
a) read by people who can help,
b) not diverted into long dicsussions on use of
slang or SMS style abbreviations,
I would recommend avoiding use of terms like
'wanna'.  Better to spell it out as 'want to' and
get everyone's immediate *techical* attention.

Signature

Andrew Thompson
http://www.athompson.info/andrew/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.