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
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
How many types of recording modes in qtp?
What is Distributed testing? How does UFT support it?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
What is the Difference between test object and run time object?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
How many types of trigger events are there in qtp?
What is ObjectParamater?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
Can you write a script to check if the folder exists or not?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
How is test case write?
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints