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
Have you faced any problems with object repository?
What are the factors on which script execution time is dependent?
How to associate shared object repository to test in qtp?
How to run a test using quicktest professional (qtp)?
Where to use Property Let, Property Get, Property Set in UFT
Explain the views in the QTP GUI?
How to run a test using quicktest professional?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
For which type of projects the iterative model is not suitable?
There is an excel file of 1 to 100 sheets how you will iterate through it?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
How you can replace string in qtp?
What is the standard timing delay for web based application in qtp?
Explain how you can find the absolute value of the number in qtp?
How do I get the QTP scripts result in xml format by using vb script function?