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)
Answers were Sorted based on User's Feedback
Answer / chandana
datatable.rowcount(row num)
datatable.value("column num","sheet num")
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / krishna
datatable.getcurrentrow(2,3)
for i=2&3 step2
next
u will get answer
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / suman
L_Name="<Link-name>"
L_Name1=B("name").P("title").WT("Tbname").Getcelldata(2,3)
if strcomp(L_Name=L_Name1)=0 Then
Reporter.reporteven micpass,"Linkname","Is Present"
else
Reporter.reporteven micpass,"Linkname","Is not Present"
| Is This Answer Correct ? | 0 Yes | 0 No |
How does quicktest professional identifies the object in the application?
1)What is the Difference Between WaitTo & Sync?
how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?
What types of testing comes under functional testing or in other word what will you test in functional testing?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
explain how to write vb script in qtp?when will you write own script?
What are the different attributes used with regular expression?
If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?
What is the difference between systemUtil and invoke method..?
what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?
what is Property......End Property loop? how to write sript for it in QTP
what are the challenges you have faced while testing web based application using the automation tools ?