i have batch scripts in qtp and i want to update the status
like pass/fail in excel sheet after excecuting the every
script in batch.how to write the script for this?

Answer Posted / nihar ranjan

for each search_data in ows.usedrange 
  if search_data="fail"  then
    search_data.color.index="3"
   else
    search_data.color.index="4"
   end if
next

Is This Answer Correct ?    0 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how did u use automating testing tools in ur job?

1479


what is output value in QTP and how it can be used in automation testing

1432


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1713


What is qtpro? What is quick test pro?

555


What is difference in global and action sheet in qtp?

602






what frame work you are following?

1520


what is the difference between IE & Netscape in web testing on a log in page

1784


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1495


What do you mean by iteration?

622


How to analyzing test results using quicktest professional?

561


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2257


Explain about the test fusion report of quicktest professional?

525


Explain step generator in qtp?

637


Explain the features of quick test pro(qtp)?

568


What is the use of text output value in quicktest professional (qtp)?

593