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

How do you perform Regreession Testing?

1702


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

1743


Plz Explain AUTOMATION REFERENCE MODEL?

1905


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1725


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1849


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1752


What is Port testing. Whhen will you perform?

1697


Explain QTP using different development techniques ?

708


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1756


How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

3985


how can we do the frame work in qtp

1794


Can you write a script to check if the folder exists or not?

719


How to open a new test using quicktest professional (qtp)?

748


what is review

1850


Explain different type of event trigger option.

716