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 the advantages and disadvantages of using functions instead of re usable actions
Explain the concept of how quicktest professional identifies object?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
How will you declare a variable in qtp?
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
Discuss the QTP Environment?
In qtp, how you can exit for loop?
Describe synchronization point.
Can launch two instances of qtp on the same machine?
Explain the Different types of QTP test assets and their extensions?
Where we can use the analog mode and where we can use the low – level mode?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What is the virtual object?
How do you open adobe acrobat file in QTP and do some testing on that file ?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?