Geeks Talk

Prepare for your Next Interview




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 was asked ...


Go Back   Geeks Talk > Software Testing > QTP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-29-2006
Expert Member
 
Join Date: Oct 2006
Posts: 690
Thanks: 0
Thanked 46 Times in 39 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 05: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: 14
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


Similar Threads

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


All times are GMT -4. The time now is 05:13 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved