18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Sahi unable to record text field Phone no. : (123)456-1234

DhirajDhiraj Members
edited November -1 in Sahi - Open Source
We are using Sahi for eCommerce site. where on Account-set-up page we ask user to enter information like email, name, SSN, phone no., other personal details. When Sahi is used for recording
it not recognize the SSN & phone no. text fields. The format of SSN & phone no. are as follows.

SSN : ___-__-____
Phone: (111) 111-1111


Operating system: Windows7 home primium
Browser : IE8, Firefox4
Sahi Build : Sahi Pro 3.6 (Build: 2011-05-31)

Comments

  • SumitraSumitra Members
    Hi Dhiraj,

    Can you post the URL of the eCommerce site which you are using to record.

    Is that, Sahi is not able to recognize the SSN & phone no. text fields both in IE8 and firefox4?

    Regards
    Sumitra
  • DhirajDhiraj Members
    Hi Sumitra,

    Yes ,Sahi is not able to recognize the SSN & phone no. text fields on any browser.

    Can i send the snapshot of page ?. because site is under development.
  • SumitraSumitra Members
    Hi Dhiraj,

    Can you send the snapshot and the html of SSN & phone no. text fields to support@sahi.co.in or sumitra.m.n@sahi.co.in.

    Regards
    Sumitra
  • DhirajDhiraj Members
    ok
  • SumitraSumitra Members
    Hi Dhiraj,

    Are you using any framework.If so, what JavaScript framework are you using to validate the Text fields?

    Also, Ctrl+Hover on the text field and let me know if anything is displayed in the Accessor field on the Controller.

    Regards
    Sumitra
  • DhirajDhiraj Members
    Hi Sumitra,

    On Ctrl+Hover on the text fields following script is displayed in Accessor field.

    _textbox("Person.SocialSecurityNumber")
    _textbox("Confirm.SocialSecurityNumber")
    _textbox("Person.CellPhone")
    _textbox("Person.HomePhone")
  • SumitraSumitra Members
    Hi Dhiraj,

    Try to set the value in the Textbox from the Controller and let me know if you are able to set the value.

    Use:

    _setValue(element, text);

    For more Details:

    http://sahi.co.in/w/_setValue

    Regards
    Sumitra
  • DhirajDhiraj Members
    Hi Sumitra,

    I had tried yesterday to set the value in the Textbox from the Controller, it works.
Sign In or Register to comment.