How to create a run time propertyfor an object?
Answer Posted / ravi
Sorry kiran...
we can not set a property to an object in run time .
You can use GetROProperty(”outerText”) to get the outerText
of a object but there is no function like SetROProperty
tochange this property. But you can use
WebElement().object.outerText=”Something” to change the
property.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
how to explain a claims and insurance project?
How to define array in qtp?
Is QTP supports Unix. If yes, then how the test automation is done?
How many types of Automation frameworks are there in UFT? Describe them.
when a test case is written how u test using qtp
Shall we add Local Repository to shared object repository,if yes,how we add
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
Explain about the test fusion report of quicktest professional (qtp)?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
How to get Traceability matrix from TD?
What are the technics follow in writing VB script?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
How to check which add-ins are associated with a test in qtp?
What is qtpro? What is quick test pro?