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 / mogal
Set OWT = Browser(" ").Page(" " ).WebTable( " ")
CC = OWT.ColumnCount
GetRNum = OWT.GetRowWithCellText("VISIT FACEBOOK")
For j =1 to CC step 1
If OWT.GetCelldata(GetRNum,j) = "VISIT FACEBOOK" Then
GetCNum = j
Exit for
End If
Next
Set Link1 = OWT.ChildItem(GetRNum,GetCNum,"Link",0)
Link1.Click
(or)
Set OWT = Browser(" ").Page(" " ).WebTable( " ")
RC = OWT.RowCount
CC = OWT.ColumnCount (1)
For i =1 to RC
For j= i to CC
If OWT.GetCellData(i,j) = "VISIT FACEBOOK" Then
GetRNum = i
GetCNum = j
Exit for
Exit for
End If
Next
Next
Set Link1 = OWT.ChildItem(GetRNum,GetCNum,"Link",0)
Link1.Click
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
In qtp, explain what is qrs file?
What is a programmatic description?
How many types of parameters are available in quicktest professional (qtp)?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
Which scripting language used by quicktest professional (qtp)?
Explain how to use QTP to check broken links on a page?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
what is meant by Implicit and explicit requirements?
How to create Reusable and Multiple Actions?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
Is it possible to split an action? How?