Can we use the user defined functions (which inclues script
with GUI functions) in Compile module?
Example:
public function MyGuiFun()
{
set_window(?Browser main window?);
button_press(?OK?);
}
If yes. pls give some example, how to handle...!
Answer Posted / guest
Yes, we can create user defined functions in Compiled
moudle.
Handling the Compile Module:
Using the Call & Load functions you can call the compile
module into main program(Main Test).
Thanks & Regards,
Ratna Rao
9833847339.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of regexp_msw_class property?
Which function to use to compare the application date with system date?
Where did you learn winrunner and testdirector?
How do you maintain the document information of the test scripts?
How do you filter the objects in the gui map?
What do you mean by the logical name of the object.
What are the modes of script recording in winrunner ?
Explain the purpose of gui spy?
descriptive program for web application.
How do you call windows APIs, explain with an example?
Explain the synchronization points?
How do you handle unexpected events and errors?
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 mean by release in quality center and who will perfom?
supose 10 times text data is there but it will run 8 times whtat will you do.