hai friends i already ask this question but when i post the
question the alignment goes wrong .....my question is we
have a WEB TABLE ....assume that web table having 3 row's
and 3 column here in 2nd row 3rd column having VISIT
FACEBOOK link...now i want to check the VISIT FACEBOOK link
is available or not ..if it's there i want to click the link
...then how to find the web table row or column count
....don't write the excel or data table script here friends
.....consider that it's a WEB TABLE do a favour ...thank's
Answer Posted / pravati
Rowcount=B().P().webtable().getrowcount
for i=0 to Rowcount-1
msgbox i,..it willshow u no of rows
next
clmncnt=B().P().webtable().getcolumncount
for j=0 to clmncnt-1
msgbox j,....it will show u no of columns
next
B().P().webtable().Getcelldata(2,3).click
wait 2
if B().p().link().exists then
msgbox " link exists
else
msgbox "link doesnot exists"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain how you can find length of array in qtp?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
How to import a test case present in ".xls" file to TD under a Test set?
What is the difference between run time object and test object?
How to record application running on the Virtual machine?
What is a data driven test in qtp?
How to add verification steps to tests?
How to run a test using quicktest professional?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
Explain about datafile/verification of date file when file is not available in local system?
Explain the check points in quicktest professional (qtp)?
QTP script is not working on other's machine..
In qtp, how you can remove the spaces from string?
How to carry out bit map check points in QTP
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..