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
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Explain building blocks of the bpt framework ?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
Whats the realtime QTP testing process
Does QTP record on Objects created on XWindows Environment?
How to carry out bit map check points in QTP
How to analyzing test results using quicktest professional (qtp)?
how to do the batch testing in test director using manual testing procedure?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
To which environments does quicktest professional (qtp) supports?
assume i have few url link how will i dynamically call then using descriptive programming?
What is smart identification in QTP?
What are the views available in quicktest professional (qtp)?
What is recovery scenario manager? When you go for recovery scenario manager?