Exforsys

Online Training

QTP: Code assistance requested

This is a discussion on QTP: Code assistance requested within the Software Testing forums, part of the Testing category; Hi. I've got a checkpoint that is looking for a 'Save' dialog. I want to be able to review ...


Go Back   Exforsys > Testing > Software Testing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-03-2008, 11:01 PM
Junior Member
 
Join Date: Dec 2007
Posts: 2
abuzzi is on a distinguished road
Question QTP: Code assistance requested

Hi.

I've got a checkpoint that is looking for a 'Save' dialog.

I want to be able to review the result of the check point, and code an if statement surrounding alternate actions that would need to be completed on screen.

In Rational Robot, I would achieve this by coding something like:

GetLastTCResult
if Result = rbTrue then
..
else
..
End If


What is the equivalent code needed to be used in QTP?
Here is a copy of the Checkpoint that I am referring to, that I need to query the check point result for ...;
Dialog("File Download").Dialog("Save As_2").Dialog("Save As").WinButton("Yes").Check CheckPoint("Yes")


Thanks to everyone who has checked out this post - really looking forward to seeing your solutions (please!).

AB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) Steve Summit Tech FAQ 0 06-01-2004 06:01 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 06-01-2004 06:00 AM
comp.cad.autocad AutoLISP FAQ (part 1/2) - general Reini Urban Tech FAQ 0 06-01-2004 05:30 AM
Comp.software-eng FAQ (Part 0): periodic postings and archives David Alex Lamb Tech FAQ 2 05-23-2004 05:15 AM
comp.cad.autocad AutoLISP FAQ (part 1/2) - general Reini Urban Tech FAQ 0 05-01-2004 05:30 AM


All times are GMT -4. The time now is 09:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.