In the Object properties MSW id,MSWclass will appear..what
exactly MSW means..?
Answers were Sorted based on User's Feedback
Answer / usha, usha_0383@yahoo.com
MSW id, MSW class both are same,in WinRunn MSW-id appearce
in object property and in QTP MSW_class.
MSW id means micro soft window identity, it is unique for
every object like DNA in human. Two objects never consists
same id, so that test engineers are depends on this to
recognize the object.
if any object is not able to identify with its class and
lable then only they depends on this id. If the two objects
are having same class and lable in same window then it is
problem to identify both objects that time it will be
useful for test engineers.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to connect TestDirector from winrunner tool?
what is difference between smoke & sanity testing?
Name the three modes of running the scripts?
How to write a content in to the file..which function did u use for that..?
If the object does not have a name then what will be the logical name?
Some of the importent functions in data driven test(ddt)?
What are the reasons that WinRunner fails to identify an object on the GUI?
How to insert the data in to the data table from the data base records?
2 Answers CTS, Landscape Technologies,
what are the different modes of executing TSL Script
Can we run WinRunner scripts on the backend?
what is the use of Step into option provided in WR?
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); >