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 to associate shared object repository to test in qtp?

737


what is error and fault in terms of software quality?

1747


Connect to QC using AOM.

1474


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1760


Explain about business process component? types and usage?

1782


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1855


How many types of recording facility are available in quicktest professional (qtp)?

818


Explain different types of action in qtp?

811


what is defenetion of kiran can u tell me plz CVS, SVN

1788


How to use descriptive programming?

870


There is an excel file of 1 to 100 sheets how you will iterate through it?

771


Explain Descriptive Programming Types with Examples?

1157


how to write xml output check point bu useing descriptive programing .means without useing output check point

1869


Is virtual object supported in low level recording mode?

882


descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

2007