
- Forum
- Testing
- Software Testing
- whats wrong with winrunner?
whats wrong with winrunner?
This is a discussion on whats wrong with winrunner? within the Software Testing forums, part of the Testing category; Hi group! When winrunner encounters some error during the execution of some test scrip and it cant recover from that ...
-
04-01-2005, 07:37 AM #1
- Join Date
- Feb 2005
- Answers
- 10
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..
-
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
-
04-03-2005, 07:00 AM #3
- Join Date
- Feb 2005
- Answers
- 10
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
-
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..
-
Sponsored Ads

Reply With Quote





