How do we capture Web table and write a script for Webtable using QTP 8.2

Showing Answers 1 - 4 of 4 Answers

Uday Kumar. A

  • Aug 28th, 2006
 

We can capture the web table creating standard checkpoint in QTP.

This check point will compate the present data in the web table, and the data at run time.

To view the individual elements in a web table follow the below navigation:

Click Record button->Insert->check point->Standard check point->Click on a web table(It shows you the hirarchy of that web element)->Select the web table that you want to view the content.

We can get the value of any of the web element in this web table by using:

cellData=browser("aaa").page("bbb").webtable("ccc").getcelldata(rowno,colno)

Now this cellData will have the value of the web element.

 

 

  Was this answer useful?  Yes

Kaivalya

  • Dec 20th, 2006
 

Hi,

Apply standard checkpoint on the webtable. Now this will add statement in QTP. Remove checkpoint function and use any other functions like childitems for that webtable.

Thanks and Regards,

Kaivalya

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions