| amitsreedharan@gmail.com 2005-10-14, 3:59 am |
| Hi,
The application that i am trying to automate using QARun is based on
java. The text boxes,
radio buttons, check boxes etc do have any particular name associated
to it, instead the name for it gets generated each time the page loads
which usually is a "i" suffixed by a 13 digit variabvle number.
See html code below for a text box.
<input TYPE="text" name="i1129271833647" title="" tabindex="1"
onchange=" javascript:refreshAction('i1129271833647
')"
class="oeValueNode" style="" value="" maxlength="9"/>
here 'i1129271833647" is the name which changes each time the page is
loaded. Inorder to solve this, I have mapped the object with 4GL as
i????????????? and then recording X and Y co-ordinates. Even the class
name is not unique.
Is there any other solution to this so that we would be able to create
a script in QARun which would require less changes as the position of
the items
change.
|