7. Given scenario is like this: One Web table is there
and you have to search and retrieve a cell data which is
equal to the given number say:123. Assume you have given
with the column name/id of the table where the number may
exist. So now you have to go to the given column and search
for the number 123 and retrieve it along with the row
number of it.

Answer Posted / balaji s

Vinay there is no need to go this much.we can directly
retrieve using getcelldata metho

row=Browser(..).Page(..).Webtable(..).Rowcount

column=Browser(..).Page(..).Webtable(..).columncount

For i=1 to row
for j=1 to column
val=Browser(..).Page(..).Webtable(..).getcelldata(i,j)
if val="123" then
msgbox "the row is "&i

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1479


What ate the Technologies supported by QTP?

648


What are the different types of recording modes?

534


How to save your test using quicktest professional (qtp)?

599


what is the hierarchy to use properties in descriptive programming

1503






What is data driver in qtp? Where we use it?

565


could any help me please, how to work on visual foxpro application using UFT

1687


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1322


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1404


Explain calling sub procedure.

624


How does you test a weblink which is changing dynamically?

554


what are the mandatory properties for a tex boxc (scenario?)

1528


How will internal and external links be validated and updated? how often?

639


What are the benefits of quick test pro(qtp)?

560


how to prepared for first for the first interview?

1796