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...


Is it possible to test Flat file using QTP?

I have two file- first file is Input file and second file
is output file.
Input file has Format like first 2 field is record type,
next 10 field is Description.
Output file also has format.
I want to check this file format using QTP. Is it possible??
please reply with example.

Answers were Sorted based on User's Feedback



Is it possible to test Flat file using QTP? I have two file- first file is Input file and second ..

Answer / guest

Yes Possible to Test Flat File using File System Object

but your question is not clear....

How many fields in first file 12 or 10 ?...
what is meant by record type... field or column in flat
file you mean notepad or excell sheet...

Give clear info.

regards...

Guest

Is This Answer Correct ?    2 Yes 0 No

Is it possible to test Flat file using QTP? I have two file- first file is Input file and second ..

Answer / pravash

need more RND

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to capture dynamic objects in qtp like mark up text

3 Answers  


During test run,How will you copy/paste from/to clipboard?

3 Answers  


Plz explain about Virtual object? What is the situation u r using , explain with example?

1 Answers  


What is parameterization? What is syncronization pt.?

3 Answers   Semantic Space, SRM,


What is a quick test professional?

0 Answers  


write the code to reverse a string without using Strrev built in function.

14 Answers   ADP,


How to Import data from a ".xls" file to Data table during Runtime.

10 Answers   BirlaSoft,


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.

3 Answers  


Suppose I want fail that check point? How can you do that?

0 Answers  


how will you check how many members visited the website www.infosys.com?

0 Answers   Logica CMG,


Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..

3 Answers   Sony,


Categories