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


Please Help Members By Posting Answers For Below Questions

Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1632


What is expert view in qtp?

579


what is the diffrence bw qtp architectute and qtp framework?

1537


what frame work you are following?

1522


What is the difference between byref and byval in qtp?

583






What are the factors on which script execution time is dependent?

605


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

1902


How to remove associated function library?

558


Explain the difference between call to action and copy action?

521


What is post recovery scenario?

1643


What are the different types of recovery operation?

550


How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))

1668


What are the types of object repository?

574


How you know that a test case is a regression test case

3055


Is text area check point supports for web applications?

531