How do handle error/exceptions in winrunner.
Answers were Sorted based on User's Feedback
Answer / balu
Using Recovery scenarioes like Pop-window exeptions, Object
Execeptions, TsL Execeptions
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / uday kumar. a
In WR, we dont have recovery scenario. This term we use in
QTP.
For all exceptions we use Exception handling in WR.
WR provides 3 types of exceptions.
1. Pop-up exceptions
2. Object exceptions
3. TSL Exceptions
4. Web exception(based on the add-in)
| Is This Answer Correct ? | 0 Yes | 1 No |
what are the supporting development environments supported by winrunner
How to insert the data in to the data table from the data base records?
2 Answers CTS, Landscape Technologies,
What is contained in the GUI map?
how to reverse the string using function
If u press a push button in an application the winrunner generates tsl statement like button_press(..) i.e the class name of the object and the event on that object but Why if u click a static text in an application the winrunner generates tsl statemen like win_mouse_click rather than the statement with combination of classname and event..??
plese tell me about vss?
What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?
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); >
Please give an example for test case.
Does WinRunner have recovery mechanism built in?
Say there is some content in an array. what function do you use to get the content of an array?
ON PROPERTIES IT IS DECIDED WHICH TOOLS TO BE USED AMONG QTP, WINRUNNER, RATIONAL ROBOT, TEST DIRECTOR?