How to create runtime property for an object?

Answer Posted / thirumala reddy

By using "SetToProperty" you can do that

for example if any object property is changing during runtime our test will fail, to avoid that we can use SetToProperty.

e.g. if any WebEdit "name" property is changing then

Browser("xxx").Page("yyy").WebEdit("zzz").SetToProperty("name", "new value of name")

and this value is valid for that run session only (during runtime) after that that property will remain the property in the object repository

if any queries plz mail me
a.thirumalareddy@gmail.com

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is error and fault in terms of software quality?

1445


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1386


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

1587


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

687


why should we give deliver good quality software?

1617






How to customize qtp?

600


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

2786


what are the limitations of smart identification in qtp 9.0

1912


What are advantages of test automation?

648


how do i know how to use tools

1433


What are the features and benefits of quick test pro (qtp 8.0)?

579


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1589


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1481


what is test scheduleling?

1998


Does quicktest professional is unicode compatible?

509