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 To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
write qtp descriptive programming to activate multiple notepads? please urgent friends
QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
how to get font size of a "WebEdit"
1) after inserting the check point how to change the expected value that was captured while inserting the check point
What is qtpro? What is a quick test professional?
How is the Bitmap checkpoint different from Image checkpoint?
how do close the task manager through QTP?
Did QTP prove efficient for your project? Yes or No, explain?
Connect to QC using AOM.
Q- what is the advantage of merging tool in QTP 9.2?