suppose i have one datatable in my datatable in 2 nd row 3rd
column one link is ther i need to validate that link how do
u do this?(wipro)
Answer Posted / natarajng
var = "<Link Name>"
n = datatable.rowcount
for i = 0 to n
g= datatable.parametercount(i)
for j = 0 to g
k = datatable.value(j)
if k = var then
reporter.reportevent micpass, "validating link", "Link
is validated"
else
reporter.reportevent micfail, "validating link", "link is
noy found"
end if
next
next
If any issues nanda.dreddy@gmail.com
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
what is output value in QTP and how it can be used in automation testing
In qtp, how you can remove the spaces from string?
How to Test the mainframe application?
What are the views available in quicktest professional?
How many types of parameters are available in quicktest professional (qtp)?
Hi How to retrieve data from web element line by line?
Explain in brief about the quicktest professional automation object model?
What test you perform mostly? Regression or retesting in your testing process?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
how did u use automating testing tools in ur job?
What are the major/ important methods, functions in QTP we use realtime testing
can anyone tell me from where i can download qtp demo or crack version
Is text area check point supports for web applications?