How to create compile module. give me some examplehow to call tests? example

Showing Answers 1 - 3 of 3 Answers

anand00p

  • Aug 3rd, 2006
 

In my way i am commenting:

compiled moduled is a group of user defined functions,and we can use it where ever we want,we can call frequently.

example of compiled module for flight login window:

public fuction login(x,y)

{win_activate("Login");

set_window("Login",5);

edit_set("user name",x);

password_edit_set("password",password_encrypt(y));

button_press("ok");

wait(5);

if (win_exits("flight reservatioin",5)==E_OK)

report_msg("Login is pass");

else

report_msg("Login is fail");

}

login("abcdef","mercury");

after this we have to load the compiled module using load command.

Navigation of compiled module:

File>Test Properties>General>Test Type

In the Test Type we have two test types will be there.

1.Main Test

2.Compiled Module

In the Test Type we have to choose the Compiled Module.

Please if any mistakes are there, let me know the details.

  Was this answer useful?  Yes

K.Ramesh

  • Oct 13th, 2006
 

hi,

       First of all create a script(defect free) and then go to File menu->General tab->Test type and save it as Compiled Module.

Navigation of compiled module:

File>Test Properties>General>Test Type

In the Test Type we have two test types will be there.

1.Main Test

2.Compiled Module

In the Test Type we have to choose the Compiled Module.

Please if any mistakes are there, let me know the details

                                          Thank You

  Was this answer useful?  Yes

sudhakar2068

  • Oct 14th, 2006
 

we can create the compile module in the following way:

file->Test properities->compile module.

Before that we have the record the script in the Win Runner .

And the save the test in two different files.

Main Test we have to save in DOT File.

And sub Test we have to save in Temp File.

Then We have to open the main file which is stored in dot file. And Run in the Update Mode once.

Sudhakar kolla.

My Email:kollasudhakar2005@yahoo.co.in.

 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions