i am trying to compare two values.one which is read from excel and the other captured from the screen(mainframe).the condition is that if those two values are equal we should enter the loop.but condition is not being satisfied where it actually should.the risk on excel is written by the qtp program.please suggest what is going wrong...
comparing two values
|
Please post your code?
Hi All,
I am comparing two values , If both values are equal test case should pass, here is what I am doing Code: a=datatable("Checked_Text",dtGlobalSheet) I wonder what I need to do in PASS and FAIL?
Hi ,
You can Put a reporter event with the testcase name and status like Reporter.ReportEvent Micpass,"TCO1","Pass" Or you can write it in the datatable itself and export it at the end of the execution |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Comparing two unsorted excel columns | ProTester | 2 | 2,969 |
09-13-2018, 02:11 PM Last Post: ProTester |
|
comparing two excel sheets in QTP | kodhanrajesh | 0 | 4,510 |
08-31-2011, 09:01 AM Last Post: kodhanrajesh |
|
![]() |
Comparing the mail content through QTP/DP | gsjegan | 1 | 4,291 |
06-17-2009, 03:12 PM Last Post: chaitanyaponangi |
Comparing two bitmap files. | lskmuni2000 | 5 | 5,488 |
07-17-2008, 06:11 PM Last Post: lskmuni2000 |
|
How to compare local sheet values with run time data table values? | test71 | 2 | 8,736 |
03-14-2008, 07:09 PM Last Post: test71 |
Users browsing this thread: 1 Guest(s)