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

i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording

3 Answers   Semantic Space,


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

0 Answers   SoftTech,


When Recovery scenario actually starts while testing the application?

0 Answers   SAP Labs,


what are the 5 types of objects in qtp

6 Answers   ABC, TCS, Wipro,


Hi All, I am a beginner in QTP and have understood the basics of QTP by going through tutorial. I am trying to Automate a HRMIS application, What is the right approach to Automate this application. Kindly answer. Thanks in advance

1 Answers  


1>How to get the browser name by writing the VBScript. 2>How did you used the GetROProperty and GetTOproperty .give real time scenario. 2>Give and real time ex for the bug having "High Severity and low priority"on banking doamin web based application.

2 Answers   Nous,


what is the difference between invoke application and system.util.run

24 Answers   HP, Syntel,


How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)

5 Answers  


Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first

2 Answers   Symphony,


How many types of Check Point in QTP

2 Answers   R Systems,


Explain QTP Testing process ?

13 Answers   TCS,


Could someone explain me how to work on Out put values, explain with some example on Flight Reservation. I want to insert the out put value for the order No. Please explain the steps with some example.

2 Answers  


Categories