i am unable to select an item from combobox using
Descriptive programming. can any one give me code for
scheduling the ticket using Descriptive programming.

Answer Posted / priya

Window("text:=Flight Reservation").WinComboBox("attached text:=Fly From:").Select "paris"

For the combobox, we need to enable the smartcard identification and set 'attached text' as the smartcard identification property by clicking on cofigure...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1808


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

1451


Explain the concept of object repository and how quicktest professional recognises objects?

556


How to customize qtp?

610


How does quicktest professional (qtp) identifies the object in the application?

581






How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1456


Explain step generator in qtp?

641


Get the count of files of similar types from a folder.

971


What is use of object spy?

610


write a script to verify the image path(src property) of the images which are in web pages.

1801


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2262


What are the features supported by UFT?

667


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1490


When to use descriptive programming?

589


how will load the object during runtime?

1579