What are the standards will you maintain at the timing of
writing TSL script in WinRunner?
Answers were Sorted based on User's Feedback
Answer / allin
might be these options are applicable
1)convert custom objects into standard gui objects
using gui spy and gui map editor
2) using gui map configuration change or config the object
properties
3)unrecognized portion of object recognization using
virtual object wizard
i thought that these are all options available....check it
out
Cheers,
ratna rao
9869770084
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / p73_73@yahoo.com
Standdards:
1. code conventions should be followed.
2. Proper commenting should be there in code.
3. GUI Map file should be configured and objects should
renamed so that it is easy to understand and easy to write
ther script. (If you are recording you can use default GUI
map file objects name, if you are writing scripts, it is
always better to rename according to object)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mohan
at the time of writing TSL, we should use user defined
function to reduce the length of the code. simply we have
to generate effective code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raja
Using wraper functions - means using user defined function
which does the same thing what the system function will do.
If we have set_window ..
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / umasubbu4u
There are no such standards. But, we need to concentrate on
the logic and check points we are applying, language
sytnax.
| Is This Answer Correct ? | 0 Yes | 1 No |
How are objects set to appropriate class
What are Optinal Properties and Obligation Properties? please explain in detail.
what is the difference between toggle checkpoint and checkpoint?
what is the tsl statement for selecting the position of item in list box in winrunner?
What is the use of Merge 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); >
What is debug mode in Winrunner?
how scripting language & programming language are different?
What is the purpose of regexp_label property and regexp_msw_class property?
If I do not check any of the add-ins that pops up initially, for which type of application can I do scripting?
what is the key combination to terminate script execution
what is cookies testing and what are the possible test case.