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
How do you perform Regreession Testing?
what are the mandatory properties for a tex boxc (scenario?)
Plz Explain AUTOMATION REFERENCE MODEL?
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.
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)
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
What is Port testing. Whhen will you perform?
Explain QTP using different development techniques ?
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.
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
how can we do the frame work in qtp
Can you write a script to check if the folder exists or not?
How to open a new test using quicktest professional (qtp)?
what is review
Explain different type of event trigger option.