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 |
What is object spy in quicktest professional (qtp)?
How can we record an edit box in the Web application ?
Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???
How you calling actions in qtp?
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
how to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.
Hi Samrat, Thank u very much, what u said it is right.
What is difference in global and action sheet in qtp?
How to recognise the webelement and verifying that webelement is enabled?
What is the difference between driver-script and AOM-script?