Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on I want a step for Data driven Testing in QTP within the QTP forums, part of the Software Testing category; Hi, when i record a step for login window of flight resservation application,& run the test script it run succesfully but when i use parametration for agent name feild,it run ...
|
|||||||
|
|||
|
I want a step for Data driven Testing in QTP
Hi, when i record a step for login window of flight resservation application,& run the test script it run succesfully but when i use parametration for agent name feild,it run sucesful for 1st ittration,but for next step it show error message "object proerty is not match/defined in parent object menu please... " if such error occur what nessscary step i want to take please tell me .. step by step if some one knows solutions
|
| Sponsored Links |
|
|||
|
Re: I want a step for Data driven Testing in QTP
Hai friend,
1. Open a test and record the login steps 2. From the datatable click on columnname A and enter Username and click on column name B and enter Password and then enter the required values. 3. File->Settings->Run->Run one iteration only->Click on apply->Click on Ok 4. Paste the code in expert view and then enter the path of the application. 5. Run the test For i=1 to Datatable.GetRowCount struser=Datatable("Username",dtGlobalSheet) strpass=Datatable("Password",dtGlobalSheet) SystemUtil.Run "Path of the application" Dialog("Login").WinEdit("Agent Name:").Set struser Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure "4a4e00da0ae6177d2f0a239a300e3280068f1178" Dialog("Login").WinButton("OK").Click Window("Flight Reservation").Close Datatable.SetNextRow Next Let me know if any issues exists Thanks Deepa Last edited by deepasree; 07-03-2009 at 10:23 AM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data -driven testing in qtp | gouthami123 | QTP | 5 | 07-15-2009 03:35 PM |
| Data driven testing in WinRunner | GMustafa | WinRunner | 2 | 02-17-2008 02:31 AM |
| What is the next step to restore the data? | Geek_Guest | Data Warehousing | 2 | 09-20-2007 01:18 AM |
| what is Data-driven, Time-Driven and keyword-driven testing | vijenjoy2k2 | Testing Issues | 1 | 05-31-2007 06:22 AM |
| Data-driven, Time-Driven and keyword-driven testing? | spd15 | Testing Issues | 1 | 04-02-2007 03:24 AM |