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

What is environment variable in qtp and why to use it?

782


how can we compare descriptive programing with a regular expression

2169


hou can we use vb script in qtp could u tell me breafly

1971


What is smart identification in QTP?

854


How u will do versioning in QTP?

1672


How many types of Automation frameworks are there in UFT? Describe them.

794


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

2230


How will you test a stapler?

862


How many tabs are available in debug viewer pane?

853


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

1810


How to associate shared object repository to test in qtp?

755


please post the interview questions for QA position in FACTSET

4224


What is the Command used to start the QTP

1730


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1624


can any one say that where we can download the QTP trail version ??????????

1556