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?



i have batch scripts in qtp and i want to update the status like pass/fail in excel sheet after ex..

Answer / 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

More QTP Interview Questions

what is the Exact Meaning of Environment Variables?

2 Answers   Semantic Space,


Difference between action & Reusable action?

0 Answers  


what is the use of automation frame work ??(QTP)

2 Answers  


what is KEYWORD DRIVEN TESTING ? I M NOT ASKIN WHAT IS KEY WORD VIEW PLZ ANS FOR ONLY WHAT IS KEYWORD DRIVEN TESTING EXACTLY THANX

3 Answers  


explain keyword driven framework with banking domain?

0 Answers   TCS,






Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance

2 Answers  


How is GC reddy online program Will i get placed How are the placements.

1 Answers  


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

0 Answers   Infotech,


How can I replace all the text from the QTP script with some other text.

1 Answers   Livetek,


How to start recording using quicktest professional?

0 Answers  


can anybody give me the links for vb script material

1 Answers  


where we save the scripts created in one project?

6 Answers   IBM,


Categories