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



suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to vali..

Answer / chandana

datatable.rowcount(row num)
datatable.value("column num","sheet num")

Is This Answer Correct ?    0 Yes 0 No

suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to vali..

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

suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to vali..

Answer / krishna

datatable.getcurrentrow(2,3)
for i=2&3 step2
next
u will get answer

Is This Answer Correct ?    1 Yes 1 No

suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to vali..

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

Post New Answer

More QTP Interview Questions

How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?

3 Answers  


write qtp descriptive programming to activate multiple notepads? please urgent friends

1 Answers   TCS,


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?

1 Answers  


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

0 Answers  


how to get font size of a "WebEdit"

3 Answers   L&T,






1) after inserting the check point how to change the expected value that was captured while inserting the check point

2 Answers   TCS,


What is qtpro? What is a quick test professional?

0 Answers  


How is the Bitmap checkpoint different from Image checkpoint?

0 Answers  


how do close the task manager through QTP?

2 Answers  


Did QTP prove efficient for your project? Yes or No, explain?

0 Answers  


Connect to QC using AOM.

0 Answers   Deloitte,


Q- what is the advantage of merging tool in QTP 9.2?

1 Answers   TCS,


Categories