Forum Discussion

bhakti's avatar
bhakti
Contributor
9 years ago

How to access jsp form element id' or name in TestComplete tool's Record Script

How to access jsp form element id' or name in TestComplete tool's Record Script

 

following is recorded script inVBScript

 

 

  Set emailInput = fieldset.emailinputLoginUsernameInput
  Call emailInput.Click
  Call emailInput.SetText("abc@gmail.com")

 

can we use  login_userName_input or  email(written in jsp code given below) instead of  fieldset.emailinputLoginUsernameInput' TestComplete Tool.

 

Jsp code:

 

<input name="email" class="grid_5 error" id="login_userName_input" type="email" maxlength="50" autocomplete="off">

 

 

If yes ,then please suggest ways to us.

 

 

No RepliesBe the first to reply