Hi, I want to retrieve the cell data in the WebTable.
For that I have defined a new test object under the browser
and have given html tag and text as the test object
properties. But while I try to identify it it says 'Object
description is not unique'. I tried adding innerhtml,
outerhtml, innertext and outertext along with the ordinal
identifiers; but no use. What more properties need to be
added to identify it?
Also I want to enable smart identification for this object
but the field is disabled in the object repository for this
object alone(In QTP tools->object identification the enable
smart identification checkbox is enabled). How do I enable
it?
Answer Posted / tanuj
For that 1st u defined the web table in OR then
u try this Query-
text=Browser().page().webtable().getcelldata(row,column)
in row,column u feed which cell data u want.ur cell data store in text.which r checked by u through the msgbox or orthers....
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is test object model in quicktest professional?
In what occasion we can specify global sheet and action sheet?
What are the advantages of Object Repository?
What is debugging? How you debug your script?
How you can make an action as re-usable action?
How to run a test using quicktest professional?
How to handle dynamic objects in quicktest professional (qtp)?
Both static and dynamic arrays are handled by the vb script. Is it true?
What is different command used in command Prompt while using QTP?
what is the difference between built-i function and In-built function?
How can you write the scripts that operate on different objects depending on run-time information?
What are the differences between quicktest professional (qtp) and winrunner?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
How do we handle run-time errors?