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 qtpro? What is a quick test professional?
What is Associate Repository in QTP 9.2 ?
When to use shared and local object repository?
How to customize qtp?
When Recovery scenario actually starts while testing the application?
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
how do u plan test automation?
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
How to use actions in qtp ?
Mention the test steps of qtp.
Approach for Installation,comaptibility,system testing
Can U Explain about QTP tool from older version to latest version also its differences?
What are the automation metrice in your project?
Which environments are supported by hp qtp?