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

we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

0 Answers  


Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...

1 Answers  


does QTP provides any tools for parametrisation?

4 Answers  


When The Low Level Recording is Used in QTP

17 Answers  


What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script?

1 Answers   Brain Roots, Ordain Solutions,






why don’t use real time they r not using check points

1 Answers   Wipro,


How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)

2 Answers   CFC, CTS,


In QTP for .net application which plug in is used? For Java Application which plug in is used ?

2 Answers   AppLabs, Fraze Tech,


What is the use of Regular expression?

5 Answers  


Can i run the qtp, without OBJECT REPOSTIRY...

8 Answers  


can some one help me how to compare the values from one sheet to values in another sheet? suposse i have a feild called Temp in action1 and i also have temp in action2. i want to compare the values of those two actions sheets data table? how can i do it using descriptive programming?

1 Answers  


What are the disadvantages of recording test cases in qtp?

0 Answers  


Categories