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 the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
What is expert view in qtp?
what is the diffrence bw qtp architectute and qtp framework?
what frame work you are following?
What is the difference between byref and byval in qtp?
What are the factors on which script execution time is dependent?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
How to remove associated function library?
Explain the difference between call to action and copy action?
What is post recovery scenario?
What are the different types of recovery operation?
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))
What are the types of object repository?
How you know that a test case is a regression test case
Is text area check point supports for web applications?