08-09-2015, 02:42 PM
Log the Pass /Fail Excel sheet is one way . In the QTP script Keep a If (condition ) = true Then Pass Else Fail . please find attached screen shot . The code does below tasks
1) Check the whether observed value and Expected value of my AUT
2)if Fail then send the values in a array as parameter as return value
3)Log the array in excel sheet in another funciton
Please find attached screen shot
Thanks
Bharadwaj
1) Check the whether observed value and Expected value of my AUT
2)if Fail then send the values in a array as parameter as return value
3)Log the array in excel sheet in another funciton
Please find attached screen shot
Thanks
Bharadwaj