Exforsys

Online Training

whats wrong with winrunner?

This is a discussion on whats wrong with winrunner? within the Testing Tutorials forums, part of the Articles and Tutorials category; Hi group! When winrunner encounters some error during the execution of some test scrip and it cant recover from that ...


Go Back   Exforsys > Articles and Tutorials > Testing Tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-01-2005, 07:37 AM
Junior Member
 
Join Date: Feb 2005
Posts: 17
mangalsachin2002
whats wrong with winrunner?

Hi group!

When winrunner encounters some error during the execution of some test scrip and it cant recover from that error.. we have to start winrunner again.. i want to know that which file gets affected by the error which makes winrunner to hang.. and when we restart winrunner how does this error gets corrected..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-01-2005, 06:17 PM
Junior Member
 
Join Date: Sep 2004
Posts: 8
nexus59
sachin,
Could you please input more details..What steps generated that error. Also give the error details.
PS: You didn't respond to my reply on "copying text into another text file".just wondering did it work or not

nexus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-03-2005, 07:00 AM
Junior Member
 
Join Date: Feb 2005
Posts: 17
mangalsachin2002
hi nexus!

ya thanks dear for sending reply on getting text but wat i wanted in that was that suppose you have a line in your text like "I am Sachin" so i wanted to print it in another file as:

I
am
Sachin

did u get my point.. and regarding this query in case winrunner encounters any error whatsoever it may be.. than which file gets curropted and when u restart winrunner wat happens to that file and how does it get ok..

thanks

sachin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-03-2005, 02:41 PM
Junior Member
 
Join Date: Sep 2004
Posts: 8
nexus59
sachin try this one:

file_open(f1.txt);
file_open(f2.txt);

table = "C:\\f1.txt";
rc = ddt_open(table, DDT_MODE_READ);
if (rc!= E_OK && rc != E_FILE_OPEN)
pause("Cannot open table.");
ddt_get_row_count(table,Count);
for(i=0;i<=Count;i++)
{
file_getline(f1.txt,input);

split(input,v," ");

file_printf("C:\\f2.txt","%s\r\n%s\r\n%s",v[1],v[2],v[3]);
}

file_close(f1.txt);
file_close(f2.txt);
=======================
f1.txt = i am sachin
f2.txt = i
am
sachin

check the syntax for funcs from TSL guide..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.