GeekInterview.com
Series: Subject: Topic:
Question: 1024 of 1523

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

Asked by: Interview Candidate | Asked on: Aug 25th, 2006
Showing Answers 1 - 2 of 2 Answers
Uday Kumar. A

Answered On : 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.  

  
Login to rate this answer.
Kaivalya

Answered On : 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

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.