How do you invoke a text file from winrunner?

Answer Posted / naresh babu

Open text file in read mode
file_open("<filename>", FO_MODE_READ");
Open text file in readwrite mode
file_open("<filename>", FO_MODE_READWRITE");

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are default codes winrunner generates when we start the application?

1588


What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?

848


Where do you found that you can't use winrunner for automation?

1633


Define parameterizing?

597


How do u check FONTS in Login Window?

1711






What is toogle breakpoints? How does it differ from break points?

1799


What is the usage of Test case Design Techniques,in Integration/System Testing?

1980


Hi iam a begginer or rather new stsrter to QTP and strugling to start as i have to start writing the automated scripts for the existing manual testing could some one send me some tips ans tricks for a jump start. Any help is greatly appreciated

1816


hi this is uday iam trying for testing job with 3+ yrs of exp if u have qtp faqs materil plz send me thanks in advance

1591


How to read the third party controls in the application

1533


How do you identify which files are loaded in the gui map?

629


i get error "winrruner cannot identify object" and gives details like the physical description of object "windowsFor....378734a_11" has changed descritpion in GUI map new discription Description { { class:object class:object Msw_id:264896 Msw_id:918548 } } Below is a script of functionality where amount is transfered from users account ,first contact summary of user is opened then transfer button is available on which we click .on clicking transfer form opens and various details are entered like amount to be transfer,transfer type .line where i m getting error is obj_mouse_click ("WindowsForms10.Window.8.app have marked it with red in script .0.378734a", 164, 10, i would be very thankful if anyone can give help related to this problem. *SCRIPT IS BELOW:-* > # Shell_TrayWnd > set_window ("Shell_TrayWnd", 1); > toolbar_button_press ("ToolbarWindow32_1", "Contact summary - > Scheme: > SCHEME CARD PROGRAM (admin - Local - V.1.8.2.0000)"); # Button Number > 3; > > # Contact summary - Scheme: SCHEME CARD PROGRAM (admin - Local - > V.1.8.2.0000) > set_window ("Contact summary - Scheme: SCHEME CARD PROGRAM (admin - > Local - V.1.8.2.0000)", 1); > obj_mouse_click ("CommandBar1", 437, 15, LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 1); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a", 164, 10, > LEFT); > > # #32769 > set_window ("#32769", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_0", 138, 9, > LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_1", 166, > 13, LEFT); >

1653


What do you mean by the logical name of the object.

640


Dear all i am new to testing my company using vb.net and we are developing web based application. How i can test those application with winrunner if any one have some good tutorial or link kindly provide thanks u.

1557


How do you unload the GUI map?

691