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 Distributed testing? How does UFT support it?
What is the quicktest professional (qtp) testing process?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
How will you compare keyword and expert view?
How to use Environment parameterization? Explain with an example.
wht type of User defined functions or Java Releated functions do we write in VB scripting
What are the different recording modes and how do they work?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
How do you delete unwanted results in qtp?
what is clean sweep?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
What are some test assets and related extensions of qtp?
What is reusable action?