Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Validate Print button in webbased application

This is a discussion on Validate Print button in webbased application within the QTP forums, part of the Software Testing category; How can I validate Print button in webbased application? (ex if i click Print button how we know wheather the print is coming or not ) NOTE : [This question ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 12-29-2006
Expert Member
 
Join Date: Oct 2006
Posts: 689
Thanks: 0
Thanked 53 Times in 44 Posts
JobHelper is on a distinguished road
Validate Print button in webbased application

How can I validate Print button in webbased application? (ex if i click Print button how we know wheather the print is coming or not )

NOTE : [This question was asked by venkatrao]
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-17-2007
Junior Member
 
Join Date: Jan 2007
Location: High Point, NC
Posts: 11
Thanks: 0
Thanked 2 Times in 2 Posts
bussysam2 is on a distinguished road
Re: Validate Print button in webbased application

This is a suggestion.

What you can do is open the print dialogue window on your computer before you click on the print button. You will need to record the action of opening the print dialog window (i.e start--> printer and faxes-->select printer -->open) and record checking if the doc was displayed when you click the print button, and if the doc exits.
Reply With Quote
The Following User Says Thank You to bussysam2 For This Useful Post:
  #3 (permalink)  
Old 07-08-2008
Junior Member
 
Join Date: Jul 2007
Location: CA
Posts: 16
Thanks: 2
Thanked 5 Times in 4 Posts
Fahed9090 is on a distinguished road
Re: Validate Print button in webbased application

Hi All,

You can validate Print button in web based application by giving this Message box or Reporter.Report Event.

If obj.fileexists("C:\Program Files\ Application\ Instrument Data - Excel Format 2")Then

Windows("C:\Program Files\ Application\ Instrument Data - Excel Format2").Click

Msgbox" Report is Clicked Succesfully"
Else
Msgbox"Report Failed Click cannot Print"
End If

Last edited by Fahed9090; 07-08-2008 at 06:39 PM.
Reply With Quote
The Following User Says Thank You to Fahed9090 For This Useful Post:
  #4 (permalink)  
Old 07-15-2008
Junior Member
 
Join Date: Feb 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Gaurang033 is on a distinguished road
Smile Re: Validate Print button in webbased application

Quote:
Originally Posted by JobHelper View Post
How can I validate Print button in webbased application? (ex if i click Print button how we know wheather the print is coming or not )

NOTE : [This question was asked by venkatrao]
By checking the printer manually.... come on get off ur seat u lazy boy ( just joking ... )
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP

« qtp | child objects »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Test cases for Push Button Srikanth Test Cases 7 05-16-2007 07:32 AM
Testing VB application prasanna venkatesan Testing Issues 1 12-29-2006 03:44 AM
Browse Button Testcases bharathi_ark Test Cases 1 12-16-2006 07:07 AM
Application Class in VB.NET GeekAdmin VB.NET 0 05-21-2006 10:09 AM


All times are GMT -4. The time now is 01:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved