How to execute the tslscript written in note pad(flat file)?

Showing Answers 1 - 8 of 8 Answers

sunitha.J

  • Dec 16th, 2005
 

tsl script work on only winrunner.it is not working in note pade

  Was this answer useful?  Yes

Somasundaram G

  • Dec 19th, 2005
 

Hi, how to execute the tslscript written in note pad(f... But we can invoke the notepad application using winrunner. Pl. revert if any feed back...

  Was this answer useful?  Yes

shivakumar

  • Jan 5th, 2006
 

Yes, There is no command in Winrunner for executing the script in notepad but we can call the data from note pad using file functions.One more thing is there is a command for invoking the note pad application but there is no command to run the tsl statements in that note pad from winrunner. Let me know your comments on this.....

  Was this answer useful?  Yes

shiva reddy

  • Mar 12th, 2006
 

Hi ,

  we have to first open the file in FO_MODE_READ,and get each line as below

f="c:my Documents\\test script";(path of the note   pad

file_open(f,FO_MODE_READ);

while(file_getline(f,s)!=E_FILE_EOF)

{

by doing this each line in Note pad is comming in variable"s"

and paste this "s"

}

file_close(f);

  Was this answer useful?  Yes

Babu.R

  • Jun 28th, 2006
 

Sure there is no way to execute notepad tsl scripts.

If anybody know about this plz post answer in this forum

Thanks

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions