7. Given scenario is like this: One Web table is there
and you have to search and retrieve a cell data which is
equal to the given number say:123. Assume you have given
with the column name/id of the table where the number may
exist. So now you have to go to the given column and search
for the number 123 and retrieve it along with the row
number of it.
Answer Posted / balaji s
Vinay there is no need to go this much.we can directly
retrieve using getcelldata metho
row=Browser(..).Page(..).Webtable(..).Rowcount
column=Browser(..).Page(..).Webtable(..).columncount
For i=1 to row
for j=1 to column
val=Browser(..).Page(..).Webtable(..).getcelldata(i,j)
if val="123" then
msgbox "the row is "&i
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
if numbers are always changing write a script for that
What are private functions in QTP? How they can be called from the function library?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
Explain calling sub procedure.
How qtp recognizes the object?
what is the difference between built-i function and In-built function?
how to post xml data from QTP scripts to any application?
How u will do versioning in QTP?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
How can I import environment from a file on disk?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
What is file database?
What do you mean by checkpoints in qtp?
How many types of object repository in qtp?