What is startup script in winrunner?

Questions by vijay.405

Showing Answers 1 - 3 of 3 Answers

jalendrahv

  • Nov 13th, 2006
 

It is writing a script and when winrunner starts it automatically runs the script

if you write sript like invoking some application as soon as the scipt is run the application will be invoked for the purpose of testing

  Was this answer useful?  Yes

charles

  • Dec 8th, 2006
 

 open winrunner select

settings menu=>general option=>env tab=>see startup text box,

its the startup script of winrunner.

  Was this answer useful?  Yes

hmmanju

  • Jan 25th, 2007
 

It is a script that the winrunner user wants to load at the start of winrunner.basically we add the following code in the startup script.1. loading, unloading of the gui map file.2. settting the default properties of the object recognisation to other properties. basically u can write anything in the script u want WR do at the start. following is the code that i have written in the startup script.GUI_load("C:\Program Files\Mercury Interactive\WinRunner\dat\planclnt.GUI");#set_record_attr("object", "class label html_name", "regexp_MSW_class attached_text MSW_id MSW_class", "location");#set_record_method("object", RM_RECORD);set_record_attr("object", "class html_name MSW_class", "regexp_MSW_class attached_text", "index");set_record_method("object", RM_RECORD);set_record_attr("window", "class regexp_MSW_class label html_name", "MSW_class", "location");set_record_method("window", RM_RECORD);set_class_map("html_table","object");set_record_attr("html_table","class html_name html_id MSW_class","attached_text MSW_id ","location");set_record_method("html_table",RM_RECORD);## For html_link, to make location optional.#set_record_attr("object", "class label html_name MSW_class", "regexp_MSW_class attached_text MSW_id html_id", "location");#set_record_method("object", RM_RECORD);

  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