how to write the pass or fail message in winrunner
for eg: in QTP we can write
like "Reporter.reportEvenr,micDon,"Test Test pass"
Answer Posted / thirumal prabu
Hi you can use tl_step function to give the status.
e.g tl_step("Product Creation",1,"Product Creation Failed");
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between writing a function and writing a script?
What are the synchronization points?
How do you execute your tests from windows run command?
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); >
What is the purpose of regexp_msw_class property?
How to check property of specific icon is highlighted or not?
What is the use of gui map?
How do you handle pop-up exceptions?
What is the purpose of gui map configuration?
How do you call windows APIs, explain with an example?
What is the purpose of regexp_label property and regexp_msw_class property?
How can withwin runner to make single scripts which supports multiple languages?
How to find the local host name using winrunner ?
How should we write and execute a user define function using WinRunner.
What do you verify with the database check point custom and what command it generates, explain syntax?