Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

My questions is while writting descriptve programming, lets
take flight reservation.
Line1: systemutil.Run "D:\Program Files\Mercury
Interactive\QuickTestProfessional\samples\flight\app\flight4
a.exe"
dialog("text:=Login").WinEdit("attached text:=Agent
Name:").Set "mercury"
dialog("text:=Login").WinEdit("attached
text:=Password:").Set "mercury"
dialog("text:=Login").WinButton("text:=OK").click
window("text:=Flight Reservation").Activate
window("text:=Flight Reservation").ActiveX
("acx_name:=MaskEdBox").Type "111111"
window("text:=Flight Reservation").WinComboBox("attached
text:=Fly From:").Select "Frankfurt"
window("text:=Flight Reservation").WinComboBox("attached
text:=Fly To:").Select "London"
window("text:=Flight Reservation").WinButton
("text:=FLIGHT").Click
window("text:=Flight Reservation").dialog("text:=Flights
Table").WinList("text:=From").Select "13536 FRA 08.00AM LON
08.45AM SR $163.00"
window("text:=Flight Reservation").dialog("text:=Flights
Table").WinButton("text:=OK").Click
window("text:=Flight Reservation").WinEdit("attached
text:=Name:").Exist
window("text:=Flight Reservation").WinEdit("attached
text:=Name:").Set "sagar", Now i m getting the error in the
last line. it is not accepting the WinEdit("attached
text:=Name:")
Please do solve this urgent...! and i want to know how to
insert additional properties for an object and which
properties we need to select from the object spy.

Answer Posted / g.jaipalreddy(cil testing team

u have to add windowid for your last step
after adding application will not dissplay any error message

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the extension of the vbscript file?

1052


Why is the use of exit do or exit for statements within loops discouraged?

1047


Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

2135


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

2309


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1994


What are the advantages of vbscript?

1089


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2452


How to open a file. What is the perpose of true and false mode there?

1120


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3754


Mention what is vbscript?

1128


How are comments handled in the vbscript language?

1001


What is vbscript?

1112


What methods are used to create text files and open text files in the vbscript language?

987


Which operator is used to concatenate the 2 values in the vbscript language?

1014


How to Import data from a file (file is on the desktop) to the data table

2006