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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
|
|
|
||||
| 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 07:01 AM |
| comp.lang.c Answers to Frequently Asked Questions (FAQ List) | Steve Summit | Tech FAQ | 0 | 06-01-2004 07:00 AM |
| comp.cad.autocad AutoLISP FAQ (part 1/2) - general | Reini Urban | Tech FAQ | 0 | 06-01-2004 06:30 AM |
| Comp.software-eng FAQ (Part 0): periodic postings and archives | David Alex Lamb | Tech FAQ | 2 | 05-23-2004 06:15 AM |
| comp.cad.autocad AutoLISP FAQ (part 1/2) - general | Reini Urban | Tech FAQ | 0 | 05-01-2004 06:30 AM |