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


Please Help Members By Posting Answers For Below Questions

How to use Environment parameterization? Explain with an example.

1481


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1693


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1472


What are parameterizing tests?

551


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1397






QTP script is not working on other's machine..

1537


hi nani my doubt is how does qtp process metrix related to software process.

1553


Explain building blocks of the bpt framework ?

561


Difference between copy to action and call to action?

594


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

1948


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1445


How to replay a script in qtp?

616


Can you brief the hurdles you faced during Automation testing?

577


whare exactly we have to use functions and sub routain

1846


What is the difference between rational rose and QTP?

1782