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 When I playback the same the file cannot be saved within the WinRunner forums, part of the Software Testing category; Hi, I need to record the following 1. Open natepad 2. write string in the notepad 3. save the file 4. close the fiile When i playback the same the ...
|
|||||||
|
|||
|
When I playback the same the file cannot be saved
Hi, I need to record the following
1. Open natepad 2. write string in the notepad 3. save the file 4. close the fiile When i playback the same the file cannot be saved as already the same file exists. How do i solve this issue.Can you send me the TSL. Question asked by visitor dominic |
| Sponsored Links |
|
|||
|
Re: When I playback the same the file cannot be saved
You can get the notepad file string and the file name from the data grid like you get the inputs in the data driven testing.
I will have to work on this for the TSL, so wait until I come back to this thread.
__________________
Lack of WILL POWER has caused more failure than lack of INTELLIGENCE or ABILITY. -sutnarcha- |
|
|||
|
Re: When I playback the same the file cannot be saved
This code can help u some what.
if (file_open("C:\\Untitled-Notepad",FO_MODE_READWRITE)==E_OK) { set_window("Untitled-Notepad"); type("Sample Test"); menu_select_item("File";Save); # check the syntax once of menu file_close(""C:\\Untitled-Notepad"); } else { tl_step(" File Does not Exists",1,""); } |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Record and Playback feature | Lokesh M | Test Cases | 3 | 12-30-2008 11:18 AM |
| Getting a new Date from a Calender control in Playback? | eiman | WinRunner | 4 | 07-25-2008 06:19 AM |
| In QTP, How to call OR run an action saved in unknown drive | babulu | QTP | 3 | 04-30-2007 05:28 AM |
| Do we record and playback in real time | Geek_Guest | QTP | 3 | 04-18-2007 07:50 AM |
| Start up scripts in winrunner without Rec or Playback | Lokesh M | WinRunner | 6 | 12-25-2006 11:05 PM |