Object name Changing dynamically?

Object name Changing dynamically?

> logicalname:\"chkESActivity\"

 {

  class: check_button,

  MSW_class: html_check_button,

  html_name: chkESActivity,

  part_value: 90

 }   

> logical name \"chkESActivity_1\"

{

  class: check_button,

  MSW_class: html_check_button,

  html_name: chkESActivity,

  part_value: 91

}

Replace with:


 # we give any name as the logical name

Logical:\"CheckBox\"   

{

 class: check_button,

 MSW_class: html_check_button,

 html_name: chkESActivity,

 part_value: \"![0-9][0-9]\"

}

# changes were done here

we can use any of the checkbox command like

button_set(\"CheckBox\",ON);

# the above statement will check any check 

box with part value ranging from 00 to 99



By:UMANG
Date:2029-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related TESTING Subjective Links

TESTING Subjective interview questions and answers for experienced and fresher