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 / 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 |
Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?
As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.
How to use regular expression in descriptive programming?
How to use reporter.report event in qtp ?
I am new with QTP. Is anybody could tell me where I can find a good tutorial with lots of samples?
What is quick test pro? What is a quick test professional?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How to execute the test cases using QTP. i.e What is the use of QTP while execution
Ehat is the descriptive programing in QTP?
In qtp what type of data tables are used , name and list out them
What is expert view in qtp?
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND