Write a Script With descriptive programming(Without
Repository) to update an
Update an order in Flight App and verify whether it is done
successfully.(Use ChildObjects method)

Answer Posted / pallavi

set objdesc=description.create
objdesc("property").value="description"
objdesc("property").value="description"
objdesc("property").value="description"
objcoll=dialog().childobjects(objdesc)
for i=0 to objcoll.count-1
if objcoll(i).getroproperty("property")="description"
objcoll(i).click
exit for
endif

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3442


To which environments does quicktest professional supports?

539


In qtp, explain what is keyword driven automation framework?

618


When to use shared and local object repository?

635


what is the hierarchy to use properties in descriptive programming

1503






What is action? How many types of actions are there in qtp?

614


What is the new version of qtp which is recently released in the market?

644


If you are testing a web application then what will you test in that application?

1542


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

1409


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

584


Can we Test Welcome Screens and Process Images with QTP

1428


hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

1758


They asked by using qtp recording writing scripting

2069


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1723


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1504