![]() |
|
How can I verify 2 output values equal? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: How can I verify 2 output values equal? (/Thread-How-can-I-verify-2-output-values-equal) Pages:
1
2
|
RE: How can I verify 2 output values equal? - basanth27 - 08-06-2009 Assuming it is in globalsheet, Code: value1 = Datatable.Value("ColumnName")Let me know if this helps. RE: How can I verify 2 output values equal? - egun - 08-06-2009 [quote='basanth27' pid='6589' dateline='1249571256'] Hi Basanth, Yes - I feel this is good progress! I have pasted my code below, but how can I print the results somewhere? Now that I know how to check/compare these values from my website vs my database I need to be able to print them somewhere to view at the end of the run. That is the last part. I appreciate your help immensely! Code: DbTable("DbTable_2").Output CheckPoint("DbTable_2")RE: How can I verify 2 output values equal? - basanth27 - 08-07-2009 (08-06-2009, 08:58 PM)egun Wrote: [quote='basanth27' pid='6589' dateline='1249571256'] You were almost there. You may have to get used on how to use QTP Help. In my view it is one of the most amazing storehouse of knowledge. I assume you want to print the results to the QTP results, if yes this is how you do it, Code: DbTable("DbTable_2").Output CheckPoint("DbTable_2")If you wanted to print the results somewhere other than QTP results let me know... RE: How can I verify 2 output values equal? - egun - 08-07-2009 That should be fine, thank you again Basanth. I had actually looked to the QTP help area after my last post and figured out how to do the same... thanks for your help.
RE: How can I verify 2 output values equal? - basanth27 - 08-07-2009 Most Welcome I request you & encourage to ask multiple questions and doubts. This is the place where we can learn and learn to share.
|