How to give Table check points?

Answer Posted / firoz shaik

Think that you have a webtable and you are asked to pick
the data in the 1,2 cell. then this type of check point is
called table checkpoint. Here we are performing operations
on Table.
The solution is:

Browser("Browser").Page("Page").WebTable
("Student").GetCellData(1,2)

This is the checkpoint which is in the step form in QTP.

Now store this information in a variable as follows:

Info = Browser("Browser").Page("Page").WebTable
("Student").GetCellData(1,2)

Msgbox Info

This statement displays the data which is in the variable.
Info.

This is the method, where in we write the step
programatically.

If you have further questions, Give me a mail.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1489


why text area checkpoints cannot used for web applications

1872


How many types of parameters are available in quicktest professional (qtp)?

570


how to find that tools work well with your existing system?

1397


Explain how you can find the absolute value of the number in qtp?

639






what is clean sweep?

1503


What are the common defects found in your project? (in qtp interview)

1607


How do you perform Regreession Testing?

1454


How to remove the associated function library?

523


Define Environment Variable in UFT and its uses?

601


What environment does qtp run in?

611


How to recognise the webelement and verifying that webelement is enabled?

1630


Explain how qtp identifies objects?

558


What are some test assets and related extensions of qtp?

543


How can you identify the browser and its information using QTP script?

539